[gst-devel] Which CODEC for mjpg?

wally_bkg wb666greene at gmail.com
Tue Dec 7 16:54:12 CET 2010



Stefan Kost wrote:
> 
> Am 03.12.2010 18:33, schrieb wally_bkg:
>> 
>> I have the opposite problem.  I can make jpeg video files with:
>> 
>> gst-launch v4l2src ! video/x-raw-yuv ! queue ! ffmpegcolorspace ! jpegenc
>> !
>> avimux ! filesink location=mjpeg.avi
>> 
>> and the file plays back fine in gstreamer (using Totum on Ubuntu 10.04)
>> but
>> when I copy it over to a windows system it doesn't play.  There are
>> several
>> MJPEG playback codecs on the Windows system. Gspot Codec Information on
>> Windows shows a valid playback pipeline, but errors in rendering.
>> 
>> 
>> I tried Theoraenc instead with:
>> 
>> gst-launch v4l2src !  queue ! ffmpegcolorspace ! theoraenc ! oggmux !
>> filesink location=theora.ogv
>> 
>> and again it plays fine in Totum but not on Windows (the Windows system
>> can
>> play back the ogg video sample files distributed with Ubuntu).
>> 
> 
> Try gst-launch -e to make gst-launch sending and EOS on Ctrl-c (or use
> num-buffers on v4l2src).
> 
> Stefan
> 

Bingo!  That was what was missing.

Seems the OGV on Windows issue is my K-lite Codec pack is not up to date. 
VLC-win32 v1.1.5 plays it back fine.

-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Which-CODEC-for-mjpg-tp3064099p3076624.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list