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

Raymond18 yhung124 at gmail.com
Thu Nov 24 22:36:50 PST 2011


Thanks for your response,

However, is there any other way to achieve this without decoding and
encoding file again?

I find a command tool called "mkvextract" in mkvtoolnix-4.5.0-1.fc15.i686
package can do it without re-encoding file.

-----------------------------
$ mkvextract tracks ./test.mkv 1:extrace_file.h264
Extracting track 1 with the CodecID 'V_MPEG4/ISO/AVC' to the file
'extrace_file.h264'. Container format: AVC/h.264 elementary stream
Progress: 100%
-----------------------------

How does gst-launch to do the same thing?

--
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-tp4103663p4106563.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list