Bad OGG being generated by gstreamer?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bad OGG being generated by gstreamer?

mike3
Hi.

I was trying to use gstreamer to record video from a camera, but the "OGGs" generated seem to have problems. I was using the following command line:

[code]
gst-launch-0.10 v4l2src ! queue ! videorate ! video/x-raw-yuv,framerate=15/1 ! videoscale ! video/x-raw-yuv,width=720,height=480 ! ffmpegcolorspace ! theoraenc quality=40 ! oggmux ! filesink location=$FILENAME
[/code]

But when I try to play the created OGGs, they work in some programs but not in others. (Totem works, "cinelerra" editor fails with garble output, as does FFmpeg converter) Also, one program (Linux VLC) seems to show the time length of the video as "--:--".

I tried running some validation programs like oggz-validate and ogginfo on them, which gave errors respectively of "serialno 1590263088: missing *** eos" and "WARNING: EOS not set on stream 1". What could be causing the problem?
Reply | Threaded
Open this post in threaded view
|

Re: Bad OGG being generated by gstreamer?

Tim-Philipp Müller-2
On Mon, 2011-11-28 at 14:53 -0800, mike3 wrote:

> I tried running some validation programs like oggz-validate and ogginfo on
> them, which gave errors respectively of "serialno 1590263088: missing ***
> eos" and "WARNING: EOS not set on stream 1". What could be causing the
> problem?

Pass the -e option to gst-launch.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Bad OGG being generated by gstreamer?

mike3
That worked, thanks. Turns out the FFmpeg thing was a problem with FFmpeg, not gstreamer, and an upgrade fixed it.
Reply | Threaded
Open this post in threaded view
|

Re: Bad OGG being generated by gstreamer?

mike3
Though I'm still getting "--:--" for the time length, though, odd... but that might be a problem with VLC and not gstreamer and so not for this forum, though I'm not sure...