[FFmpeg-devel] [PATCH 3/4] ffmpeg: with filter_complex, avoid random in<->out mapping.
nicolas.george at normalesup.org
Mon Jun 4 08:25:42 CEST 2012
Le septidi 17 prairial, an CCXX, Michael Niedermayer a écrit :
> ffmpeg -i matrixbench_mpeg2.mpg -filter_complex null test.avi
> failing with:
> timebase 1/90000 not supported by MPEG 4 standard, the maximum admitted value for the timebase denominator is 65535
Indeed, and that is to be expected. OTOH, the current behaviour, or the one
you suggested, break, differently, on something like that:
ffmpeg -i matrixbench_mpeg2.mpg -filter_complex 'setpts=2*PTS' test.avi
Using -filter_complex is, inherently, complex. The code I propose to remove
only works in the simplest of cases. In fact, mostly in the cases where
complex filters are useless.
More information about the ffmpeg-devel