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

Raymond18 yhung124 at gmail.com
Fri Nov 25 03:59:56 PST 2011


To TIm,

According to your describing, The following command should create a file
with H.264 data that can be read without a container. But something wrong
after executing.
Do I use a wrong pipeline?

------------------------------------------
$ gst-launch-0.10 filesrc location=/home/test.mkv  ! matroskademux !
h264parse ! 'video/x-h264,stream-format=byte-stream' ! filesink
location=from_matro.h264 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0:
GStreamer encountered a general stream error.
Additional debug info:
matroska-demux.c(6090): gst_matroska_demux_loop ():
/GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0:
stream stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
-----------------------------------------




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


More information about the gstreamer-devel mailing list