Mp4 file recording not working
Peter Rennert
p.rennert at cs.ucl.ac.uk
Thu Aug 8 09:19:23 PDT 2013
Use gst-launch -e to send and EOS signal at Ctrl+C. Thats needed for the
muxer to write the headers.
Probably you also want to use the mp4mux.
On 08/08/2013 05:08 PM, Baby Octopus wrote:
> Hi,
>
> I'm recording live Mp4 content using the following pipeline
>
> gst-launch-1.0 decklinksrc mode=2 name=src src.! video/x-raw ! queue leaky=1
> ! x264enc bitrate=1600000 ! mpegtsmux name=mux ! filesink
> location=record.mp4 src.! audio/x-raw ! queue leaky=1 ! lamemp3enc ! mux.
>
> Since this is a live source after some time I press Ctrl+C to stop the
> pipeline. I can't play the output file in VLC. But if I replace mp4mux with
> mpegtsmux it works perfectly. Seems some header is inserted at the end in
> case of Mp4 which is not happening. How do I get this work?
>
> ~BO
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Mp4-file-recording-not-working-tp4661486.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list