<div dir="ltr"><div><div><div><div><div>Hi all,<br><br></div>Im trying to decode a video/subtitle stream, overlay the subtitles on the video via textoverlay and save the resulting video.<br><br></div><div>(using gstreamer 1.2.0)<br>
<br></div>I figured this should be the pipeline :<br><br>gst-launch-1.0 filesrc location=rear_2014-04-02_0.mkv ! matroskademux name=demux ! h264parse ! imxvpudec ! textoverlay name=overlay ! imxvpuenc_h264 bitrate=1024 ! h264parse ! matroskamux ! filesink location=debug.mkv demux. ! katedec ! overlay.<br>
<br></div>This does not convert the subtitles properly. The following pipeline does work :<br><br>gst-launch-1.0 filesrc location=rear_2014-04-02_0.mkv ! matroskademux name=demux ! h264parse ! imxvpudec ! textoverlay name=overlay ! imxvpuenc_h264 bitrate=1024 ! h264parse ! matroskamux ! filesink location=debug.mkv filesrc location=rear_2014-04-02_0.mkv ! matroskademux ! katedec ! overlay.<br>
<br></div>As you can see I use 2 filesrcs and 2 matroskademuxs. What am I doing wrong in the first pipeline? Is this possible to do with only 1 filesrc/demux ?<br><br></div>Regards,<br>Dylan<br><div><div><div><br><br></div>
</div></div></div>