Problem with RTP streaming

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

Problem with RTP streaming

Rémi BUISSON
Hi,

I tried this to stream in RTP:

gst-launch gstrtpbin name=rtpbin  videotestsrc ! ffmpegcolorspace !
ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0  rtpbin.send_rtp_src_0
! udpsink port=5000  rtpbin.send_rtcp_src_0 ! udpsink port=5001
sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0

and it works.

But I didn't succeed in making this work:

gst-launch-0.10 -v filesrc location=sample.ogg ! gstrtpbin name=rtpbin
decodebin ! ffmpegcolorspace ! ffmpegcolorspace ! ffenc_h263 !
rtph263ppay ! rtpbin.send_rtp_sink_0  rtpbin.send_rtp_src_0 ! udpsink
port=5000  rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false
async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0

Any idea ?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with RTP streaming

Wim Taymans
On Tue, 2008-08-05 at 11:36 +0200, Rémi BUISSON wrote:

> Hi,
>
> I tried this to stream in RTP:
>
> gst-launch gstrtpbin name=rtpbin  videotestsrc ! ffmpegcolorspace !
> ffenc_h263 ! rtph263ppay ! rtpbin.send_rtp_sink_0  rtpbin.send_rtp_src_0
> ! udpsink port=5000  rtpbin.send_rtcp_src_0 ! udpsink port=5001
> sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0
>
> and it works.
>
> But I didn't succeed in making this work:
>
> gst-launch-0.10 -v filesrc location=sample.ogg ! gstrtpbin name=rtpbin
> decodebin ! ffmpegcolorspace ! ffmpegcolorspace ! ffenc_h263 !
> rtph263ppay ! rtpbin.send_rtp_sink_0  rtpbin.send_rtp_src_0 ! udpsink
> port=5000  rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false
> async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0

rtpbin only accepts RTP packets from a payloader or from a network
source, you can't send raw ogg to it.

Wim

>
> Any idea ?
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel