需要帮助播放电视RTP流

时间:2019-06-01 09:22:59

标签: gstreamer rtp

我需要播放RTP电视流的帮助,我的实际管道无法返回任何图像。我尝试了很多在这里和互联网上找到的示例,但没有成功。

我希望有人能帮助我,这是我的做法错误。

gst-launch-1.0 -v udpsrc buffer-size="5000" port=10000 multicast-group="239.186.68.1" caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264" ! rtph264depay ! avdec_h264 ! autovideosink

ffprobe的输出:

Input #0, rtp, from 'rtp://239.186.68.1:10000':
  Duration: N/A, start: 50822.743589, bitrate: N/A
  Program 1 
    Metadata:
      service_name    : SRF 1 HD
      service_provider: Swisscom
    Stream #0:2: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream #0:3: Unknown: none ([5][0][0][0] / 0x0005)
    Stream #0:4: Unknown: none ([12][0][0][0] / 0x000C)
    Stream #0:1(deu,deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:0(deu): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 448 kb/s
    Stream #0:5(log): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 93 kb/s
    Stream #0:6(deu): Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 92 kb/s
Unsupported codec with id 94215 for input stream 1
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4

0 个答案:

没有答案