[FFmpeg-devel] [PATCH]Warn if cbr and threads > 1 is used for jpeg encoding

Michael Niedermayer michaelni at gmx.at
Wed Dec 18 02:22:26 CET 2013


On Tue, Dec 17, 2013 at 11:37:38PM +0000, Carl Eugen Hoyos wrote:
> 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?

i meant the thread count

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131218/6c2e8e0c/attachment.asc>


More information about the ffmpeg-devel mailing list