Skip to content

What are the limitation in encodings/protocols ? #156

Answered by svpcom
Doreapp asked this question in Questions
Discussion options

You must be logged in to vote

There are two problems MJPEG:

  1. With raw udpsink (without) RTP is produces udp packet with size >> card mtu (1500). UDP over IPv4 can split large packets into fragments, but WFB send them as-is and shrinks and/or drops large packets
  2. With RTP MJPEG can work, but its bandwidth is greater that WFB wifi link bandwidth (in my test with laptop camera in 640x480 it is ~ 10mbit/s but WFB link limit for MCS#1 modulation is ~6mbit/s)
$ gst-launch-1.0 -v v4l2src device=/dev/video0 io-mode=2 ! image/jpeg, width=640, height=480, framerate=30/1 ! rtpjpegpay ! udpsink host=127.0.0.1 port=5600
...
$ nc -l -u 5600 | pv > /dev/null
46MiB 0:00:07 [1007KiB/s] [                <=>                       ]

ODr…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@svpcom
Comment options

@Doreapp
Comment options

@Doreapp
Comment options

@svpcom
Comment options

Answer selected by Doreapp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants