当我尝试这个命令时:
**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中将错误称为"内部数据流错误"的主要原因是什么?
有许多潜在的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)
| 归档时间: |
|
| 查看次数: |
19548 次 |
| 最近记录: |