friction2d / friction

Friction Graphics
https://friction.graphics
GNU General Public License v3.0
233 stars 12 forks source link

Issues with > 16 threads and ffmpeg (x264) #128

Closed rodlie closed 6 months ago

rodlie commented 6 months ago

Friction is unusable with > 16 threads due to issues with ffmpeg:

[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1eace10c0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1eace10c0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f2480740] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f2480740] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1e24ba740] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1ead16400] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1ead16400] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f37aa840] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f25cc040] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f25cc040] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f38a49c0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f38a49c0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f38a49c0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f38a49c0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f398e780] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1eaeb12c0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1eaeb12c0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f374e300] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f2d77840] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f2d77840] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f3258980] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f3258980] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1e24b7e40] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1e24b7e40] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f3096bc0] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1e24b84c0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1e24b84c0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f2670140] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29dafc0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29dafc0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d7080] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d7080] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d9cc0] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d9cc0] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f50dd880] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d9040] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d9040] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[h264 @ 000001f1f3099040] Application has requested 31 threads. Using a thread count greater than 16 is not recommended.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d7080] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001f1f29d7080] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.

Only tested on Windows 10 with a Threadripper.