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

Black screen after each image #2051

Open
AchimPieters opened this issue Sep 4, 2024 · 12 comments
Open

Black screen after each image #2051

AchimPieters opened this issue Sep 4, 2024 · 12 comments
Labels

Comments

@AchimPieters
Copy link

Overview of the Issue

After uploading, everything works, but between the images the screen turns black (flickers) and shows the next image? How to resolve this, so the images appear smoothly and disappear smoothly, without the black screen (and flickering)

Reproduction Steps

Steps to reproduce this issue:
Uploaded two images of 1.150Kb with the size of 3840x2160px in .jpg format.

Environment

  • Raspberry Pi Hardware Version: Raspberry Pi 4 Model B Rev 1.5 (8GB)
  • Raspberry Pi Network Setup: Wi-Fi
  • Anthias Version: v0.18.8 [Latest]
@nicomiguelino
Copy link
Contributor

@AchimPieters, does the issue occur when smaller images (for example, approximately 1920x1080px or 1280x720px) are used?

@AchimPieters
Copy link
Author

@nicomiguelino Thank you for your reply. Yes, it occurs also in other settings like 1920x1080px or 1280x720px (tested).

@nicomiguelino
Copy link
Contributor

Thanks, @AchimPieters. We're still assessing various solutions for the problem. We'll keep you posted. Changes are likely to be made on the C++ code. Open-source contributions are always welcome.

@Slow-Learner-1
Copy link

I've had the same problem on a Pi 4 and 3B+ running Bookworm OS lite. I've found that if I convert my image files from .jpg to .png the transition between images is much smoother.

@vseven
Copy link

vseven commented Oct 2, 2024

I've found that if I convert my image files from .jpg to .png the transition between images is much smoother.

Thanks for this. I was having what I thought was this same problem with a very simple two JPG and a MP4. I converted the JPG's to PNG's and then I also saw that the person who updated it named the MP4 as file.mp4-1 for some reason (maybe duplicate file on their computer). After converting the two files and renaming the video file the blinking/black screen issue went away.

It was driving me crazy since it was making the TV re-pop up the "1920x1080" banner each time.

@AchimPieters
Copy link
Author

For me, it's between small .mp4 files, as I don't have any other. Between each file, the screen goes black, no matter what I do or change. Maybe buffer related?

@vseven
Copy link

vseven commented Oct 16, 2024

For me, it's between small .mp4 files, as I don't have any other. Between each file, the screen goes black, no matter what I do or change. Maybe buffer related?

Yeah, the black screen issue is back for me. Nothing changed, just came back a couple days later and is popping up the TV's signal thing. Not sure why no one else is having the issue unless they just don't use mp4's. Seems perfectly fine with only images.

@maedangad
Copy link

Nice to meet you, may I ask you a question?
When I play a video with Anthias, a blackout of about two seconds occurs during video transitions.
Do you know any settings or equipment I could use to prevent this issue?

@nicomiguelino
Copy link
Contributor

We're still assessing options that could be a drop-in replacement for the video player that Anthias is currently using right now, which is VLC.

One of the option is to transition to Qt's multimedia player, but we still have to make sure that the change will not affect the devices (for all the supported platforms).

@liquido001
Copy link

Is there any changes solving this issue?

@nicomiguelino
Copy link
Contributor

@liquido001, there aren't any changes yet, but feel free to contribute and open a pull request.

@areefxyz
Copy link

I have the same issue.
In my case, initially I have just one video, with duration of 60s, playing in loop.
At the end of the loop, there's always a 3-5s black screen before it starts playing the video again.

Device Model: Raspberry Pi 4 Model B Rev 1.2
Anthias Version: master@9cad443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

7 participants