[gst-devel] optimal video type

John Buckley buckleyassoc at comcast.net
Wed Jan 27 19:58:13 CET 2010


Hello,
I am running gstreamer on a small embedded Linux board with a USB 1.1 port. 
I have my v4l2src source setup as mjpeg and it is then decoded and converted
to the output ximagesink which I believe is video/x-raw-rgb.

#gst-launch v4l2src ! image/jpeg,width=320,framerate=\(fraction\)30/1 !
jpegdec ! ffmpegcolorspace ! ximagesink sync=false

My problem is that the video throughput is miserably slow.  There is a
significant delay in the video and if I set ximagesink sync=true and attempt
to hold the framerate steady at 30fps it doesn't even come close.

I thought I read that the mjpeg format would produce higher framerates than
the raw video formats.
Q1:  Am I mistaken?

Q2:  Would I be better off bringing the video off the device in
video/x-raw-rgb or x-raw-yuv mode?

Q3:  Are there any tricks to improving the framerates or this just typical
for USB 1.1.  Is USB 2.0 that much faster?


John
-- 
View this message in context: http://n4.nabble.com/optimal-video-type-tp1311961p1311961.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list