簡體   English   中英

無法使用 srt 生活 stream,面臨“不支持的時間戳參考時鍾”問題

[英]unable to live stream using srt, facing "Unsupported timestamp reference clock" issue

我正在嘗試使用 srt 協議 stream 視頻,流媒體源是 rtsp 客戶端。

gst-launch-1.0 --gst-debug=3 rtspsrc location="rtsp://admin:admin@localhost/live.sdp" short-header=TRUE name=demux demux. : rtph265depay: queue. video/x-h265. mpegtsmux name=mux1 ! srtsink uri=srt://:8888 demux. ! queue ! rtpmp4adepay ! aacparse ! mux1.

當我嘗試在管道上方運行時,獲取 FIXME 日志並且無法在 vlc 播放器上看到 stream。

日志:

0:00:00.285731958  2338   0x7f600338f0 FIXME                default gstutils.c:3981:gst_pad_create_stream_id_internal:<fakesrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Progress: (request) Sent PLAY request
0:00:00.294357875  2338   0x7f600338a0 FIXME                default gstutils.c:3981:gst_pad_create_stream_id_internal:<fakesrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:00.349911500  2338   0x7f60033400 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1551:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported timestamp reference clock
0:00:00.350078166  2338   0x7f60033400 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1559:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer0> Unsupported media clock
0:00:00.355827125  2338   0x7f600334a0 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1551:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer1> Unsupported timestamp reference clock
0:00:00.358561833  2338   0x7f600334a0 FIXME        rtpjitterbuffer gstrtpjitterbuffer.c:1559:gst_jitter_buffer_sink_parse_caps:<rtpjitterbuffer1> Unsupported media clock
0:00:02.358866251  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.360083834  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.360472292  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.360655334  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.360766126  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.360916376  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present
0:00:02.361559709  2338     0x36f5acf0 FIXME               basesink gstbasesink.c:3248:gst_base_sink_default_event:<srtsink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
0:00:02.362658667  2338   0x7f50002400 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present

提前致謝。

嘗試將 videorate gstreamer 元素放在 srtsink 元素之前。 https://gstreamer.freedesktop.org/documentation/videorate/index.html?gi-language=c

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM