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

wm4 nfxjfg at googlemail.com
Mon Nov 3 01:18:05 CET 2014


On Mon, 3 Nov 2014 00:35:58 +0100
Stefano Sabatini <stefasab at gmail.com> wrote:

> 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.

Why should filter output sizes have anything to do with packet sizes?


More information about the ffmpeg-devel mailing list