[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: [gst-devel] Problem in gstrtpbin and AV Transfer---Urgent
From:       "Vikas Patel" <Vikas.Patel () imgtec ! com>
Date:       2008-09-30 13:30:42
Message-ID: C1A102308DC77D40BA4DFB4CF4C63BB23BD18F () pumail1 ! pu ! imgtec ! org
[Download RAW message or body]

--===============7132414464674785371==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C922FF.0FDD5E27"

This is a multi-part message in MIME format.


 

 

________________________________

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=THEOR
A,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_mas
k=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
-

[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Manish Rana
[mailto:manish.rana@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, September 30, 2008
6:10 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Discussion of the development
of GStreamer<br>
<b><span style='font-weight:bold'>Subject:</span></b> [gst-devel] Problem in
gstrtpbin and AV Transfer---Urgent</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi All.. <br>
<br>
I am facing some other problem in RTP Streaming...<br>
<br>
I am sending the rtp data over the UDP and playing it on the other end.<br>
I am recording the data from v4l2src @ 10 fps&nbsp; and&nbsp; voice data from
alsasrc to send it across. The transmission starts well as well as i can see
the video on the other end.<br>
Now in between i starts to take the data from a file.<br>
I decode the data and encode again to send it using the same rtpbin and
udpsink.<br>
<br>
Enc, Pay gstrtpbin and udpsink are the element kept common...means i will use
these elements in both the cases.<br>
<br>
the packets goes well and on the other end i can see the AV fine in both the
cases....<br>
<br>
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........<br>
<br>
The file i am using is @25fps......<br>
also when i increase the FPS of v4l2src the whole system works well.....@20
fps.....<br>
<br>
Please let me know if i am missing something or i am doing something wrong
way....<br>
<br>
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.............. :(<br>
<br>
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.....<br>
<br>
<br>
Any input will be appreciated from bottum of heart.......<br>
<br>
BR<br>
Manish<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
Tue, Sep 30, 2008 at 3:52 PM, Wim Taymans &lt;<a
href="mailto:wim.taymans@gmail.com">wim.taymans@gmail.com</a>&gt; \
wrote:<o:p></o:p></span></font></p>

<div>

<div>

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

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>The receiver needs the sampling, width, height and configuration<br>
strings. Run the sender pipeline with -v, then copy the caps on the RTP<br>
udpsink to the receiver udpsrc caps (and yes, they are huge and they are<br>
needed).<br>
<font color="#888888"><span style='color:#888888'><br>
Wim</span></font><o:p></o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
&gt;<br>
&gt; Any suggestion? What could be the problem? A pipeline very similar<br>
&gt; using MPEG4 works well.<br>
&gt;<br>
&gt; Regards<br>
&gt; Francesco Argese<br>
&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge<br>
&gt; Build the coolest Linux based applications with Moblin SDK &amp; win great
prizes<br>
&gt; Grand prize is a trip for two to an Open Source event anywhere in the
world<br>
&gt; <a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/"
target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
 &gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
 &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great
prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/"
target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>
 _______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
 <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel"
target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><o:p></o:p></span></font></p>


</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</div>

<br><br><table bgcolor=white style="color:black"><tr><td><br>-<br>
This&nbsp;message&nbsp;is&nbsp;subject&nbsp;to&nbsp;Imagination&nbsp;Technologies&#39;&nbsp;e-mail&nbsp;terms:&nbsp;http://www.imgtec.com/e-mail.htm<br>
                
-</td></tr></table></body>

</html>


[Attachment #4 (--===============7132414464674785371==)]
-------------------------------------------------------------------------
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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic