Decoding an AVC/AAC (MP4A) MKV?
sebastian at centricular.com
Thu Jun 26 00:15:39 PDT 2014
On Di, 2014-06-24 at 20:27 -0700, Jordan Johnson wrote:
> I am attempting to decode an mkv and split it into elementary streams. I
> have subtitles and video working; But I can't seem to get the audio going.
> Here is what my test pipe looks like:
> *gst-launch-0.10 filesrc location=source.mkv ! matroskademux name=d
> d.video_00 ! 'video/x-h264,stream-format=avc' ! h264parse ! ffdec_h264 !
> ffmpegcolorspace ! mpeg2enc format=12 framerate=2 aspect=3
> sequence-header-every-gop=true bitrate=10000 ! filesink location=mkv.mpeg
> \d.audio_01 ! 'audio/mpeg, mpegversion=4' ! ffdec_aac ! audioconvert !
> ffenc_ac3 bitrate=128000 ! 'audio/x-ac3, channels=2, rate=48000' ! filesink
> location=mkva.es <http://mkva.es>*
> It simply hangs at the PREROLLING stage and doesn't budge. I must be doing
> something wrong.
Try adding queues after every pad (branch) of the demuxer.
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel