[gst-devel] Which CODEC for mjpg?

Stefan Kost ensonic at hora-obscura.de
Sat Dec 4 23:31:09 CET 2010


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




More information about the gstreamer-devel mailing list