Extraction of overlay data from stored video
Nicolas Dufresne
nicolas at ndufresne.ca
Sat Dec 31 13:12:23 UTC 2016
Le 28 déc. 2016 12:41 AM, "PRADEEP NALAWADE" <
pradeep.nalawade at funambolo.co.in> a écrit :
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.
I am using the following command to overlay text onto the stream and store
it.
*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*
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?
Thanks in advance.
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.
Nicolas
Pradeep Nalawade
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161231/6613c03b/attachment.html>
More information about the gstreamer-devel
mailing list