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

Not working #13

Closed
utbuiquoc opened this issue Aug 9, 2022 · 13 comments
Closed

Not working #13

utbuiquoc opened this issue Aug 9, 2022 · 13 comments
Labels
bug Something isn't working question Further information is requested

Comments

@utbuiquoc
Copy link

Screencast from 09-08-2022 17:19:53.webm
Thanks for replayed, issue is fixed but video still not showed.

Originally posted by @utbuiquoc in #11 (comment)

@utbuiquoc utbuiquoc changed the title [Screencast from 09-08-2022 17:19:53.webm](https://user-images.githubusercontent.com/86715840/183625230-6ee6e2d5-e8f4-4323-8123-e86b9df53865.webm) Not working Aug 9, 2022
@jeffshee
Copy link
Owner

jeffshee commented Aug 9, 2022

Hmm, is this the same issue as #2 ?
Please check if your log is similar to that issue. You can get the log by executing log.sh that comes with the extension.
What if you use a video with sound? Does the audio play at least?

@jeffshee jeffshee added the bug Something isn't working label Aug 9, 2022
@utbuiquoc
Copy link
Author

Here is my log
image
The video was used here (https://www.desktophut.com/PC-HD-Elaina-Winter-Live-Anime-Wallpaper)

@jeffshee
Copy link
Owner

jeffshee commented Aug 9, 2022

Thanks for the log. It seems fine to me.
Please also try another video with audio if possible. If you don't hear any audio, it means the video player isn't working in the first place.

@utbuiquoc
Copy link
Author

In my case, no audio.
Hope this info can help you.

@jeffshee jeffshee mentioned this issue Aug 21, 2022
@jeffshee
Copy link
Owner

Hi @utbuiquoc,
and also other users who had reported similar issues @Blaze-Lua @Seikm @CharmedGoose

Sorry to keep you guys waiting~
In the last commit, I added a test script named test-renderer.sh for the renderer.
Ideally, it should spawn a window and play the video, as a regular video player does.
Screenshot from 2022-08-21 15-00-15

To use the test script, navigate to the src directory inside the cloned repo. Execute the script, ./test-renderer.sh
(Note: A video file named video.mp4 is required. You don't have to install the extension for the test. See README)

If for some reason the test script doesn't work, it might be the reason why the extension failed to show the live wallpaper.
In that case, please provide the log/error message if any.
Also, I'm not sure whether this issue is related to multimedia codecs or not. I need to narrow down the cause I guess. =)

Looking forward to the test results~ 😎

@jeffshee jeffshee added the question Further information is requested label Aug 21, 2022
@Seikm
Copy link
Contributor

Seikm commented Aug 21, 2022

@jeffshee I ran ./test-renderer-sh, and it worked normally. I installed the extension normally and for some reason it worked perfectly.

I don't know if you made any other significant changes to the code, but this time it worked out of the box.

I remember that a while ago I tried and it didn't work, I don't know why this time it worked. Maybe I removed some program/library that was in conflict, but I can't remember sorry.

There was a problem on my second monitor, the wallpaper is stretched when I enter activities mode (on the first monitor it works normally).
image

Anyway, thanks for the help and I look forward to new additions to the project.

@jeffshee
Copy link
Owner

@Seikm Great to see that your problem is fixed. 😄

Regarding the problem with the second monitor, is it possible that your monitor is widescreen? (not in the same ratio as the video) If it is just a normal screen (16:9), it is a bug then.

@Seikm
Copy link
Contributor

Seikm commented Aug 22, 2022

@jeffshee
Both monitors are the same (16:9)
Another image of the bug:
image

@Seikm Seikm mentioned this issue Aug 24, 2022
@Cry4775
Copy link

Cry4775 commented Aug 25, 2022

Hello, I've got the same problem as #2, but in my case i seem to not get it solved. I'll attach the log and a screenshot of the test-renderer.sh

Schermata del 2022-08-25 12-36-01
Schermata del 2022-08-25 12-37-25

@jeffshee
Copy link
Owner

@Cry4775 Thanks for reporting.

I'm not too sure, but I'm guessing that this could be a distro-specific issue.
Let me try to replicate this issue on a PopOS VM.

Meanwhile, could you please try installing the multimedia codecs and check if the renderer still cannot play your video?
Also, it will be awesome if you could share more details about your PopOS version, Gnome Shell version, X11/Wayland, etc.

Thanks =)

@jeffshee
Copy link
Owner

Alright, for those who have issues with the video doesn't play, I think I had found the cause! 😎
I noticed that the media backend for gtk4 isn't preinstalled in some distros (for example PopOS).

Screenshot from 2022-08-27 04-50-02

The solution is quite simple. You just need to install the backend:
sudo apt install libgtk-4-media-gstreamer

Kindly report if the solution works. Thanks!

@Cry4775
Copy link

Cry4775 commented Aug 27, 2022

Now it works perfectly! Thank you!

@jeffshee
Copy link
Owner

Added instruction to README. Closed as completed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants