[FFmpeg-devel] [PATCH] libavformat/udp: add options send_pkt_size for udp over ip, for ts over ip, this value must be 1316(7*188)

Marton Balint cus at passwd.hu
Mon Apr 8 19:29:43 EEST 2019



On Mon, 8 Apr 2019, edward_email wrote:

> From: “Edward.Wu” <“edward_email at 126.com”>
>
> Signed-off-by: “Edward.Wu” <“edward_email at 126.com”>
> ---
> libavformat/udp.c | 45 ++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 44 insertions(+), 1 deletion(-)

Why is this patch needed at all? If you want fixed packet size, you simply 
use -pkt_size 1316 -flush_packets 0.

Regards,
Marton


More information about the ffmpeg-devel mailing list