[FFmpeg-user] ffmpeg, udp and the mtu being <1500 bytes...

Georgi Chorbadzhiyski gf at unixsol.org
Tue Sep 2 10:44:48 CEST 2014


On 08/31/2014 01:42 PM, Michael Fritscher wrote:
> I've the problem that ffmpeg insists on creating 1500 byte packets when
> directing to stream via plain udp. This is a problem when streaming over
> DSL-lines or over VPNs which limit the packet size to a value of 1472
> bytes (DSL with PPPoE) or even less (many VPN solutions). Is there a way
> to tell ffmpeg to produce smaller packets?

You can use "pkt_size" option when using udp as output (I don't know why it
is not the default).

ffmpeg -i xxxx ....... udp://xx.xx.xx.xx?pkt_size=1316

-- 
Georgi Chorbadzhiyski | http://georgi.unixsol.org/ | http://github.com/gfto/


More information about the ffmpeg-user mailing list