<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/22/2014 03:55 AM, Dylan Broome
wrote:<br>
</div>
<blockquote
cite="mid:CAC-KW0nyO18M929R375VNh-Ruyv4UmhuRCENk9VfhBdz5u2Nnw@mail.gmail.com"
type="cite">
<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>
</div>
</div>
</blockquote>
Yes, but you need to have queues after the matroskademux src pads as
otherwise you have a single thread driving 2 pads and it will lead
to a deadlock. Adding the queues will make sure each branch has its
own thread running.<br>
<br>
Regards,<br>
<br>
<blockquote
cite="mid:CAC-KW0nyO18M929R375VNh-Ruyv4UmhuRCENk9VfhBdz5u2Nnw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
Regards,<br>
Dylan<br>
<div>
<div>
<div><br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>