How to split a mkv(AVC+AAC) file to pure video and audio files by using gst-launch?

Mailing List SVR lists at svrinformatica.it
Fri Nov 25 02:50:53 PST 2011


Il 25/11/2011 10:48, Raymond18 ha scritto:
> No matter I try
>
> # gst-launch-0.10 filesrc location=/home/test.mkv ! matroskademux !
> h264parse ! 'video/x-h264,stream-format=avc' ! filesink
> location=rawh264.h264
>
> or
>
> # gst-launch-0.10 filesrc location=/home/test.mkv ! matroskademux name=d
> d.video_00 !
>   'video/x-h264,stream-format=avc' ! filesink location=rawh264.h264
>
> It still doesn't work,

as pointed you need a muxer to make mediainfo recognize the video

>
> ---------------------------------------
> $ mediainfo rawh264.h264
> General
> Complete name : rawh264.h264
> File size  : 402 MiB
>
> $
> ---------------------------------------
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-split-a-mkv-AVC-AAC-file-to-pure-video-and-audio-files-by-using-gst-launch-tp4103663p4106842.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