rtponvifparse element does not work in gstreamer 1.16
If I run the following pipeline in the enviroment with gstreamer 1.20, the timeoverlay
element will display the correct date and time:
gst-launch-1.0 rtspsrc location=rtsp://URL protocols=tcp is-live=true ! rtponvifparse ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! timeoverlay ! autovideosink sync=false
But if the same pipeline is run in the enviroment with gstreamer 1.16 (without the is-live=true
property for the rtspsrc
element, because version 1.16 does not have such a property), the time displayed by timeoverlay
always starts from 0 and it is incorrect.
Is there any way how to parse the right time by rtponvifparse element in gstreamer 1.16? I think it is caused by missing is-live=true
property in gstreamer 1.16. Is there any alternative for this in gstreamer 1.16?