Simple udp and rtp video streaming does not work

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

Simple udp and rtp video streaming does not work

Markus
Hi everyone,

Im am trying to stream video with rtp. Since im new to gstreamer, i first tried to send a file through udp using :

# gst-launch -v udpsrc port=1234 ! theoradec ! autovideosink    

and
# gst-launch -v videotestsrc ! ffmpegcolorspace
! videoscale method=1 ! video/x-raw-yuv,width=320,height=240,framerate=(fraction)15/1
! theoraenc bitrate=150 ! udpsink host=127.0.0.1 port=1234

First I run the client, but then I run the server side, it gives me the following message :
ERROR: from element ....udpsrc0 : internal data flow error

can someone tell me what i am doing wrong please?

Thanks in advance

Markus
Reply | Threaded
Open this post in threaded view
|

Re: Simple udp and rtp video streaming does not work

Ruben Gonzalez Uvigo
Hi.

Try adding ffmpegcolorspace before the autovideosink.

$ gst-launch-0.10 -v udpsrc port=1234 ! theoradec ! ffmpegcolorspace !  autovideosink


2012/7/30 Markus <[hidden email]>
Hi everyone,

Im am trying to stream video with rtp. Since im new to gstreamer, i first
tried to send a file through udp using :

# gst-launch -v udpsrc port=1234 ! theoradec ! autovideosink

and
# gst-launch -v videotestsrc ! ffmpegcolorspace
! videoscale method=1 !
video/x-raw-yuv,width=320,height=240,framerate=(fraction)15/1
! theoraenc bitrate=150 ! udpsink host=127.0.0.1 port=1234

First I run the client, but then I run the server side, it gives me the
following message :
ERROR: from element ....udpsrc0 : internal data flow error

can someone tell me what i am doing wrong please?

Thanks in advance

Markus



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Simple-udp-and-rtp-video-streaming-does-not-work-tp4655728.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Un Saludo

Ruben Gonzalez Gonzalez


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

Re: Simple udp and rtp video streaming does not work

Markus
In reply to this post by Markus
Hi,

Thank you alot it works fine!