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

ffmpeg output is distorted (vertical lines) #97

Closed
kareiva opened this issue Sep 11, 2023 · 7 comments
Closed

ffmpeg output is distorted (vertical lines) #97

kareiva opened this issue Sep 11, 2023 · 7 comments

Comments

@kareiva
Copy link

kareiva commented Sep 11, 2023

I was using the reStream on a weekly basis and without any changes to the settings/code, the output became garbled.

restream ffmpeg

Host is Fedora release 38 (went from beta to GA over a few dnf upgrades)

I am currently at 3862d9c and using the below:

$ ffmpeg -version
ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 13 (GCC)
@Eeems
Copy link

Eeems commented Sep 11, 2023

What OS version is the device?

@kareiva
Copy link
Author

kareiva commented Sep 11, 2023 via email

@Eeems
Copy link

Eeems commented Sep 11, 2023

This is likely a duplicate of #95

@kareiva
Copy link
Author

kareiva commented Sep 11, 2023 via email

@kareiva
Copy link
Author

kareiva commented Sep 12, 2023

Thanks! I think it was the pixel format in the first place that was causing the issue.

I have tuned my options to the below:

bytes_per_pixel=2
pixel_format="gray16be"
video_filters="curves=all='0/0 0.19/1 1/1',transpose=0"

Now, just a small leftover:
transposing with a flip makes the landscape mode turn to left, not to right as documented.

@FloranMartin
Copy link

Hello,
I got similar issue on Remarkable 2 - version 3.6.1.1894
It was solved with

In the header part of the code
line 15 : video_filters = "vflip"

In the part which check the remarkable 2 version
line 146: width = 1872
line 147 : height = 2808
line 148 : bytes_per_pixel = 1
line 150 : pixel_format="grey12be"
line 151 : video_filters = "$video_filters",transpose=2"

In my case the grey12be was cleaner but feel free to try out the available format in the list (ending by be is nicer than le).

One remaining minor issue is that the stream is duplicated into two vertical windows but resizing the app window works just fine to remain lazy enough.

@rien
Copy link
Owner

rien commented Jan 9, 2024

This should be fixed in the latest release by #100. Let me know if you encounter any additional issues.

@rien rien closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants