Registered Member
|
I meant 1.
I added to the end of the Main.qml:
And in metadata.desktop also is:
Thank you very much! Nice. And the last thing, I just didn't understood: how to edit Main.qml to get gapless playback? |
Registered Member
|
A Qt bug - Add support for gap less playback: https://bugreports.qt.io/browse/QTBUG-49446 You could try to hide the gap by using two players - earlier: viewtopic.php?f=289&t=131783&start=15#p365313 |
Registered Member
|
The thing is MediPlayer section in my Main.qml is differs with the one from your link.
Mine:
From you link:
So do I need to replace mine with the one from your link or I just need to double the MediaPlayer section as in my Main.qml? Thanks. |
Registered Member
|
You just need two players: The first is paused...
- Position: http://doc.qt.io/qt-5/qml-qtmultimedia- ... ition-prop - Pause: http://doc.qt.io/qt-5/qml-qtmultimedia- ... use-method and the second is playing. When the second player is playing you only see it. When the second player is reloading you will see the first player paused image. This works IF the reload time is short enough. Hmm - Maybe a bit better workaround(*) would be to use two players which are playing in turns. (*) These are only workarounds - the fix need to be done in the Qt. There is the QtAV: https://github.com/wang-bin/QtAV but issue tracker has: Seamless loop #321: https://github.com/wang-bin/QtAV/issues/321 |
Registered Member
|
'Hmm - Maybe a bit better workaround would be to use two players which are playing in turns.'
Implemented in SDDM Theme Breeze Slider 2: https://store.kde.org/p/1222217/ .../breeze-slider2/Video/DoublePlayer.qml Preview clip: From Breeze Slider 2 SDDM theme to Breeze Custom Lock.mp4 - https://youtu.be/rCDBdGe8va0 Full image:https://imgur.com/zNVecy3 Clip is using: - Breeze Slider 2 SDDM theme: https://store.kde.org/p/1222217/ - ImageSplash: https://store.kde.org/p/1173958/ - Video wallpaper: https://store.kde.org/p/1213488/ - Breeze Custom Lock Screen: https://store.kde.org/p/1216681/ |
Registered Member
|
Hello everybody.
Is there a way to render wallpapers with gpu instead of cpu? If rendering is done by an external player, I would prefer to choose mpc-qt, which can render video by gpu. Is there a way to auto-change the playlists? I tried to create 2 playlists and rename the one I want to play to the name specified in the settings, but it seems I still need something to restart. I want to play one playlist on a daytime and another one on a nighttime. |
Registered Member
|
You could try with a script wallpaper. A recent example from the KDE Forums: viewtopic.php?f=309&t=150998
If you are referencing https://store.kde.org/p/1213489/ and it's playlist then you could: 1) The Plasma desktop is reading the settings (playlist) when the plasmashell is starting or when the user is changing the playlist from the ui. So the drill is: Rename the playlist - Stop the plasmashell (kquitapp5 plasmashell) -Restart the plasmashell (plasmashell &). 2) or you could use the symlinks in the playlist and change the symlink target files on the fly. 3) or you could edit the Video playlist plugin Qml code to do the change. |
Registered Member
|
Hallo guys.
Some time ago I started this topic https://forum.kde.org/viewtopic.php?f=67&t=151301 At this time I used Sabayon OS and due to the great help, I succeeded. Now, I'm switching to Gentoo OS, the mother of Sabayon. Here I have - an Intel core i7 7700t with 2.9 GHertz - 8 GBytes of DDR4-Ram - a 240 GByte SSD with now 210 GBytes free - an emerged Gentoo - a Plasma, version 5.13.3 And I want to repeat the VideoWallpapers success on Sabayon before (I still have this pc) on my new system. But here, after following each step in the thread above, when I pull a video into the new window, created by qt, the preview screen is black and the length of the video I chose, is 00:00 - 00:00. I installed several gst-plugins, such as gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, gst-plugins-libav and finally, gst-plugins-meta. Some are of version 0.10.31-r2 some are of version 1.14.1. When I start a testing for a login Video wallpaper with a konsole command, I receive the following error:
So, what can I do, pls? Do I need all plugins in the same version, or is there any package missing (I haven't emerged yet) on Gentoo? Thank you very much in advance. -Linuxfluesterer (I love KDE...) |
Registered Member
|
It would be a good idea to have same version of the plugins. There should be the 1.14.1: - https://packages.gentoo.org/packages/media-plugins/gst-plugins-meta - https://packages.gentoo.org/packages/media-libs/gst-plugins-base - https://packages.gentoo.org/packages/media-plugins/gst-plugins-libav - https://packages.gentoo.org/packages/media-libs/gst-plugins-good - https://packages.gentoo.org/packages/media-libs/gst-plugins-bad - https://packages.gentoo.org/packages/media-libs/gst-plugins-ugly When searching with the: "gentoo no service found for - "org.qt-project.qt.mediaplayer"" - https://forums.gentoo.org/viewtopic-t-1 ... art-0.html
More of the GStreamer: https://gstreamer.freedesktop.org - Installing GStreamer: https://gstreamer.freedesktop.org/docum ... index.html - List of Elements and Plugins: https://gstreamer.freedesktop.org/docum ... ugins.html |
Registered Member
|
Thank you very much. Emerging =qtmultimedia-5.with USE flag "gstreamer"
did the trick. I had to reboot, then I chose 'Video Wallpaper' as background type and just saw a still frame of 'big buck bunny'. Great help! The gst-plugins I knew already from earlier post and installed them all (and more) already on Gentoo. But I was / I am not sure, how the different versions may effect. -Linuxfluesterer (I love KDE...) |
Registered Member
|
Figured I should bump this thread and let folks know: I created my own video wallpaper plugin, inspired by Genjix's script though I pretty much rewrote the whole thing. It uses the builtin Qt MediaPlayer object. I added a few extra settings and improvements, it should be as simple and efficient as it gets.
https://www.pling.com/p/1316120 My recommendation would be for the Plasma team to include this as a part of KDE, making any necessary modifications and improvements; It's a very clean and simple piece of qml, while the feature is something many people would like... it makes sense to include it with the desktop in my opinion. |
Registered Member
|
This is a nice feature. I am using it. But I'd like to make a suggestion. Is there anyway to use mplayer to play the video instead of with the player that's being used now? Currently, when I play the video with this extension, the memory usage increases over time. Then it crashes Plasmashell. Since this is the case, I am wondering if mplayer could be integrated into this extension since it can use the GPU and not tax the CPU at all. |
Registered Member
|
That would probably be a lot more complicated. The version I posted uses the builtin QML player: Invoking another player and using its draw methods would probably be a bit more difficult and problematic to maintain. If the player it uses causes memory leaks, that sounds like an issue with QT which should be looked at by the core developers. |
Registered Member
|
Okay then. But It seems like I'm not experiencing that now after upgrading Plasma again. Gotta love Neon for that. |
Registered Member
|
Hello,
yesterday I reinstalled my system and upgraded from Kubuntu 20.04.1 to Kubuntu 20.04.2 LTS. After the installation, I installed the video wallpaper, as always but this time it did not work, the video.mp4 was black So i updated QT and Gstreamer, installed a lot of packages but the video.mp4 remained black. I saw that the CPU was busy and the video was playing, but the screen remained black. I tried it with a .webm file and it worked. I wonder what the problem could be, on the old system (20.04.1) everything worked fine, what has changed now? Then I thought that the graphics driver could be wrong, so I downloaded and installed the latest AMD-GPU firmware from http://www.AMD.com and now everything works again. The Ubuntu AMD-GPU firmware is faulty and the Gstreamer shows black picture when playing mp4 files. Solution: Download the AMD-GPU firmware from http://www.AMD.com and install it (overwride all config files). Translated with http://www.DeepL.com/Translator (free version) |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]