Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the reason for giving "internal data flow error" message in gstreamer?

Tags:

gstreamer

When i tried this command:

**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** 

I got error as:

**ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: 
Internal data flow error.**

What is the main reason for giving error as "Internal data flow error" in gstreamer ?

like image 610
sundara pandi Avatar asked Jan 27 '14 14:01

sundara pandi


2 Answers

There are many potential reasons for internal data flow error. To encounter the problematic place, just connect a fakesink element step by step and try.

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
...
like image 158
mahendiran.b Avatar answered Sep 27 '22 19:09

mahendiran.b


It is the unfortunate case of something did not work. Rerun the command with the environment variable GST_DEBUG="*:2" to see all warnings.

like image 27
ensonic Avatar answered Sep 27 '22 18:09

ensonic