disable libav threads, memory is growing rappidly with threads depending on the number of cores available