Le sextidi 26 vendémiaire, an CCXXVI, Tobias Rapp a écrit : > This commit seems to break transcoding of some input files on machines with > a lot of CPU cores. See attached script that reproduces the problem > ("-threads 32" is used to simulate the situation of a multi-core CPU). > > Sorry for noticing late but it took me some time to track down the problem > and git bisecting it. The issue seems to be triggered by the high number of > audio packets in the input file (~375 packets per second). Input files that > have a lower audio packet rate work fine.
Thanks for reporting. I fear this will be tricky to debug. I think the change you have tracked cannot be the cause of the issue, since it does not touch anything related to threading. What this change does, on the other hand, is increase the efficiency of the scheduling in lavfi. That can cause more work for filters that do use threading, and reveal a race condition there. I do not have access to a 32-core system. Can the problem be reproduced with your script with just "-threads 32" without such a system? How ofter does it manifest? Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel