Raspberry Pi: Timestamped Live-Stream

waymond91 waymond91 at gmail.com
Thu May 17 17:40:04 UTC 2018


I think this may be my best option given the amount of time I have available.
I just did a quick test, and I think I can use the clockoverlay or
timeoverlay to get the information on the stream.
Then using python tesseract library, I can extract the timestamp into a
sting.

Now I just have one more problem. 

Again, here is how my sink pipeline is currently setup:

gst-launch-1.0 -e udpsrc port=5000 \
   ! gdpdepay \
   ! rtph264depay \
   ! tee name = t \
   t. ! queue ! avdec_h264 ! videoconvert ! timeoverlay ! autovideosink
sync=false \
   t. ! queue ! h264parse ! mp4mux! filesink location=tee.mp4 \

However, I'd like the tee to kick in right after applying the timeoverlay
and right before the autovideosink.
This way, the timeoverlay will be the same for both the autovideosink and
the filesink.
For example:

gst-launch-1.0 -e udpsrc port=5000 \
   ! gdpdepay \
   ! rtph264depay \
   ! queue ! avdec_h264 ! videoconvert ! timeoverlay \
   ! tee name = t \ 
   t. ! autovideosink sync=false \
   t. ! somehow ! convert ! to_mp4! filesink location=tee.mp4 \

Is this possible?
Any Ideas where I should start?
Thank you so much for your help guys!!



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list