Dynamic text-overlay on live-stream using gst-launch-1.0
philippe renon
philippe_renon at yahoo.fr
Mon Mar 6 16:25:06 UTC 2017
Did you try with udpsrc ? As per the doc it will timestamp captured buffers and so should not suffer from the issue you have with fdsrc.
"The udpsrc is always a live source. It does however not provide a GstClock,this is left for upstream elements such as an RTP session manager or demuxer(such as an MPEG demuxer). As with all live sources, the captured bufferswill have their timestamp set to the current running time of the pipeline."
Le Dimanche 5 mars 2017 21h36, Nicolas Dufresne <nicolas at ndufresne.ca> a écrit :
Le lundi 27 février 2017 à 22:30 -0800, Adam Plocher a écrit :
> So I think these are my options:
> - Is there another format or something that the subtitles
> can be written in?
> - Or a way to cause newer sub-titles take precedence over
> older ones?
> - Or am I going to need to keep track of the play-time from
> my secondary process and regularly append accurate times to the
> file/stdout?
At this stage, you next step is to write some C or Python code, and use
appsrc. This way you can create text buffers with generated timestamp
(with or without subparse).
regards,
Nicolas
_______________________________________________
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/20170306/61f17d04/attachment-0001.html>
More information about the gstreamer-devel
mailing list