Problem in gstrtpbin and AV Transfer---Urgent

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

Problem in gstrtpbin and AV Transfer---Urgent

Manish Rana
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 <[hidden email]> 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
> [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


-------------------------------------------------------------------------
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 in gstrtpbin and AV Transfer---Urgent

Vikas Patel

 

 


From: Manish Rana [mailto:[hidden email]]
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 <[hidden email]> 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
> [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

 




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

-------------------------------------------------------------------------
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
|

Recall: Problem in gstrtpbin and AV Transfer---Urgent

Vikas Patel
In reply to this post by Manish Rana
Recall: [gst-devel] Problem in gstrtpbin and AV Transfer---Urgent

Vikas Patel would like to recall the message, "[gst-devel]  Problem in gstrtpbin and AV Transfer---Urgent".




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

-------------------------------------------------------------------------
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: Recall: Problem in gstrtpbin and AV Transfer---Urgent

Manish Rana
Hey....
 
I didnt get what is the problem in the email.....???
Please let me know...
 
Thanks
Manish
On Tue, Sep 30, 2008 at 7:02 PM, Vikas Patel <[hidden email]> wrote:

Vikas Patel would like to recall the message, "[gst-devel]  Problem in gstrtpbin and AV Transfer---Urgent".




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

-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: [Bulk] Problem in gstrtpbin and AV Transfer---Urgent

Aurelien Grimaud (elzz)
In reply to this post by Manish Rana
Can you describe how you switch from one source to another ?
Using input-selector ?
Do you change pipeline or bin state when switching ?

Is it a receiver problem or a sender problem ?
Are rtp packets really sent from one side to the other ?

Can you post the errors ?

Using dynamic pipeline is tricky because of buffer timestamp and new
segment management.

Using GST_DEBUG=5 when starting your pipeline will provide huge log, in
which you will find for sure where exactly the problem occurs.

Aurelien



Manish Rana a écrit :

> 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 <[hidden email]
> <mailto:[hidden email]>> 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 <http://172.16.1.56>  rtpbin.send_rtcp_src_0 !
>     udpsink port=5001
>     > host=172.16.1.56 <http://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=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>     > _______________________________________________
>     > gstreamer-devel mailing list
>     > [hidden email]
>     <mailto:[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=/
>     <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>     _______________________________________________
>     gstreamer-devel mailing list
>     [hidden email]
>     <mailto:[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
>  



-------------------------------------------------------------------------
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 in gstrtpbin and AV Transfer---Urgent

Manish Rana
In reply to this post by Manish Rana
Is there any range of Frame Rate that i can use..if i set the FrameRate to some value..........
If i set 20 fps at camera and then use a file of 12 fps then even file send is not working...
Please let me know if someone else has faced the similar problem....

I am stuck and not able to proceed further......
Please help.....

Thanks a lot
Manish


On Tue, Sep 30, 2008 at 6:10 PM, Manish Rana <[hidden email]> wrote:
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



-------------------------------------------------------------------------
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 in gstrtpbin and AV Transfer---Urgent

Aurelien Grimaud (elzz)
Hi,
Try and use videorate to make all streams the same fps.
I do not think receiver will be happy with fps change ...
In fact, what you expose let think that encoder too is not happy with fps change.

Figure out if it is a sender problem or a receiver problem by looking at rtp packet transmission with tcpdump.
Enabling  GST_DEBUG when starting your soft will point out the problems (after some log digging ...)

Explicit all of your pipelines and switching mechanism from one source to the other for us to provide more help.

Aurelien

--- En date de : Mer 1.10.08, Manish Rana <[hidden email]> a écrit :
De: Manish Rana <[hidden email]>
Objet: Re: [gst-devel] Problem in gstrtpbin and AV Transfer---Urgent
À: "Discussion of the development of GStreamer" <[hidden email]>
Date: Mercredi 1 Octobre 2008, 10h31

Is there any range of Frame Rate that i can use..if i set the FrameRate to some value..........
If i set 20 fps at camera and then use a file of 12 fps then even file send is not working...
Please let me know if someone else has faced the similar problem....

I am stuck and not able to proceed further......
Please help.....

Thanks a lot
Manish


On Tue, Sep 30, 2008 at 6:10 PM, Manish Rana <[hidden email]> wrote:
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


-------------------------------------------------------------------------
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
Reply | Threaded
Open this post in threaded view
|

Re: Problem in gstrtpbin and AV Transfer---Urgent

Manish Rana
In reply to this post by Manish Rana
Hi,

I have figured out the reason for the Video not getting updated.
The reason in that the encoder doesn't encode the incoming data until the TimeStamp on the incoming data is not more then the timeStamp on the last FRAME Encoded.

Here when i start file transfer then the timestamp is reset at the filesrc and it starts from 0.
So it doesn't give any encoded fame until the timestamp is not greater that the last timestamp of the frame encoded with the V4l2src.
Now similar problem is faced when i switch back to the camera from File.

Please give some hints to resolve the same.
This will be very helpful

Thanks a lot
Manish

On Wed, Oct 1, 2008 at 2:01 PM, Manish Rana <[hidden email]> wrote:
Is there any range of Frame Rate that i can use..if i set the FrameRate to some value..........
If i set 20 fps at camera and then use a file of 12 fps then even file send is not working...
Please let me know if someone else has faced the similar problem....

I am stuck and not able to proceed further......
Please help.....

Thanks a lot
Manish



On Tue, Sep 30, 2008 at 6:10 PM, Manish Rana <[hidden email]> wrote:
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




-------------------------------------------------------------------------
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