[gst-devel] how to make a files playable...

Tim-Philipp Müller t.i.m at zen.co.uk
Mon Jun 28 14:45:59 CEST 2010

On Mon, 2010-06-28 at 14:38 +0200, paper at gmx.net wrote:

> gst-launch v4l2src device=/dev/video0 !
> video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! x264enc
> key-int-max=4  ! mp4mux ! multifilesink location=test%d.mov
> next-file=key-frame
> How can i make sure, every file have meta data written and the files are
> playable? I tried other encoder like matroska, avi etc. too. 

Either pass the --eos-on-shutdown option to gst-launch, or use something
like v4l2src num-buffers=500 to make sure the pipeline shuts down
properly itself after a while.


More information about the gstreamer-devel mailing list