Raspberry Pi: Timestamped Live-Stream

waymond91 waymond91 at gmail.com
Fri May 18 02:29:52 UTC 2018


Ok! I am very close! Sorry if I am spamming the thread!

So I can save the file with the timeoverlay like this:

gst-launch-1.0 -e udpsrc port=5000 \
   ! gdpdepay \
   ! rtph264depay \
   ! queue ! avdec_h264 ! videoconvert ! timeoverlay ! qtmux ! filesink
location=tee.mp4 \

And I can I display the livestream like this:

gst-launch-1.0 -e udpsrc port=5000 \
   ! gdpdepay \
   ! rtph264depay \
   ! queue ! avdec_h264 ! videoconvert ! timeoverlay ! autovideosink
sync=false \

BUT, when I try to do both at the same time:

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

I get the following error:
WARNING: erroneous pipeline: could not link t to qtmux0

Randomly, I tried adding a queue between the tee and qtmux. This doesn't
throw errors, but crashes after running for a couple milliseconds. The first
frame is displayed and no data is saved. I don't know why this would or
would not work, but I've included the error message to be thorough.

ERROR: from element
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage:
Output window was closed
Additional debug info:
xvimagesink.c(555): gst_xv_image_sink_handle_xevents ():
/GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstXvImageSink:autovideosink0-actual-sink-xvimage
An error happened while waiting for EOS
Execution ended after 0:00:41.633882529

Any ideas gang? Thanks in advance!




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


More information about the gstreamer-devel mailing list