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

Choppy video playback #10

Closed
tech189 opened this issue Apr 6, 2020 · 13 comments
Closed

Choppy video playback #10

tech189 opened this issue Apr 6, 2020 · 13 comments
Labels
bug Something isn't working

Comments

@tech189
Copy link

tech189 commented Apr 6, 2020

Describe the bug
When the video plays, it seems to skip quite a few frames, usually I have no issue playing video on this computer!

To Reproduce
Steps to reproduce the behavior:

  1. Let the screensaver play

Expected behavior
Smooth playback would be nice :)

Aerial Version
0.5.0

Additional context
Windows 10 v1909 build 18363.752
I have tried with and without the text overlay

@tech189 tech189 added the bug Something isn't working label Apr 6, 2020
@OrangeJedi
Copy link
Owner

Do you get choppy playback when you hit the 'preview' button, or when the screen saver starts?
Have you used a previous version of Aerial that didn't have this problem?
Are the videos play smoothly in the 'videos' tab on the config screen?
Are you using the cache?
Do you have more than one screen that you are playing the video on?

Sorry for all the questions, I'm trying to figure out where your error may be. I hope I can find a solution.

@tech189
Copy link
Author

tech189 commented Apr 7, 2020

I get it both when using the preview and when it starts by itself.
No I just installed it, haven't used a previous version.
Yes the videos play perfectly in the videos tab!
No I am not using the cache because my main drive where Appdata is stored is quite small.
Yes, I am using a single monitor via HDMI coming from my laptop. The laptop is closed though, so just one screen that the video is playing on (I'm not duplicating or extending). I tried it with and without the monitor attached, still skips frames and stutters, the fans seem to spin up as well.

No worries, hopefully we can solve it.

@OrangeJedi
Copy link
Owner

OrangeJedi commented Apr 7, 2020

That's good that it plays fine in the video tab; it probably not anything network related then.
You might try downloading just one video (in the video tab) and seeing if playing the downloaded video still causes the choppy playback.
Also, are you using the .scr file or the .zip folder? I've noticed the .scr runs a bit slower.

Can you open your task manager while the screensaver is running to see if it is a resources problem? If you open the app from the command line with aerial.scr /s /nq (see here for more details) aerial won't quit on mouse movement or key presses.

@tech189
Copy link
Author

tech189 commented Apr 8, 2020

Still getting choppy playback when the videos are cached, unfortunately. I downloaded the zip folder and right clicked the .scr and pressed Install.

Here are some screenshots:
Not cached:
aerial scr_6Ht7NMuL9w
Cached:
aerial scr_0TyYetVX0h
In full screen playback, it seems to use almost 100% of the GPU:
Taskmgr_EZAg1tQ2lg

While the video plays in the Settings window, I noticed far less GPU usage
Taskmgr_sTlDYYtoQf
Even though it was using the same GPU (Integrated graphics), the settings window was using Video Decode rather than 3D processing. This is way smoother and has no hiccups at all.

Hopefully this helps you find a solution!

@MadNBG
Copy link

MadNBG commented Apr 8, 2020

Office-PC: stuttering videos. Played the cached files with VLC or Mediaplayer: everything is fine. Sounds like an ugly deep problem..

@OrangeJedi
Copy link
Owner

Thanks for the screenshots; I they helped a lot. I did some tests of my own and Aerial is using larger than expected resources. Aerial does some processing on the videos to help with a few things.
I'm thinking I can add an option to tone down or disable the processing. That may help, I'll let you know what I find.

@OrangeJedi OrangeJedi added this to v0.5.2 Stage in Aerial Roadmap Apr 8, 2020
@OrangeJedi OrangeJedi moved this from v0.5.2 Stage to Bugs in Aerial Roadmap Apr 8, 2020
@prediscover
Copy link

I am also getting choppy playback when the screensaver activates. However when i click the preview function, it is smooth. In the video tab, it is also smooth.

It's only when the Screensaver activates on its own it is choppy.
My videos are cached.

Aerial Version
0.5.0

Additional context
Windows 10 v19608 build 19608
I have tried with and without the text overlay

@MadNBG
Copy link

MadNBG commented Apr 18, 2020

OrangeJedi is actually working on it. In branch 0.5.2 performance-improvements are listed. Be patient :-) ....

@OrangeJedi
Copy link
Owner

@MadNBG is right, v0.5.2 has some massive performance improvements; Aerial should use at least half as much power now. Let me know if this solves everyone's issues.

If you are still having problems you can go into the playback tab and click disable all video processing. It turns off a whole bunch of features and might not look as good, but it should use less power

@prediscover I saw this issue in my testing too. Do you have any other screensaver settings on like 'On resume, show lock screen'? Let me know if this update helps out.

@prediscover
Copy link

Yup @OrangeJedi . Just upgraded to 0.5.2 from 0.5.1 without changing any settings and it's smooth now. For what it's worth, I do have On resume, show lockscreen on.

@MadNBG
Copy link

MadNBG commented Apr 19, 2020

yes, great success. Here, on integrated IntelGraphic, there is only a bit stuttering. Also, I hear the fan powering up, I guess showing the video is heavy on CPU/GPU. (I can't look in the taskmanager - only one display attached. It's a not powerfull PC.)
Why is there a processing on the movies? Because of the corner-texts maybe?

Someone mentioned a black playback - that problem seems to be gone too.
v0.5.2

@tech189
Copy link
Author

tech189 commented Apr 20, 2020

Seems to be completely fixed for me too - everything is smooth now :D
I had to turn off the video processing (still stutters if I have it on) but I don't think I'm missing any major features with that because I can still have the text overlay, thanks!

@OrangeJedi
Copy link
Owner

Glad to hear everything is working!
For the record, the video processing's biggest feature is the fade transitions. It also helps with scaling to different resolutions and non 16:9 screens, as well as (I think) displays the video better. But yeah, the text should still work without it.

@OrangeJedi OrangeJedi moved this from Bugs to v0.5.3 Done in Aerial Roadmap Apr 20, 2020
@OrangeJedi OrangeJedi moved this from v0.5.3 Done to v0.5.2 Done in Aerial Roadmap Apr 20, 2020
@OrangeJedi OrangeJedi moved this from v0.5.2 Done to Released in Aerial Roadmap Sep 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

4 participants