Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video webserver #23

Open
Ameb opened this issue Apr 19, 2020 · 5 comments
Open

Video webserver #23

Ameb opened this issue Apr 19, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@Ameb
Copy link

Ameb commented Apr 19, 2020

It would be cool to optionally run a webserver on the host machine, similar to srvfb. This will allow to use reStream on Windows, or share the video on LAN (or even over the internet).

@rien rien added the enhancement New feature or request label Apr 19, 2020
@rien
Copy link
Owner

rien commented Apr 19, 2020

Good idea! You're always welcome to look for a way to implement this and create a PR. I think ffmpeg will probably be able to create a video stream. So maybe this just needs the right ffmpeg paramters?

@rien rien changed the title [Feature Request] Video webserver Video webserver Apr 19, 2020
@fmagin
Copy link

fmagin commented Apr 23, 2020

I think a webserver like srvfb would be fairly overkill, but ffmpeg can just output a video stream in typical formats. The main issue will be getting an ffmpeg binary that is optimized to work on the reMarkable by using NEON instructions (the one in entware doesn't).

This would be cool for Linux too, because it would allow a .socket service like srvfb, so you can just point whatever videoplayer to your reMarkable IP, and it will start the stream and should stop it when the videoplayer disconnects

@rien
Copy link
Owner

rien commented Apr 23, 2020 via email

@fmagin
Copy link

fmagin commented Apr 23, 2020

I would expect ffmpeg to allow configuring the encoding of the live video stream, and just allow "raw" at worst. My intuition is that surely there is some encoding that works as at least as well as the lz4 scheme and implementation that is used currently.

The fact that ffmpeg is probably optimized for reading out the frame buffer efficiently should also be taken into account.

@rien
Copy link
Owner

rien commented Apr 23, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants