Comments (5)
Please go ahead and experiment with this. There is already an issue (#14) where we are discussing possible improvements, so please join us there with your findings.
from restream.
What do you mean with 'sampling the framebuffer'? Do you want to make the compression lossy? Or throw away the unneeded color information?
from restream.
I pulled the framebuffer to a file last night and played with dd trying to selectively grab parts of the file. with a bs of 1 it took about 8 seconds to grab the file so my idea for using seek and skip won't work. Currently it is grabbed in one go i can see, and with the code i got a 5mb image. Photoshop can open if you help it out and it is indeed the screen.
But yeah, throw away the colour information was my late night idea!
from restream.
We also read the first 1408 * 1872 * 2 bytes (width * height * 2 byte per pixel), there are a lot null bytes after that.
You could try researching the difference between the two color schemes (grey16le and rgb565le). If we can just throw away every other byte for example that would be great!
I'm a bit hesitant in writing custom binaries for this because that would complicate the setup further.
from restream.
I'm with you on the binaries.
I also, when not specifying certain parameters, got what looked like a blank screen worth of null bytes.
I'm thinking le is lower endian? so we have 16 bits to encode the grayscale. I was thinking could we not drop some info here, 1bit monochromatic. We could still pop it through gzip afterwards, though as the page builds up we would have diminishing returns on that.
from restream.
Related Issues (20)
- Scrambled, dark picture rendering HOT 4
- restream never shuts down on the reMarkable HOT 1
- Consider GitPack support for easier installation HOT 1
- lz4 Error 44 HOT 6
- grabbing a single frame as CLI argument or image fileformat HOT 1
- OpenSSH 8.8 ssh-rsa problem HOT 1
- Error when running reStream.sh HOT 3
- 1.2.0 not fully released HOT 2
- Output is only a black image HOT 4
- Use a persistent SSH connection HOT 3
- Output is only a white image HOT 2
- Output is blank HOT 14
- Blank window HOT 1
- Suggestion: Set Source IP via Environment Variable HOT 2
- ReMarkable software update 2.12.1.527 breaks reStream HOT 3
- Streamed video is too dark, recordings are corrupted HOT 14
- reMarkable build 3.6.0.1806 changes HOT 11
- Also having a black screen HOT 7
- ffmpeg output is distorted (vertical lines) HOT 7
- [email protected]: Permission denied (publickey,password). HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restream.