Animated Video Wallpaper

Plasma Wallpaper Plugins

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

12
Score 72.2%
Description:

Play video as your wallpaper!

http://www.youtube.com/watch?v=eLVSaqvshRc (ty nowardev)

Thanks Lukas Krejza, but Gryffus for SUSE packages :) Thanks dglent for the Mandriva rpm!

It installs TWO files which can be easily deleted by:
# rm /usr/lib/kde4/wallpapervideo.so
# rm /usr/share/kde4/services/video.desktop

KDE4 is usually installed to /usr/, if not then "kde4-config --prefix" will tell u where instead.

Messy unstyled code BUT its optimised and FAST ;) To KDE devs: It just looks messy but the code is fine- I can clean it up to fit KDE guidelines if needed.

We live in 2009. Computers can easily handle this. We should be prettifying our desktops a lot more.

If a kind person makes me packages I'll upload ;) thx

AVI
MKV
OGG
MPG
MPEG
OGV
MP4
OGM
ASF
FLV
WMV

Note: Small filesize videos => More compressed => Take longer to decode => Eat the most CPU

Best is raw AVI

genjix at gmail doat com (mangled for spammers ;)
9

MirceaKitsune

3 years ago

Video wallpapers are a feature I would like for KDE, so I definitely support this! I see it hasn't been updated in quite a while however, so I doubt it will work with Plasma 5. Does anyone know if the addon is compatible with the latest version of Plasma Desktop?

Report

plaristote

7 years ago

It's also not compatible with the new version of ffmpeg (some functions that used to be deprecated have finally been removed).
It's too bad, that thing here looks quite awesome.

Report

fwolle30

6 years ago

It's possible to Compile, I've done it,
BUUUUUUUUUUT it crashes a lot. It's for playing not for working.

Report

RalphMW

7 years ago

$ make
[ 0%] Built target wallpapervideo_automoc
[ 33%] Building CXX object CMakeFiles/wallpapervideo.dir/vid.o
In file included from /usr/include/KDE/KNS/Engine:1:0,
from /home/ralph/src/plasma-video-wallpaper/vid.cpp:12:
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: Warnung: »Engine« ist veraltet [-Wdeprecated-declarations]
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: Warnung: »Engine« ist veraltet (deklariert bei /usr/include/KDE/KNS/../../knewstuff2/engine.h:43) [-Wdeprecated-declarations]
/usr/include/KDE/KNS/../../knewstuff2/engine.h:159:5: Warnung: »Engine« ist veraltet [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp: In Elementfunktion »void Tutorial1::Init()«:
/home/ralph/src/plasma-video-wallpaper/vid.cpp:85:6: Warnung: »int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:85:99: Warnung: »int av_open_input_file(AVFormatContext**, const char*, AVInputFormat*, int, AVFormatParameters*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1368) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:89:6: Warnung: »int av_find_stream_info(AVFormatContext*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:89:36: Warnung: »int av_find_stream_info(AVFormatContext*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1412) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:99:51: Fehler: »CODEC_TYPE_VIDEO« wurde in diesem Gültigkeitsbereich nicht definiert
/home/ralph/src/plasma-video-wallpaper/vid.cpp:120:6: Warnung: »int avcodec_open(AVCodecContext*, AVCodec*)« ist veraltet (deklariert bei /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:120:36: Warnung: »int avcodec_open(AVCodecContext*, AVCodec*)« ist veraltet (deklariert bei /usr/include/libavcodec/avcodec.h:4035) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp: In Elementfunktion »void Tutorial1::DeInit()«:
/home/ralph/src/plasma-video-wallpaper/vid.cpp:163:5: Warnung: »void av_close_input_file(AVFormatContext*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:163:35: Warnung: »void av_close_input_file(AVFormatContext*)« ist veraltet (deklariert bei /usr/include/libavformat/avformat.h:1580) [-Wdeprecated-declarations]
/home/ralph/src/plasma-video-wallpaper/vid.cpp: In Elementfunktion »virtual QWidget* Tutorial1::createConfigurationInterface(QWidget*)«:
/home/ralph/src/plasma-video-wallpaper/vid.cpp:265:40: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare]
/home/ralph/src/plasma-video-wallpaper/vid.cpp: In Elementfunktion »virtual void Blaa::run()«:
/home/ralph/src/plasma-video-wallpaper/vid.cpp:379:53: Fehler: »avcodec_decode_video« wurde in diesem Gültigkeitsbereich nicht definiert
/home/ralph/src/plasma-video-wallpaper/vid.cpp:381:1: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare]
/home/ralph/src/plasma-video-wallpaper/vid.cpp:384:1: Warnung: Vergleich zwischen vorzeichenbehafteten und vorzeichenlosen Ganzzahlausdrücken [-Wsign-compare]
make[2]: *** [CMakeFiles/wallpapervideo.dir/vid.o] Fehler 1
make[1]: *** [CMakeFiles/wallpapervideo.dir/all] Fehler 2
make: *** [all] Fehler 2

Report

amigib

8 years ago

Awesome except it uses huge amount cpu power so for now its kinda useless, great program/plugin but need to be fixed

Report

9

nicotine

8 years ago

http://aur.archlinux.org/packages.php?ID=50401

But seems that this package was abandoned... very sad. Would be awesome if it would use vdpau and also use CPU not so intensive. When I watch some video in VLC it's take about 2-5% of my CPU, but if I try the same video with this extension it will use all 100%.

But still, this is an awesome idea for addon, try it with these videos:
http://www.mydigitallife.info/beautiful-vista-dream-scene-desktop-video-wallpaper-with-nature-theme/

Report

masterdany88

8 years ago

Hey
on slackware13.1 (with kde 4.5.5) after installation I cant choose a video file for play. the same like in the wallpaperclock, but there i can paste the file to the directory where the system saves wallpaper clock,

/home/danielo/.kde/share/apps/plasma/clockwallpapers/

and its ok. I got the wallpaper clock.

So is there any chance to set the video manualy in system files? Please help.
I tried with mplayer and xwinwrap, but it sucks.

Report

9

mdantej

8 years ago

Excelent!!!! The installation was dificult but worth it :), great.
Thanks,

Report

YAFU

9 years ago

Where I can find videos or presentations such as the Youtube video?
Thanks.

Report

nowardev

8 years ago

http://blip.tv/file/get/Nowardev-AnimationKubuntuLogo649.avi

this is the videos i have rendered there is the project , blender project if you have a strong computer you could render a longer video...

Report

Guala

9 years ago

you should try:

xwinwrap -ni -o 0.3 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet '/path/to/video/files/*.avi' -loop 0

Report

wtbennington

9 years ago

The link for the Mandriva package is broken. Can you fix this please?

Report

hlebarkata

9 years ago

on fedora system's you need to
su -c 'cp -r /usr/include/ffmpeg/* /usr/include/'
before compiling
I am building an RPM for this
but there are in the new version
of sws_scale some changes and build fails

error: initializing argument 2 of Б─≤int sws_scale(SwsContext*, const uint8_t**, int*, int, int, uint8_t*

from line 404 in vid.cpp
pls fix it

Report

odalex

9 years ago

Video option shows up in config but no file selection dialog

here is screenshot
http://imagebin.ca/view/chkC6fji.html

any advices? i had tried to reboot computer..no changes

Report

nowardev

9 years ago

i have made a package for kubuntu with cpack with this way :

http://nowardev.wordpress.com/2009/12/27/how-to-create-a-debian-package-for-script-and-for-project-that-use-cmake/

download link

http://www.mediafire.com/?nob5m4mmuix

i have tested on my system and it's working fine

it's pretty simple to do :)

Report

nowardev

9 years ago

that sick wordpress doesn't recognize the correct stuff

i hate that every time it replace

-- with -

Report

SugarFree

9 years ago

I L-O-V-E the idea but... done install and nothing changed :(
I don't have an option to choose a video in display properties window, just image, slide show and color...
Kubuntu 9,10 64bit with KDE 4.3.4

That's what I get when I try something from the other post:
Quote::~$ ls /usr/lib/kde4/wallpapervideo.so
ls: nie ma dostępu do /usr/lib kde4/wallpapervideo.so: No such file or directory

:~$ cat /usr/share/kde4/services/video.desktop
cat: /usr/share/kde4/services/video.desktop: No such file or directory

:~$ kde4-config --prefix
/usr
Maybe it's because of:
Quote::~$ make -j3
[ 0%] Built target wallpapervideo_automoc
[100%] Built target wallpapervideo
??
plz hlp ;)

Report

SugarFree

9 years ago

Solved.

I used cmake line from http://nowardev.wordpress.com/2009/09/19/video-for-your-desktop/ which is a bit erong.

There is:Quote:cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config –prefix`

Should be:Quote:cmake . -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`

Runs slow but I'm gonna get some raw avis and we'll how it's going to work then.

Cheers ;)

Report

tkmorris

10 years ago

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:

EAPI="2"

inherit kde4-base

S="${WORKDIR}/${PN}"

DESCRIPTION="Kde4 plasmoid for playing video as wallpaper"
HOMEPAGE="http://www.kde-look.org/content/show.php/Animated+Video+Wallpaper?content=112105"
SRC_URI="http://www.kde-look.org/CONTENT/content-files/112105-plasma-video-wallpaper.tar.gz"

LICENSE="GPL-2 GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="debug"

RDEPEND="
>=kde-base/plasma-workspace-${KDE_MINIMAL}
"

pkg_postinst() {
kde4-base_pkg_postinst
}

Report

bitcrazy

10 years ago

Would be nice, if you could include the version number in the tar archive, because of packaging purposes.

m0nk

Report

C

genjix

10 years ago

sure. tell me what to write.

Report

tkmorris

10 years ago

Probably a dot-release, so plasma-video-wallpaper-0.1.tar.gz to start with, and then when you make:

minor changes - add 0.1
major changes - add 1.0

for example:
plasma-video-wallpaper-0.2.tar.gz
plasma-video-wallpaper-1.0.tar.gz

Report

kriko

10 years ago

This is very cool - Imagine a nice easy KDE4 video playing when you log into your desktop for the first time, or many other possibilities.
Unfortunately really cpu-low cost movies are choppy in fullscreen - seems like it is repainting every frame.

Report

sandsmark

10 years ago

Would you be interested in helping with improving Phonon::Experimental::VideoDataOutput? It should be able to export video to you frame-by-frame, very efficiently (for an example of the idea, look at kaffeinegl in kde's playground, under multimedia, or at Zack Rusin's Quasar that Matthias Kretz modified).
I know the mplayerthumbs app uses it for exporting single frames for thumbnails, but you might be able to use it for this too.

The API is still in Phonon::Experimental, and I don't think there's working support in Phonon-GStreamer yet, but it works pretty well with Phonon-Xine.

Report

C

genjix

10 years ago

what can i do to improve it? I just used libav here.

What would be great is if fscking KDE didnt do software scaling when blitting these wallpapers so i can do cool stuff. SDL is super fast and KDE not... there shouldn't be much difference

maybe a good idea is to use opengl and render to a fullscreen quad and then give that fullscreen array to qpainter? can any kde devs confirm this?

Report

12345678910
5
product-maker bnvlpl Aug 09 2017 9 excellent
product-maker MirceaKitsune Mar 26 2016 9 excellent
product-maker TommyCZ Jul 07 2011 9 excellent
product-maker nicotine Jul 03 2011 9 excellent
product-maker mdantej Dec 26 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Genserowski
May 21 2010
DjNeophyte
Nov 02 2009
kriko
Oct 07 2009
MoonBlossom
Oct 02 2009
augegr
Sep 23 2009
k3ks
Sep 21 2009
shashanksingh
Sep 18 2009
Refused
Sep 18 2009
marcosgildavid
Sep 17 2009
mbaszczewski
Sep 17 2009
gryffus
Sep 17 2009
AngelBlue01
Sep 16 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.7
updated Oct 06 2009
added Sep 16 2009
downloads 24h
22
mediaviews 24h 0
pageviews 24h 16