[FFmpeg-devel] [PATCH] lavf/flvenc: fail in case the muxed packet is too big

Stefano Sabatini stefasab at gmail.com
Mon Nov 3 00:35:58 CET 2014


On date Monday 2014-11-03 00:32:04 +0100, Stefano Sabatini encoded:
> Avoid the creation of files which cannot be successfully decoded by
> ffmpeg, for example generated with:

> ffmpeg -f lavfi -i sine -af "aselect='not(between(t,100,500))',aresample=min_comp=0.001:min_hard_comp=0.100000" -acodec pcm_s16le -t 1000 -y out_audio.flv

BTW I wonder if we should tweak aresample to generate smaller packets,
my current workaround is to add asetnsamples after aresample.
-- 
FFmpeg = Fanciful & Foolish Moronic Problematic Ecstatic Guru


More information about the ffmpeg-devel mailing list