[Libav-user] How to restrict ffmpeg-libav to exactly one thread?

Goran sendmailtogoran at gmail.com
Fri Mar 18 12:50:21 CET 2016


Hi, I'm trying to decode a big bunch of videos on many core machines.
For every core (N cores) my program starts a thread and takes one
video. While the program is running I wanna have exactly N threads, no
more no less. If I measure the count of threads I get something around
1000 threads! How can I restrict ffmpeg-libav once and for all to one
thread?

Regards
Goran


More information about the Libav-user mailing list