rien / reStream

Stream your reMarkable screen over SSH.
MIT License
748 stars 58 forks source link

Possibility to zoom in in portrait mode #25

Closed huijunchen9260 closed 4 years ago

huijunchen9260 commented 4 years ago

Do you think is it possible to zoom in portrait mode?

Now I tend to use portrait mode, but somehow people will say that the screen is too small if I wrote smaller.

But I guess it is probably difficult in just POSIX sh...?

Screenshot that probably what why want (by rmview) image

Screenshot that people complains: image

rien commented 4 years ago

Hi there! That's definitely possible. You could zoom in by changing the height parameter to a smaller value (e.g. to 792 for an ideal 16/9 aspect ratio). You can find this parameter on line 74 in the script. However, this will throw away the bottom 2/3 of you screen, which is not ideal.

huijunchen9260 commented 4 years ago

Yeah, the ideal way is to zoom in and zoom out instantaneously. Does it possible for ffmpeg to achieve such work?

rien commented 4 years ago

ffplayis able to cycle trough video filters with w, so I think it should be possible. But I don't know by hearth how you could achieve this. Ffmpeg's manpage or documentation website would be good place to search for how to do this.

If you find a way, please report back so other people can also use your solution.

rien commented 4 years ago

@huijunchen9260 have you found a solution for your issue?

huijunchen9260 commented 4 years ago

No. It turns out that I just use rmview.