在gstreamer中给出"内部数据流错误"消息的原因是什么?

sun*_*ndi 7 gstreamer

当我尝试这个命令时:

**gst-launch-0.10 -v rtspsrc location=rtsp://127.0.0.1:8554/test 
  caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,
  encoding-name=(string)H264" ! rtpmp2tdepay ! mpegtsdemux ! ffdec_h264 ! autovideosink** 
Run Code Online (Sandbox Code Playgroud)

我得到错误:

**ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: 
Internal data flow error.**
Run Code Online (Sandbox Code Playgroud)

在gstreamer中将错误称为"内部数据流错误"的主要原因是什么?

mah*_*n.b 9

有许多潜在的internal data flow错误原因.要遇到有问题的地方,只需fakesink逐步连接元素并尝试.

gst-launch-0.10 -v rtspsrc location=rtsp://127.0.0.1:8554/test   caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,  encoding-name=(string)H264"  ! fakesink
gst-launch-0.10 -v rtspsrc location=rtsp://127.0.0.1:8554/test   caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,  encoding-name=(string)H264" ! rtpmp2tdepay  ! fakesink
gst-launch-0.10 -v rtspsrc location=rtsp://127.0.0.1:8554/test   caps="application/x-rtp,media=(string)video,clock-rate=(int)90000,  encoding-name=(string)H264" ! rtpmp2tdepay  ! mpegtsdemux  ! fakesink
...
Run Code Online (Sandbox Code Playgroud)


ens*_*nic 8

不幸的是,有些东西不起作用.使用环境变量重新运行该命令GST_DEBUG="*:2"以查看所有警告.