Inconsistent UDP output packet size
|Reported by:||Doychin Dokov||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
When outputting MPEG-TS to UDP and using the pkt_size option, ffmpeg does not produce output with constant packet size - instead, the option is used as a limit of maximum packet size. When looking at the sources, it's indeed a max packet size, but the docs just say "Set the size in bytes of UDP packets" - which is also the expected behavior according to me. Other software producing MPEG-TS over UDP/TCP (e.g. vlc, multicat, etc.) also behaves like that - output is constant packet-sized.
Happens not only when transcoding, but when copying a stream as well.
How to reproduce:
% ffmpeg -i input.ts -c:v copy -c:a copy -f mpegts udp://18.104.22.168:1234?pkt_size=1316 ffmpeg version N-54435-g4943eff built on Jul 3 2013 23:19:37 with gcc 4.7 (Debian 4.7.2-5)
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (21)
comment:1 by , 8 years ago
|Component:||avformat → documentation|
|Keywords:||mpegts udp added; pkt_size packet size removed|
|Priority:||normal → minor|
|Status:||new → open|