gstreamer recording to file problem
arjen.veenhuizen at tno.nl
Mon Apr 18 05:18:46 UTC 2016
When running gst-launch-1.0, it does not properly force an EOS on the bus
before shutting down. Since the MP4 container requires an index (the MOOV
atom, see: http://www.adobe.com/devnet/video/articles/mp4_movie_atom.html)
and mp4mux only writes this index after receiving an EOS, you will write an
invalid mp4 to disk when no EOS is detected. You can fix this by adding -e
to your command line, e.g.:
This will send an EOS on the pipeline just before shutting down.
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-recording-to-file-problem-tp4676950p4676951.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel