当我尝试此命令时:
**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**
我得到的错误是:
**ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
Internal data flow error.**
在gstreamer中给出“内部数据流错误”的主要原因是什么?
发布于 2014-02-03 13:10:26
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
...
发布于 2014-01-29 18:50:50
不幸的是,有些东西不起作用。使用环境变量GST_DEBUG="*:2"
重新运行命令以查看所有警告。
https://stackoverflow.com/questions/21383170
复制相似问题