Commit 0360669
AV1 codec shouldnt have threaded readers. (#505)
I noticed that if you have an AV1 file, you need to set the threads to
1, to playback properly without stuttering.
e.g. compare:
rv.exe -debug playback -fps 30 -playMode 2
chimera_cars_srgb-test_mp4-libsvtav1-10bit.mp4 -rthreads 4 -play
to
rv.exe -debug playback -fps 30 -playMode 2
chimera_cars_srgb-test_mp4-libsvtav1-10bit.mp4 -rthreads 1 -play
It seems like av1 is missing from the slowRandomAccessCodecsArray array.
Changing this seems to improve things. Athough with the above debug
enabled, I'm still seeing lines like:
PATTERN FAIL #15 : 3 1 2 2 2 2 3 2 1 2 // frame = 83 (83)
PATTERN FAIL #16 : 2 3 1 2 2 2 2 3 2 1 // frame = 84 (84)
Which I'm guessing is not good. But that might be something else.
Signed-off-by: Sam Richards <[email protected]>
Co-authored-by: Bernard Laberge <[email protected]>1 parent 7506003 commit 0360669
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
610 | | - | |
| 610 | + | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
| |||
0 commit comments