[gst-devel] problems sending a theora video through rtp streaming

Wim Taymans wim.taymans at gmail.com
Tue Sep 30 12:22:38 CEST 2008


On Tue, 2008-09-30 at 11:59 +0200, Francesco Argese wrote:
> Hi all.
> 
> I have problems sending a theora flow in streaming through rtp.
> 
> My two pipeline are the following:
> Sender
> 1)gst-launch gstrtpbin name=rtpbin dv1394src ! dvdemux name=demux !
> dvdec ! ffmpegcolorspace ! theoraenc ! rtptheorapay !
> rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000
> host=172.16.1.56  rtpbin.send_rtcp_src_0 ! udpsink port=5001
> host=172.16.1.56 sync=false async=false udpsrc port=5005 !
> rtpbin.recv_rtcp_sink_0
> 
> Receiver
> 2)gst-launch-0.10 gstrtpbin name=rtpbin udpsrc port=5000
> caps="application/x-rtp,media=video,clock-rate=90000,encoding-name=THEORA,profile-level-id=1,payload=96"
> ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtptheoradepay ! theoradec !
> ffmpegcolorspace !
> video/x-raw-rgb,bpp=32,endianness=4321,depth=24,red_mask=65280,green_mask=16711680,blue_mask=-16777216,width=720,height=576
> ! fakesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0
> rtpbin.send_rtcp_src_0 ! udpsink host=172.16.100.277 port=5005
> sync=false async=false
> 
> The sender seems to works well but at the receiver i obtain the following error:
> New clock: GstSystemClock
> ERROR: from element /pipeline0/udpsrc0: Internal data flow error.
> Additional debug info:
> gstbasesrc.c(2240): gst_base_src_loop (): /pipeline0/udpsrc0:
> streaming task paused, reason not-negotiated (-4)

The receiver needs the sampling, width, height and configuration
strings. Run the sender pipeline with -v, then copy the caps on the RTP
udpsink to the receiver udpsrc caps (and yes, they are huge and they are
needed).

Wim

> 
> Any suggestion? What could be the problem? A pipeline very similar
> using MPEG4 works well.
> 
> Regards
> Francesco Argese
> 
> -------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list