gst_clock_get_time: assertion 'GST_IS_CLOCK (clock)' failed

Nicolas Dufresne nicolas at ndufresne.ca
Mon Jun 1 14:14:37 UTC 2020


Le lundi 01 juin 2020 à 04:02 -0500, Aniket0987 a écrit :
> Hi,I've been trying to capture an RTMP stream and save it as mp4. I'm usingsplitmuxsink for mp4 creation. Pipeline as follows:rtmpsrc location='rtmp://127.0.0.1:1935 live=1' do-timestamp=true !

rtmpsrc is not a live source, hence do-timestamp not being an appropriate property for this element. This was discussed recently in another thread, this property is a "foot gun" to follow the wording trends these days. You can cheat a little, and turn this into a live pipeline (hence ensuring you have a clock), using "identity sync=1" right after it. I haven't tested, but I believe it should work.
> decodebin ! videoconvert ! video/x-raw,format=RGBA ! queue leaky=downstream! videoconvert ! video/x-raw,format=I420 ! openh264enc ! h264parse !splitmux name=mp4 max-size-time=10000000 max-size-bytes=13421778location=/tmp/new_ sync=false ! mp4.video
> I'm getting following error for my splitmuxsinkGStreamer-CRITICAL **: 14:20:31.326: gst_clock_get_time: assertion'GST_IS_CLOCK (clock)' failed
> It seems my frame grabber is not able to get splitmuxsink's internal clock.What could cause this?
> 
> 
> --Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________gstreamer-devel mailing listgstreamer-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/20200601/5970d4ee/attachment.htm>


More information about the gstreamer-devel mailing list