How to demux a mp4 file to a encoded 264 video file by qtdemux?

Sérgio Agostinho sergio.r.agostinho at gmail.com
Sat Feb 7 04:23:56 PST 2015


Hi,

Assuming you want the demuxed byte stream written to a file you need to modify your pipeline to this

gst-launch-1.0 -e filesrc location=264.mp4 ! qtdemux name=mdemux mdemux.video_0
! queue ! filesink location=/path/to/file/filename

This should get your h264 data directly to a file. 

Cheers

> On 06 Feb 2015, at 06:40, Jin <xiah_sunny at hotmail.com> wrote:
> 
> I found something like
> 
> gst-launch-1.0 filesrc location=264.mp4 ! qtdemux name=mdemux mdemux.video_0
> ! queue ! decodebin ! autovideosink
> 
> 264.mp4 has AVC/H264 encoded byte stream and there is no audio data. I need
> to demux 264.mp4 to get H265 byte stream. I tried the command but there is
> no output file generated. How could I get the H265 byte stream?
> 
> Thanks.
> Jin
> 
> 
> 
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-demux-a-mp4-file-to-a-encoded-264-video-file-by-qtdemux-tp4670614.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