[FFmpeg-trac] #2748(avformat:new): Inconsistent UDP output packet size
FFmpeg
trac at avcodec.org
Thu Jul 4 01:45:20 CEST 2013
#2748: Inconsistent UDP output packet size
-------------------------------------+-------------------------------------
Reporter: lancey | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-
Keywords: pkt_size | master
packet size | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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://239.1.2.3: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.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2748>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list