[FFmpeg-devel] [PATCH] move set_context_opts call for video encoders to fix ... (was: Re: strict experimental)
Carl Eugen Hoyos
cehoyos
Sat Sep 25 11:30:42 CEST 2010
Janne Grunau <janne-ffmpeg <at> jannau.net> writes:
> yes, strict_std_complience is only set after the find_codec_id_or_die
> call for video encoders. see attached patch for a possible fix.
(with your patch and rv20 capabilities set to CODEC_CAP_EXPERIMENTAL)
./ffmpeg -strict experimental -i tests/lena.pnm -strict experimental -vcodec
rv20 -strict experimental test.rm -strict experimental
FFmpeg version SVN-r25162, Copyright (c) 2000-2010 the FFmpeg developers
built on Sep 24 2010 12:35:08 with gcc 4.4.4
configuration: --cc=/usr/local/gcc-4.4.4/bin/gcc
libavutil 50.27. 0 / 50.27. 0
libavcore 0. 9. 0 / 0. 9. 0
libavcodec 52.89. 0 / 52.89. 0
libavformat 52.78. 5 / 52.78. 5
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.39. 0 / 1.39. 0
libswscale 0.11. 0 / 0.11. 0
Input #0, image2, from 'tests/lena.pnm':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
encoder 'rv20' is experimental and might produce bad results.
Add '-strict experimental' if you want to use it.
Carl Eugen
More information about the ffmpeg-devel
mailing list