Am 12.08.2014 um 12:56 schrieb Rohit Talwar: > Thanks for looking into my query. I have a main java program within which I > run ffmpeg (using exec). Often there comes a scenario wherein my program > needs to create 4+ different instances of ffmpeg program for converting > files into different formats. When this happens the cpu gets 'too busy' > running the ffmpeg instances which affects the performance of my java > program. > I think lowering the priority(using nice or start /LOW ) of the ffmpeg > process might be a possible strategy to solve this, but would be glad if > you can help me point towards a platform independent solution
you missed the most important part wrong: ffmpeg -threads <number of threads> -i <my file.avi> correct: ffmpeg -i <my file.avi> -threads <number of threads> params before "-i" are for the inout file / decoder
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user