<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 28 déc. 2016 12:41 AM, "PRADEEP NALAWADE" <<a href="mailto:pradeep.nalawade@funambolo.co.in">pradeep.nalawade@funambolo.co.in</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_-4082186891524607838post-text">
<p>How to overlay a text onto the h264 stream and store it using
GStreamer so that overlay text can be extracted later. I need to
extract the overlay text from the video.</p>
<p>I am using the following command to overlay text onto the
stream and store it.</p>
<blockquote>
<p><b>gst-launch-1.0 -e imxv4l2videosrc ! textoverlay
text="Sample Video" valignment=position halignment=position
xpos=1 ypos=1 font-desc="Sans, 20" ! timeoverlay !
vpuenc_h264 ! matroskamux ! filesink location=video.mp4</b></p>
</blockquote>
<p>Is it possible to extract the text overlay from the video
generated using above command? If not, how to overlay a text, so
that it can be extracted later?</p>
<p>Thanks in advance.</p></div></div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">The pipeline you are using render the overlay directly on the image. It is not possible to extract it afterward. What you could do instead is to use a subtitle stream.</div><div dir="auto"><br></div><div dir="auto">Nicolas</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><div class="m_-4082186891524607838post-text"><font color="#888888">
<p>Pradeep Nalawade</p>
</font></div>
</div>
<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div></div></div>