gstreamer x264enc matroskamux issue
paul.praet at telenet.be
paul.praet at telenet.be
Thu Oct 25 11:49:29 PDT 2012
I am trying to convert a DVD to mkv file with gstreamer. The pipeline I use is:
gst-launch -evv multifilesrc location="VTS_01_%d.VOB" index=1 ! dvddemux name=demuxer \
matroskamux name=mux ! filesink location=test.mkv \
demuxer.current_video ! queue ! mpeg2dec ! x264enc ! mux. \
demuxer.current_audio ! queue ! ffdec_ac3 ! lamemp3enc ! mux. (I cannot use dvdreadsrc because I get another error on the iso file) Unfortunately the pipeline does not go beyond prerolling. When I replace x264enc with for instance ffenc_mpeg4, then everything works fine.. Some people suggested adding byte-stream=1 to x264enc but it did not change anything.
Output : spetsnaz at seefhoek:~/work$ dvd2mkv Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstDVDDemux:demuxer.GstPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)true, parsed=(boolean)true /GstPipeline:pipeline0/GstDVDDemux:demuxer.GstPad:current_video: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false /GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false /GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false /GstPipeline:pipeline0/GstMpeg2dec:mpeg2dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)2, systemstream=(boolean)false /GstPipeline:pipeline0/GstMpeg2dec:mpeg2dec0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)16/15, framerate=(fraction)25/1, interlaced=(boolean)false /GstPipeline:pipeline0/GstDVDDemux:demuxer.GstPad:current_audio: caps = audio/x-ac3 /GstPipeline:pipeline0/GstQueue:queue1.GstPad:sink: caps = audio/x-ac3 /GstPipeline:pipeline0/GstQueue:queue1.GstPad:src: caps = audio/x-ac3 /GstPipeline:pipeline0/ffdec_ac3:ffdec_ac30.GstPad:sink: caps = audio/x-ac3 /GstPipeline:pipeline0/ffdec_ac3:ffdec_ac30.GstPad:src: caps = audio/x-raw-int, rate=(int)48000, channels=(int)2, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 /GstPipeline:pipeline0/GstLameMP3Enc:lamemp3enc0.GstPad:src: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, channels=(int)2, rate=(int)48000 /GstPipeline:pipeline0/GstLameMP3Enc:lamemp3enc0.GstPad:sink: caps = audio/x-raw-int, rate=(int)48000, channels=(int)2, signed=(boolean)true, endianness=(int)1234, width=(int)16, depth=(int)16 Redistribute latency... /GstPipeline:pipeline0/GstMatroskaMux:mux.GstMatroskamuxPad:audio_0: caps = audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, channels=(int)2, rate=(int)48000 /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps = video/x-h264, width=(int)720, height=(int)576, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)16/15, codec_data=(buffer)0164001effe1001d6764001eacd940b4126ffc0040003d220000030002ee6b28001e2c5b2c01000568ebecb22c, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)high /GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)720, height=(int)576, pixel-aspect-ratio=(fraction)16/15, framerate=(fraction)25/1, interlaced=(boolean)false
[nothing happens anymore]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121025/b1fc92ab/attachment.html>
More information about the gstreamer-devel
mailing list