How to split a mkv(AVC+AAC) file to pure video and audio files by using gst-launch?
Deepika
deepika at cinemacraft.tv
Fri Nov 25 02:56:33 PST 2011
How are you testing if the .h264 is a valid file or not?
If you need to play it using ffplay or gstreamer you will have to wrap
it in a container. To play h264 file You will neet bitstream players
like elecard.
On 11/25/2011 05:48 PM, Raymond18 wrote:
> 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,
>
> ---------------------------------------
> $ 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