我有以下管道,
gst-launch-1.0 filesrc location=video.ts ! \
tsdemux name=demux program-number=10 demux.video_012c ! \
queue ! muxer.sink_300 mpegtsmux name=muxer prog-map=program_map,sink_300=10 ! \
rtpmp2tpay ! udpsink host=192.168.2.194 port=8765 sync=true async=false qos=true
我想在一段时间内寻找这个管道,因为我使用下面的代码
if(!gst_element_seek_simple(pipeline, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH, (pos*1000000000)))
{
UU_PRINT("Player Seek Failed in Stream File Play !!\n");
}
通过使用上面的代码,寻求成功。
但我收到的是以下关键信息,
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
BUS_MESSAGE :: Warning : Internal data flow problem., gstbasesink.c(3307): gst_base_sink_chain_unlocked (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Received buffer without a new-segment. Assuming timestamps start from 0.
Seek Called
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
BUS_MESSAGE :: Warning : Internal data flow problem., gstbasesink.c(3307): gst_base_sink_chain_unlocked (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Received buffer without a new-segment. Assuming timestamps start from 0.
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
(uuMediaPlayer:8051): GStreamer-CRITICAL **: gst_segment_to_running_time: assertion 'segment->format == format' failed
为什么会出现这些消息,如何解决此问题?