Internal data flow error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Internal data flow error

Srikar
Hi,
   I am new to gstreamer and recently installed gstreamer on two
ubuntu-16.04 machines using the following command "sudo apt-get
install gstreamer1.0-tools \
  gstreamer1.0-plugins-base \
  gstreamer1.0-plugins-good \
  gstreamer1.0-plugins-bad \
  gstreamer1.0-plugins-ugly"

Below is my gstreamer version
ubuntu-32:~$ gst-launch-1.0 --version
gst-launch-1.0 version 1.8.2
GStreamer 1.8.2


I am trying to forward the output of Videotestsrc from one system to
another using the below example

Server:
gst-launch-1.0 videotestsrc ! \
 jpegenc ! \
 rtpjpegpay ! \
 udpsink host=x.x.x.x port=xxxx

Client:
gst-launch-1.0 udpsrc port=xxxx ! \
 application/x-rtp,\
 encoding-name=JPEG,payload=26 ! \
 rtpjpegdepay ! \
 jpegdec ! \
 autovideosink


when I ran the gstream on client side, facing the below problem.

testgst@ubuntu-32:~$ gst-launch-1.0 udpsrc port=5100 !
application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay !
jpegdec ! autovideosink sync=true
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2948): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.019651254
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Can anybody tell me why I am getting the above error and how to fix it?
Thanks in Advance.

Regards,
S.Srikar.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Sebastian Dröge-3
On Tue, 2016-08-30 at 18:27 +0530, Srikar Somineni wrote:

> testgst@ubuntu-32:~$ gst-launch-1.0 udpsrc port=5100 !
> application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay !
> jpegdec ! autovideosink sync=true
> [...]
>
> Can anybody tell me why I am getting the above error and how to fix
> it?

Most likely you're missing converters before the autovideosink, e.g.
videoconvert and videoscale, but without debug logs I can't say for
sure.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Nynke
In reply to this post by Srikar
I've got the same problem. When I launch:

gst-launch-1.0 udpsrc port=5200 ! \
"application/x-rtp, encoding-name=JPEG, payload=26" ! \
rtpjpegdepay ! \
jpegdec ! \
autovideosink

I get:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.001487854
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


When I debug I get the following:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:03.031048400 11732 0x55711e871400 FIXME           videodecoder
gstvideodecoder.c:944:gst_video_decoder_drain_out:<jpegdec0> Sub-class
should implement drain()
0:00:03.049415176 11732 0x55711e871400 WARN                GST_PADS
gstpad.c:4230:gst_pad_peer_query:<jpegdec0:src> could not send sticky events
0:00:03.050087182 11732 0x55711e871400 WARN                 basesrc
gstbasesrc.c:3072:gst_base_src_loop:<udpsrc0> error: Internal data stream
error.
0:00:03.050270279 11732 0x55711e871400 WARN                 basesrc
gstbasesrc.c:3072:gst_base_src_loop:<udpsrc0> error: streaming stopped,
reason not-negotiated (-4)
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.019831428
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Tim Müller
On Wed, 2019-05-01 at 08:54 -0500, Nynke wrote:

Hi,

> I've got the same problem. When I launch:
>
> gst-launch-1.0 udpsrc port=5200 ! \
> "application/x-rtp, encoding-name=JPEG, payload=26" ! \
> rtpjpegdepay ! \
> jpegdec ! \
> autovideosink
>
> I get:
>
> /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
> streaming stopped, reason not-negotiated (-4)

not-negotiated usually means a problem with caps/format negotiation
somewhere.

In this case, try adding media=video and clock-rate=90000 to the
application/x-rtp caps.

You might also want to add a videoconvert ! videoscale in front of the
autovideosink for good measure.

Cheers
 -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel