<div dir="ltr"><div>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:<br><br><i>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 \<br>
d.audio_01 ! 'audio/mpeg, mpegversion=4' ! ffdec_aac ! audioconvert ! ffenc_ac3 bitrate=128000 ! 'audio/x-ac3, channels=2, rate=48000' ! filesink location=<a href="http://mkva.es">mkva.es</a></i><br><br></div>
It simply hangs at the PREROLLING stage and doesn't budge. I must be doing something wrong.<br></div>