Quote:
Originally Posted by NiLuJe
@tshering: I'm fairly certain this won't be that useful compared to the upstream version since Kobo uses 16bpp fb, but here's the tweaked version I came up with to handle the whole range of weird Kindle fbs
(If you do end up needing to tweak the code, I'd be happy to merge those changes).
|
Thank you! It is nice that fbgrab outputs already a usable format. Monochrome is also nice for some purposes. The main problem is that nickel changes the fbsettings and this seems to be a problem that we might want to address. I myself do not know sufficiently about fb and graphic formats to do the necessary changes.
Without nickel running the settings are:
Code:
[root@(none) ~]# fbset
mode "800x600-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 800 600 800 1280 16
timings 0 0 0 0 0 0 0
accel false
rgba 5/11,6/5,5/0,0/0
endmode
With nickel running:
Code:
[root@(none) ~]# fbset
mode "600x800-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 600 800 608 1792 16
timings 0 0 0 0 0 0 0
accel false
rgba 5/11,6/5,5/0,0/0
endmode
I attach two screenshots made with fbgrab, and two of the same screens with cat /dev/fb0 and conversion with ffmpeg.
I do not know about the other models, but on the Kobo Touch I need to convert the screenshots of Kobo Start Menu applications with -s 800x600; and the screenshots of nickel with -s 608x800, I have additionally to cut off the 8 pixel on the right border (-vf crop=600:800:0:0).