I was using the playbin plugin to play a special network url that got from dlna projection, the video could play normally itself if we did nothing, but there are still some problems about that.
bug description:
1: the video duration got from gstreamer every time is different from real duration for this video, the real video duration is about 00:47:41.56, but the video duration got from gstreamer is probably about from 00:30:00 to 01:47:30.
2: When starting to seek, sometimes that video will show figured screen for one or two seconds, after then it will recover normally, sometimes the video will not show black all the time until next seek happens.
for the question2, gstreamer reported a lot of waring info like that: ->####################
WARNING Internal data flow problem. WARNING debug information: gstbasesink.c(3394): gst_base_sink_chain_unlocked (): /GstPlayBin:playbin/GstPlaySink:playsink/GstBin:abin/GstPulseSink:pulsesink1: Received buffer without a new-segment. Assuming timestamps start from 0. Buffering… 100%
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.093: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.093: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.095: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.095: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.095: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.095: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
(gst-play-1.0:44553): GStreamer-CRITICAL **: 01:12:01.095: gst_segment_to_running_time: assertion ‘segment->format == format’ failed
but when I am playing the same url with ffmpeg, there seems to be ok. -
GStreamer Version:
1.16.3
Steps to reproduce the bug
unfortunately, the url was got from Mango TV video app by dlna network projection, the url will be expired after several hours. but i can download the video as ts format or i also can provide some gstreamer log if you need.
Does anybody know how to deal with that? I am looking forward to everyone’s active participation.