Decoding an AVC/AAC (MP4A) MKV?

Jordan Johnson jwllmjohnson at gmail.com
Tue Jun 24 20:27:41 PDT 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140624/08952a39/attachment.html>


More information about the gstreamer-devel mailing list