WIP Video Player Visualization (Update 21st Oct 2014: v0.1.0)
#1
Video 
Here's a video player visualization I've been working on. It requires a patch and recompile of XBMC. It is based on the karaoke background video code. It uses ffmpeg software decoding so may not be fast enough on embedded systems. I only have it working on linux, so no idea if it will work with windows/osx/android, but I GOT MY FIREPLACE !

Try it and let me know how it works for you and any problems you encounter.

Activate: System->Settings->Music->Playback->Visualization->Video
Settings: System->Settings->Add-ons->Enabled Add-ons->Visualization->Video->Context Menu->Configure

Gotham Patch: visualization.video-13.2-Gotham.patch
Helix Patch: visualization.video-14.0a4-Helix.patch

OpenELEC Patch: xbmc-011-visualization-video.patch
Save to your source directory as 'OpenELEC.tv/packages/mediacenter/xbmc/patches/xbmc-011-visualization-video.patch' and rebuild.

Screenshot:
Image

Enable:
Image

Configure:
Image
Reply
#2
Cool! Please try submitting the patch as a pull request on GitHub
Reply
#3
I'll try it for OpenELEC.

Where did you grab the video from?
Does it loop the video?
Reply
#4
@schumi2004 - It does loop! I used this one http://youtu.be/NiqM3lVirkw. Turns out it's really a 3 min loop which I pared down to 15s so it looks more seamless.
Reply
#5
(2014-10-02, 17:49)gominoa Wrote: @schumi2004 - It does loop! I used this one http://youtu.be/NiqM3lVirkw. Turns out it's really a 3 min loop which I pared down to 15s so it looks more seamless.

Could you upload them maybe?

Thanks in advance Wink

/edit
Large fish-tank would be cool either.
Reply
#6
@RockerC

Done: 5445 (PR)
Reply
#7
gominoa, work with mkv file or need other video type?
MediaBrazil forum Website - Youtube Channel
Aeon MQ9-0.4.0 & Ace2 Skin Team
MarcosQui Website Donate and support us.
Reply
#8
(2014-10-03, 23:58)Wanilton Wrote: gominoa, work with mkv file or need other video type?

I'm using it with a .mp4, but I just tested a couple .mkv's and yes it works. It uses XBMC builtin ffmpeg, so it should play anything XBMC can.
Reply
#9
I managed to got it working on old OE build but failed on recent builds.

Not sure where to look for.

/Edit:
I remember were it failed.

Compiling for Helix went fine but failed on Gotham.

adding: shifter - escape the worm - Eo.S. + Phat - Before_It_Eats_Your_Brain_Mix_v2.milk (deflated 75%)
adding: shifter - escape the worm - Eo.S. + Phat 5362.milk (deflated 75%)
make[3]: Leaving directory '/home/xbmc/github/OpenELEC.tv/build.OpenELEC-Generic.x86_64-devel/xbmc-13-867305b/xbmc/visualizations/XBMCProjectM'
make[2]: Leaving directory '/home/xbmc/github/OpenELEC.tv/build.OpenELEC-Generic.x86_64-devel/xbmc-13-867305b/xbmc/visualizations/XBMCProjectM'
make[1]: Leaving directory '/home/xbmc/github/OpenELEC.tv/build.OpenELEC-Generic.x86_64-devel/xbmc-13-867305b'
make: *** [release] Error 2
Reply
#10
Compiled with windows, and don´t play video too..
MediaBrazil forum Website - Youtube Channel
Aeon MQ9-0.4.0 & Ace2 Skin Team
MarcosQui Website Donate and support us.
Reply
#11
@gominoa
Are you sure Gotham patch is correct?

Doesn't look good to me?
https://github.com/gominoa/gominoa-xbmc-....patch#L84

Can't test Helix version now since it will brake stuff in my current setup.
Reply
#12
Good catch, fixed. I don't 100% know what I'm doing with configure.in and Makefile.in, but that shouldn't stop it from compiling.
It should apply cleanly to https://github.com/xbmc/xbmc/releases/tag/13.2-Gotham

Does it make it through ./bootstrap and ./configure ?
Reply
#13
(2014-10-05, 16:40)gominoa Wrote: Good catch, fixed. I don't 100% know what I'm doing with configure.in and Makefile.in, but that shouldn't stop it from compiling.
It should apply cleanly to https://github.com/xbmc/xbmc/releases/tag/13.2-Gotham

Does it make it through ./bootstrap and ./configure ?

Compiled it with OpenELEC build tools for Helix (with your Helix patch) and that went fine, when compiling Gotham (With your faulty Gotham patch) it failed and didn't gave me error log that I could use to find issue.
Compiled it for Linux Ubuntu (with both your faulty Gotham and Helix patch) went fine as well, didn't tested a Windows compile yet.

Created a new Gotham patch myself and compiling OpenELEC again now and see what happens.

/edit:
Still not compiling. I expected it to succeed when it passed XBMC package but failed again later.
http://pastebin.com/VySYLYd7

Quote:[20:57] <fritsch> schumi2004: video.cpp:29:25: fatal error: DllAvFormat.h: No such file or directory #include "DllAvFormat.h"
[20:57] <fritsch> it needs adjustment to compile on OpenELEC
[20:57] <fritsch> see the other files that were transitioned to internal ffmpeg
Reply
#14
(2014-10-04, 19:01)Wanilton Wrote: Compiled with windows, and don´t play video too..

You need to select video to play in Addon settings for this vis.

Works perfect here in OpenELEC Helix (NOT Gotham)

I blame gominoa for all the shit it gives me organizing my setup here only to see if it works Wink

/edit:
Bad picture as proof

Image
Reply
#15
(2014-10-10, 22:08)schumi2004 Wrote: I blame gominoa for all the shit it gives me organizing my setup here only to see if it works Wink
Haha, but now you can enjoy a romantic weekend with the missus!
Glad you got it working.

It seems OpenELEC has backported some of the Helix stuff to their Gotham build which causes the build to fail. This Helix patch should also apply to OpenELEC's Gotham build. I'm going to try to get a pull request into OpenELEC. They seem more adventurous than the xbmc guys.
Reply



Logout Mark Read Team Forum Stats Members Help
Video Player Visualization (Update 21st Oct 2014: v0.1.0)0
This forum uses Lukasz Tkacz MyBB addons.