[FFmpeg-user] -threads option has no effect
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Aug 12 14:49:37 CEST 2014
Claudiu Rad-Lohanel <jazzman <at> misalpina.net> writes:
> > $ ffmpeg -threads 1 -i input -threads 1 ... output
> however i am inclined to think that decoder/encoder
> are independent in this matter, thus, one thread
> would go for decoding, one for encoding
My point was that it is possible that when you set
one thread for encoding but the encoder is still
very fast and leave the number of decoding threads
at its default value of "0", then your process
would could still use all CPU time available on
all available cores (for example for h264 decoding).
Carl Eugen
More information about the ffmpeg-user
mailing list