Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 01-12-2018, 04:02 AM   #1
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 04:14 AM   #2
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 04:46 AM   #3
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
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.
pdurrant is offline   Reply With Quote
Old 01-12-2018, 04:48 AM   #4
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 05:19 AM   #5
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 06:34 AM   #6
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by utkarshj View Post
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.
Sorry: how is that better than what we already have - the dithering as implemented by Onyx?
You know how videos are played in current Onyx devices - and without any need for conversion -, right?
mdp is offline   Reply With Quote
Old 01-12-2018, 06:47 AM   #7
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
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.
mdp is offline   Reply With Quote
Old 01-12-2018, 11:30 AM   #8
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 11:48 AM   #9
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-12-2018, 01:53 PM   #10
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by utkarshj View Post
(So newer devices have this inbuilt ? That must be great / almost perfect for watching videos)
Mentioned many times.

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:
Originally Posted by utkarshj View Post
On my device, the blacks are solid black, and whites are solid white.
That's threshold. It's very easy:
if pixel>GREY then return WHITE else return BLACK

Easy and fast - of course, it's also naive.

Quote:
Originally Posted by utkarshj View Post
I looked into dithering, but I found frequency modulated halftone to be what I was looking for.
When a naive rendering would give homogeneous bands but the idea is to render a gradient, so you have to gradually mix the two, that's dithering.
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...

Quote:
Originally Posted by utkarshj View Post
and is there a way to enable the A2 dither mode in my device
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.
mdp is offline   Reply With Quote
Old 01-12-2018, 01:58 PM   #11
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
For fun, you could also try a renderer in ASCII-art ; )
mdp is offline   Reply With Quote
Old 01-17-2018, 01:37 AM   #12
utkarshj
Enthusiast
utkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-booksutkarshj has learned how to read e-books
 
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
utkarshj is offline   Reply With Quote
Old 01-17-2018, 04:10 AM   #13
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by utkarshj View Post
But an hour long video exceeds 4- 5GBs. And compressing it removes the dither artifacts, defeating the purpose.
You attacked the problem from the losing side, and I did not realize it.
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.
mdp is offline   Reply With Quote
Old 01-27-2018, 09:06 PM   #14
Waiting4somethin
Addict
Waiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the roughWaiting4somethin is a jewel in the rough
 
Posts: 249
Karma: 7162
Join Date: Dec 2017
Device: Wexler Flex One, NookST, n96ml+
Quote:
Originally Posted by utkarshj View Post
I had an idea, since A2 mode has a pretty good fps, it could be used to watch videos
Sent from my C67ML_Carta using Tapatalk
How fast is the FPS, is it as smooth as in this video (after he turns phone over to the eink side)??

https://youtu.be/OxsTRup3Z80
Waiting4somethin is offline   Reply With Quote
Old 01-28-2018, 01:17 PM   #15
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by Waiting4somethin View Post
How fast is the FPS, is it as smooth as in this video
[a Yotaphone 2]
It looks to me (rough measurements, the video is emotional and the phone holder could not take it and shook like a willow) like 8fps, which means 125ms/frame so it reached the limit of A2 speed on EPD (as I know it). Very nice.

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
mdp is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:41 PM.


MobileRead.com is a privately owned, operated and funded community.