Good afternoon,
I'm saving RTSP stream as MP4 segments.
"gst-launch-1.0 -e rtspsrc location=rtsp://192.168.0.108/profile2/media.smp ! splitmuxsink location=storage/%04d.mp4 max-size-time=10000000000 "
And would like to play the videos I've saved earlier in the GTK window, but trying first to play from CLI with:
"gst-launch-1.0 splitmuxsrc location=storage/*.mp4 ! decodebin ! videoconvert ! videoscale ! autovideosink"
and get
__
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:00.000074602
also try the "gst-launch-1.0 playbin uri="splitmux://*.mp4"
from documentation of gst and get the same error.
from PyCharm debugger got this: __
gst_base_src_start_complete:<filesrc0> pad not activated yet
basesrc gstbasesrc.c:2396:gst_base_src_update_length:<filesrc0> processing at or past EOS
gst_type_find_element_loop:<typefindelement0> error: Stream contains no data.
If I understand right there is a problem that headers are not recorded, that's why I've tried CLI method and still I got the same error when nothing shows and playback starts right after the first segment.
can you help me if there are any ideas?