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 using
splitmuxsink 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=13421778
location=/tmp/new_ sync=false ! mp4.video
I'm getting following error for my splitmuxsink
GStreamer-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 list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel