problems with new plugins gstrtpvrawpay and gstrtpvrawdepay

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

problems with new plugins gstrtpvrawpay and gstrtpvrawdepay

Antonio Marqués
Hi all,

I am working for a videoconferencing project and one of its constraints is about sending VGA RAW YUV 4:2:0 video (which should be possible with the Gigabit Ethernet card).
Some time ago I developed two plugins for myself to do this functionality. The thing is that they did not work well at all and two weeks ago I realized that those functionality had been developed for gst-plugins-good-0.10.11. These plugins are rtpvrawpay and rtpvrawdepay.
The thing is that if I connect two computers with a cross-over ethernet wire (which was necessary for my old plugins) and I send raw VGA video from one to another, the bottom of the image is not shown as it should in case there is something moving. The top of the image is perfectly shown althought there is something moving.
Those are my pipelines:

gst-launch -v v4l2src !  video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace ! rtpvrawpay ! udpsink port=10006 host=192.168.1.3

gst-launch udpsrc port=10006 ! application/x-rtp,media=video,clock-rate=90000,encoding-name=RAW,sampling=YCbCr-4:2:0,depth=8,width="(string)640",height="(string)480",colorimetry=SMPTE240M,payload=96,ssrc=3409483067,clock-base=2404041028,seqnum-base=9661 ! rtpvrawdepay ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! xvimagesink

Is there something bad?
On the other hand, if I try with a 320x240 resolution it works perfectly.

As those plugins are quite new I have not found many information about them, so any help would be very useful.

Thanks in advanced


-------------------------------------------------------------------------
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: problems with new plugins gstrtpvrawpay and gstrtpvrawdepay

Wim Taymans
On Tue, Nov 18, 2008 at 12:19 PM, ANTONIO MARQUES MARQUES <[hidden email]> wrote:

>
> Hi all,
>
> I am working for a videoconferencing project and one of its constraints is about sending VGA RAW YUV 4:2:0 video (which should be possible with the Gigabit Ethernet card).
> Some time ago I developed two plugins for myself to do this functionality. The thing is that they did not work well at all and two weeks ago I realized that those functionality had been developed for gst-plugins-good-0.10.11. These plugins are rtpvrawpay and rtpvrawdepay.
> The thing is that if I connect two computers with a cross-over ethernet wire (which was necessary for my old plugins) and I send raw VGA video from one to another, the bottom of the image is not shown as it should in case there is something moving. The top of the image is perfectly shown althought there is something moving.
> Those are my pipelines:
>
> gst-launch -v v4l2src !  video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace ! rtpvrawpay ! udpsink port=10006 host=192.168.1.3
>
> gst-launch udpsrc port=10006 ! application/x-rtp,media=video,clock-rate=90000,encoding-name=RAW,sampling=YCbCr-4:2:0,depth=8,width="(string)640",height="(string)480",colorimetry=SMPTE240M,payload=96,ssrc=3409483067,clock-base=2404041028,seqnum-base=9661 ! rtpvrawdepay ! video/x-raw-yuv,width=640,height=480 ! ffmpegcolorspace ! xvimagesink
>
> Is there something bad?
> On the other hand, if I try with a 320x240 resolution it works perfectly.

Raw video has super high bandwidth requirements, you're likely just
flooding the internal udp buffers. Some smoothing of the timestamps on
the sender side might improve things. This could be added to the
payloader.

Wim

>
> As those plugins are quite new I have not found many information about them, so any help would be very useful.
>
> Thanks in advanced
>
>
> -------------------------------------------------------------------------
> 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