
Animated Video Wallpaper
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
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 ;)
MirceaKitsune
4 years ago
Report
plaristote
8 years ago
It's too bad, that thing here looks quite awesome.
Report
fwolle30
7 years ago
BUUUUUUUUUUT it crashes a lot. It's for playing not for working.
Report
RalphMW
8 years ago
[ 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
9 years ago
Report
nicotine
9 years ago
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
9 years ago
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
mdantej
10 years ago
Thanks,
Report
YAFU
10 years ago
Thanks.
Report
nowardev
9 years ago
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
10 years ago
xwinwrap -ni -o 0.3 -fs -s -st -sp -b -nf -- mplayer -wid WID -quiet '/path/to/video/files/*.avi' -loop 0
Report
wtbennington
10 years ago
Report
hlebarkata
10 years ago
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
10 years ago
here is screenshot
http://imagebin.ca/view/chkC6fji.html
any advices? i had tried to reboot computer..no changes
Report
nowardev
11 years ago
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
11 years ago
i hate that every time it replace
-- with -
Report
SugarFree
11 years ago
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
11 years ago
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
11 years ago
# 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
11 years ago
m0nk
Report
genjix
11 years ago
Report
tkmorris
11 years ago
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
11 years ago
Unfortunately really cpu-low cost movies are choppy in fullscreen - seems like it is repainting every frame.
Report
sandsmark
11 years ago
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
genjix
11 years ago
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