From: Manish Rana [mailto:manish.rana@gmail.com]
Sent: Tuesday, September 30, 2008 6:10 PM
To: Discussion of the development of GStreamer
Subject: [gst-devel] Problem in gstrtpbin and AV Transfer---Urgent

 

Hi All..

I am facing some other problem in RTP Streaming...

I am sending the rtp data over the UDP and playing it on the other end.
I am recording the data from v4l2src @ 10 fps  and  voice data from alsasrc to send it across. The transmission starts well as well as i can see the video on the other end.
Now in between i starts to take the data from a file.
I decode the data and encode again to send it using the same rtpbin and udpsink.

Enc, Pay gstrtpbin and udpsink are the element kept common...means i will use these elements in both the cases.

the packets goes well and on the other end i can see the AV fine in both the cases....

Now when i again switch back to v4l2src the packets on the receiver end come but the decoder (ffdec_mpeg4) gives error.......and there is no updates on display........

The file i am using is @25fps......
also when i increase the FPS of v4l2src the whole system works well.....@20 fps.....

Please let me know if i am missing something or i am doing something wrong way....

Also i tried using different enc and pay elements in both the case..but i i unlink and link to gstrtpbin, there is no data at all..even in the first switch to file transfer.............. :(

Please help...i have tried every possible thing to fix this issue....but i am stuck with the same for last couple of days now.....


Any input will be appreciated from bottum of heart.......

BR
Manish



Tue, Sep 30, 2008 at 3:52 PM, Wim Taymans <wim.taymans@gmail.com> wrote:

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@lists.sourceforge.net
> 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
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

 




-
This message is subject to Imagination Technologies' e-mail terms: http://www.imgtec.com/e-mail.htm
-