[FFmpeg-devel] [PATCH]Warn if cbr and threads > 1 is used for jpeg encoding
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Dec 18 00:37:38 CET 2013
Michael Niedermayer <michaelni <at> gmx.at> writes:
> > + av_log(avctx, AV_LOG_WARNING, "JPEG CBR encoding
> > works badly with more than one thread, "
> > + "consider using -threads 1 or a constant
> > quantiser\n");
> it should work with slice threads,
Yes, it does.
> just frame threads maybe dont work
It fails badly;-(
> also disabling frame threads in case no explicit
> threads is specified might be nice
How would that work?
The default for thread_type is frame + slice,
so how can libavcodec detect if it was explicitely
specified or not?
More information about the ffmpeg-devel