Low FPS with rtpgstpay and udpsink
Mark Howell
mark-sub1 at hypgnosys.org
Tue Oct 13 11:30:06 PDT 2015
Hamdi, it might just be network. Since the video you are sending is raw,
you can expect the bit rate to be 1088 h * 1000 v * 8 bits/pixel * 40
fps = about 350 Mbps without any packaging overhead. That won't all fit
in a 100 Mbps net link ("Fast Ethernet"), and may not play well even on
a 1 Gbps network.
Try encoding/compressing the video before putting it on the network?
Cheers,
Mark.
On 10/13/2015 10:25 AM, Hamdi Rakkez wrote:
> Hi list,
>
> I'm using gstreamer-1.5.90 on ubuntu 14.04.
>
> I want to stream a raw-GRAY8(1088X1000) video over the network.
>
> The two PCs are connected directly (no routers, no switches) with a
> Fast Ethernet (RG45) wired connection.
>
> Here's the streaming pipeLine :
>
> gst-launch-1.0 videotestsrc pattern=ball ! video/x-raw, format=GRAY8,
> width=1088, height=1000, framerate=40/1 ! rtpgstpay mtu=65000 ! queue
> ! udpsink host=Recipient_ip_Address port=5000
>
> Here's the recipient PipeLine :
>
> gst-launch-1.0 udpsrc port=5000 caps="application/x-rtp,
> media=(string)application, clock-rate=(int)90000,
> encoding-name=(string)X-GST,
> caps=dmlkZW8veC1yYXcsIGZvcm1hdD0oc3RyaW5nKUdSQVk4LCB3aWR0aD0oaW50KTEwODgsIGhlaWdodD0oaW50KTEwMDAsIGZyYW1lcmF0ZT0oZnJhY3Rpb24pMC8xLCBibG9ja3NpemU9MTA4ODAwMAo,
> payload=(int)96" ! rtpgstdepay ! fpsdisplaysink sync=false -v
>
> The problem is the low *fps* that I am having in the reception PC. (I
> should have a 40 fps but I am barely having 16 fps)
>
> Can anyone tell me what I am doing wrong here.
>
> Thank you.
>
> Best Regards,
> Hamdi
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151013/d013c2c1/attachment.html>
More information about the gstreamer-devel
mailing list