Gstreaner не воспроизводит поток по rtp
Запускаю команду:
gst-launch-1.0
rtpbin name=rtpbin
filesrc location=./target.mp4
! qtdemux name=demux
demux.video_0
! queue
! decodebin
! videoconvert
! vp8enc target-bitrate=300000 deadline=1 cpu-used=4
! rtpvp8pay pt=102 ssrc=22222222 picture-id-mode=2
! rtpbin.send_rtp_sink_0
rtpbin.send_rtp_src_0 ! udpsink host=localhost port=47499
rtpbin.send_rtcp_src_0 ! udpsink host=localhost port=47372 sync=true async=false
demux.audio_0
! queue
! decodebin
! audioresample
! audioconvert
! opusenc
! rtpopuspay pt=101 ssrc=11111111
! rtpbin.send_rtp_sink_1
rtpbin.send_rtp_src_1 ! udpsink host=localhost port=48173
rtpbin.send_rtcp_src_1 ! udpsink host=localhost port=49718 sync=true async=false
Выдаёт:
становка конвейера в состояние PAUSED…
Подготовка конвейера (PREROLL)…
Перераспределение латентности…
Перераспределение латентности…
Перераспределение латентности…
Перераспределение латентности…
0:00:00.0 / 0:00:30.5 (0,0 %)
(gst-launch-1.0:44296): GStreamer-CRITICAL **: 09:59:54.994: gst_caps_from_string: assertion 'string' failed
(gst-launch-1.0:44296): GStreamer-CRITICAL **: 09:59:54.994: gst_pad_template_new:Ж assertion 'caps != NULL' failed
(gst-launch-1.0:44296): GStreamer-CRITICAL **: 09:59:54.994: gst_mini_object_unref: assertion 'mini_object != NULL' failed
(gst-launch-1.0:44296): GStreamer-CRITICAL **: 09:59:54.994: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed
(gst-launch-1.0:44296): GStreamer-Video-CRITICAL **: 09:59:54.994: gst_video_decoder_init: assertion 'pad_template != NULL' failed
(gst-launch-1.0:44296): GStreamer-WARNING **: 09:59:54.994: Element vaapidecode0 has an ALWAYS template src, but no pad of the same name
Caught SIGSEGV
Spinning. Please run 'gdb gst-launch-1.0 44296' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
0:00:00.0 / 0:00:30.5 (0,0 %)
И после этого просто стоит