[gst-devel] gstreamer in xubuntu versus ubuntu

Sven sven at telus.net
Mon Apr 14 09:36:25 CEST 2008

I've recently been playing with video capture using gstreamer on a fresh install
of Ubuntu Desktop v7.10 (Gutsy) setup that is completely up to date. Things
there have been great with this:

gst-launch-0.10 v4l2src queue-size=16 ! videorate !
video/x-raw-yuv,framerate=15/1,rate=15 ! stamp sync-margin=1 sync-interval=1 !
...<more stuff here>... theoraenc quality=40 name=venc alsasrc device="hw:1,0" !
 ...<more stuff here>... ! queue2 max-size-buffers=10000 max-size-bytes=0
max-size-time=0 ! vorbisenc name=aenc oggmux name=mux ! filesink location=$1
aenc. ! mux. venc. ! mux.

With a Logitech Pro 9000 webcam and a plugin from gentrans.sourceforge.net I was
able to get pretty good video capture.

So now I has another smaller machine with an older XUbuntu 7.04 (Feisty) that
was also up today but used older version of various packages including
gstreamer. The same capture scripts that worked before didn't work at all.
Thinking it was a problem that could be easily solved by upgrading the OS
install to XUbuntu 7.10 (Gutsy) and then re-run 'configure' and 'make install'
on the gentrans plugin that I'd be good to go. Unfortunately I get the following

Additional debug info:
gstv4l2src.c(1065): gst_v4l2src_get_mmap (): /pipeline0/v4l2src0
WARNING: from element /pipeline0/v4l2src0: Got unexpected frame size of 3200
instead of 153600.
Additional debug info:
gstv4l2src.c(1065): gst_v4l2src_get_mmap (): /pipeline0/v4l2src0
ERROR: from element /pipeline0/v4l2src0: Error read()ing 153600 bytes on device
Additional debug info:
gstv4l2src.c(1083): gst_v4l2src_get_mmap (): /pipeline0/v4l2src0
Execution ended after 1633807000 ns.

There were quite a few WARNING messages (Got unexpected framesize) followed at
the end with the "Error read()ing bytes on device" message.

Does anyone have any ideas on what I may have messed up or things I can look
into to debug this problem?

Thanks for any wise words!

Cheers, Sven.

More information about the gstreamer-devel mailing list