澳门银河网上官方赌场_老品牌值得信赖

ITKeyword,专注技术干货聚合推荐

注册 | 登录

ffmpeg - Error while displaying RTP stream packets from udp port on Gstreamer

itPublisher 分享于

2021腾讯云限时秒杀,爆款1核2G云服务器298元/3年!(领取2860元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1062

2021阿里云最低价产品入口+领取代金券(老用户3折起),
入口地址https://www.aliyun.com/minisite/goods

I am streaming a live webcam using VLC to darwin streaming server.

Then tried to play this live web cam feed on RTSP client using following

GST_DEBUG=2 gst-launch -vvv playbin uri=rtsp://172.19.91.21/channel.sdp

Everthing works fine. output is coming on gstreamer window.

I have reflect all the packest from DSS to RTSP client as well as on a udp_port. But when i tried to play RTP stream using following command

GST_DEBUG=2 gst-launch-0.10 -vvv udpsrc port=5000 multicast-iface="lo" multicast-group="172.19.91.20" buffer-size=1000000 caps="application/x-rtp, media=video, clock-rate=90000, encoding-name=H264" do-timestamp=false ! rtph264depay ! decodebin ! autovideosink

I am getting following errors

0:00:07.108734201 7874 0x89d2a90 ERROR ffmpeg :0:: non-existing PPS referenced 0:00:07.108803500 7874 0x89d2a90 ERROR ffmpeg :0:: non-existing PPS 0 referenced 0:00:07.108824183 7874 0x89d2a90 ERROR ffmpeg :0:: decode_slice_header error 0:00:07.108840903 7874 0x89d2a90 ERROR ffmpeg :0:: no frame! 0:00:07.108859244 7874 0x89d2a90 WARN ffmpeg gstffmpegdec.c:2299:gst_ffmpegdec_frame: ffdec_h264: decoding error (len: -1, have_data: 0)

Please guide me how to solve this problem.

ffmpeg gstreamer rtsp rtp live-streaming
|
  this question
asked Oct 19 '15 at 11:10 Gaurav Singla 6 1      How often is your web cam setup to send an IDR frame (keyframe)? –  mpr Oct 19 '15 at 22:12      It is sending key frames after every 5 seconds –  Gaurav Singla Oct 20 '15 at 6:08

 | 

1 Answers
1

It's working fine after using following command:

GST_DEBUG=2 gst-launch-0.10 -v udpsrc port=5000 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, sprop-parameter-sets=(string)\"Z2QAHqzZQKA9sBEAAAMAAQAAAwAyjxYtlg\=\=\,aOvjyyLA\=\"' ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false


|
  this answer
answered Oct 20 '15 at 11:51 Gaurav Singla 6 1

 | 


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。

澳门银河网上官方赌场