![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
Fast video on eink using A2 with 1 bit depth with shades
I had an idea, since A2 mode has a pretty good fps, it could be used to watch videos which have been converted to 1 bit color depth with "varying black pixel density" to retain the shading. Help me in implementing it.
Let me explain: If * is a black pixel and " " is a white pixel, ******** is pure black ** ** ** is a lighter black * * * * * is grey * * * * is whiter grey is white. way i able to explain properly ? This was done a while back in printing. This was seen in MS Paint if the color depth was low. I dont know what it is called, or if there is any tech to achieve this conversion. I have googled but didnt find anything. So help me... Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
Search term: Dot mosaic
watch this video in A2 https://m.youtube.com/watch?v=75WaK2Y8fXo Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#3 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,596
Karma: 315126578
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
What you're describing is a halftone. There's a lot of work on the best way to convert still images into halftones, but I don't know if there's much on converting video (where obviously you don't want large changes from frame to frame in how the image is represented as a halftone).
See the Wikipedia articles on halftone and error diffusion Last edited by pdurrant; 01-12-2018 at 04:50 AM. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
Search halftone. Cant find a halftone video.
Maybe: video>frames>halftone frames>video Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
watch this in A2:
https://m.youtube.com/watch?v=9ArqfF4zvTQ VurtuakDub has a halftone filter. will try that out and post results. Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#6 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
You know how videos are played in current Onyx devices - and without any need for conversion -, right? |
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
In case you are making reference to old devices which implemented A2 rendering through a threshold function, the term you are looking for is "dithering": you have to preprocess the clips through a dithering function after scaling them to dimensions as big as the screen.
But note that this is very legacy: current devices already implement A2 rendering through dithering - natively, by default and without any need for pre-processing. Last edited by mdp; 01-12-2018 at 06:51 AM. |
![]() |
![]() |
![]() |
#8 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
On my device, the blacks are solid black, and whites are solid white. Maybe I have the older device.
I looked into dithering, but I found frequency modulated halftone to be what I was looking for. Tomorrow, I will convert videos to dithered and halftone and test the results. (So newer devices have this inbuilt ? That must be great / almost perfect for watching videos) Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
@mdp ...and is there a way to enable the A2 dither mode in my device ? Or some app that does something similar ? Just wondering...
Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#10 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
Check the screenshots and movie clip posted at: https://www.mobileread.com/forums/sh...&postcount=293 they are from VLC playing videos, unmodified. Did you see them? Quote:
if pixel>GREY then return WHITE else return BLACK Easy and fast - of course, it's also naive. Quote:
You could remember the term from graphics processing software and interfaces relevant to palettes - e.g. conversion to fewer colours, GIF, etc. It was more frequent when we had less colours... I would have guessed that a 2017+ firmware may have implemented the feature... I am pretty sure it is in the firmware, not in the hardware. |
|||
![]() |
![]() |
![]() |
#11 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
For fun, you could also try a renderer in ASCII-art ; )
|
![]() |
![]() |
![]() |
#12 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46
Karma: 979
Join Date: Sep 2017
Device: Kindle 7
|
Results of my testing:
Dithering produces the best results. Almost like the clip you posted. Resize> greyscale> dither filters. (reduce fps) But an hour long video exceeds 4- 5GBs. And compressing it removes the dither artifacts, defeating the purpose. Hence this technique is not usuable for watching long videos, unless this is done on the fly as on your device. Halftone does not give good results. Hope Dithered A2 update is released for C67ML. Sent from my C67ML_Carta using Tapatalk |
![]() |
![]() |
![]() |
#13 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
You should write a plugin for VLC (or any other good player), that translates blocks of colour into dithered blocks. Not different from a real-time ASCII-art renderer (instead of punctuation you have differently dense salt-and-pepper rectangles). Funny I mentioned it earlier. There should be a few ASCII-art plugins around, so one could just modify a good one - to get a quick hack that does its job. Of course, a good implementation on a firmware would be great. MaxCarta and Max2 have it. And it is a more effective impiementation than the one I described here, in general. EDIT: I am not sure that VLC for Android has plugins. Probably ExoPlayer is the good one. Last edited by mdp; 01-17-2018 at 05:38 AM. |
|
![]() |
![]() |
![]() |
#14 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 249
Karma: 7162
Join Date: Dec 2017
Device: Wexler Flex One, NookST, n96ml+
|
Quote:
https://youtu.be/OxsTRup3Z80 |
|
![]() |
![]() |
![]() |
#15 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
|
Quote:
To see video as played on the Max2, check the thread I just opened: Video on the Max2. In the past, we measured it as 4fps - with old devices; the Max2 can do at least around 6-and-a-half fps. The numbers alone can be misleading, so check the effect. I am not showing dynamic clips because I do not believe that is the correct medium - whereas I see the use for didactic material and I from time to time exploit it. Last edited by mdp; 02-03-2018 at 03:24 AM. Reason: Corrected partial information |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone performance tested the calibre 32bit vs 64 bit on Windows 7 32 bit & 64 bit? | millan | Devices | 6 | 11-07-2014 05:03 PM |
A bit disappointed with writing on Eink | thinredline | enTourage eDGe | 13 | 10-07-2011 01:53 AM |
Video: PocketBook 903 Pro, with fast scribble firmware | Charbax | News | 4 | 09-14-2010 03:49 PM |
Request Reverse Video on EInk side | brauckmiller | enTourage Archive | 6 | 04-09-2010 11:41 PM |