Unless all you do all day is taking screen captures of what you are watching, I wouldn’t recommend using double_write_mode, as it degrades picture quality due to compression.
Screenshots can be useful for a variety of uses, whether regular or occasional.
From where I sit though, there are now 2 options to use dependent upon the trade off in picture degradation against having a working option, so having a choice is a step forward pending any form of final solution further on down the line.
I think this is due to the fact that there is no way to synchronize between when the capture occurs and weather or not the amvideocap0 buffer is completely full of data.
I wrote this script that basically replicates the capture code Kodi uses but in python, it preforms 3 captures one after the other, guaranteeing that the last one will contain a full frame of data.
Give it a go if you want. As an added bonus it captures just the video frame, no GUI overlaid on top.
Sole script.amlogic.framecapture.zip also don’t work (gives above image too).
Update: it looks like it works for some shows but screenshotting x265 4:3 Star Trek: Voyager
consistently results in garbage.
Changing double_write_mode to 1 or 3 results in glitches.
Changing double_write_mode to 3 and
using script.amlogic.framecapture.zip results in screenhots
but they are low resolution and sometimes have a visible artifact in top right corner.
Setting double_write_mode to 1 and using above script crashes Kodi for me.
Is there some way to restore working screenshots like in older CoreELEC releases?
After more testing of script.amlogic.framecapture.zip errors seem random.
I got one proper screenshot from 4:3 x264 Star Trek Voyager but garbage from The Flash x265
So many dunk memes lost cuz screenshots stopped working correctly.
Dunk memes were the most important feature of CoreELEC.
Santa wants dunk memes back!
“Unless all you do all day is taking screen captures of what you are watching, I wouldn’t recommend using double_write_mode, as it degrades picture quality due to compression.”
I literally can’t tell any difference in picture quality when setting 2 in double write for h265 or vp9.
Tested on many h265 shows (cuz I don’t have a fast net and this encoding is much smaller). I assume the degraded quality issue depends on the hardware and S905X is somehow not affected.
Though screenshots still have black stairs in the corner so went back to defaults anyway.