[FFmpeg-devel] [PATCH] ffmpeg: fail on experimental encoders if -strict > experimental

Janne Grunau janne-ffmpeg
Wed May 26 09:36:24 CEST 2010


On Tue, May 25, 2010 at 05:15:50PM -0700, Baptiste Coudurier wrote:
> On 05/25/2010 05:08 PM, Michael Niedermayer wrote:
> > On Wed, May 26, 2010 at 12:48:00AM +0200, Janne Grunau wrote:
> >> Hi,
> >>
> >> not sure if I'm abusing -strict too much. Even the exprimental encoders should
> >> produce standard compliant output.
> >>
> >> Depends on the CODEC_CAP_EXPERIMENTAL patch
> 
> We might want to add a note for people using -acodec vorbis to use 
> -acodec libvorbis.

If it's ok to print that only if the libvorbis encoder is available it's
simple. Use the codec id of the experimental codec and see if
avcodec_find_de|encoder returns a non-experimental codec.

Janne



More information about the ffmpeg-devel mailing list