Kodi Community Forum
WIP Video Player Visualization (Update 21st Oct 2014: v0.1.0) - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: Screensavers and visualisations (https://forum.kodi.tv/forumdisplay.php?fid=38)
---- Thread: WIP Video Player Visualization (Update 21st Oct 2014: v0.1.0) (/showthread.php?tid=205584)

Pages: 1 2 3


Video Player Visualization (Update 21st Oct 2014: v0.1.0) - gominoa - 2014-10-02

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


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - RockerC - 2014-10-02

Cool! Please try submitting the patch as a pull request on GitHub


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-02

I'll try it for OpenELEC.

Where did you grab the video from?
Does it loop the video?


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - gominoa - 2014-10-02

@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.


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-03

(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.


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - gominoa - 2014-10-03

@RockerC

Done: 5445 (PR)


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - Wanilton - 2014-10-03

gominoa, work with mkv file or need other video type?


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - gominoa - 2014-10-04

(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.


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-04

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


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - Wanilton - 2014-10-04

Compiled with windows, and don´t play video too..


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-05

@gominoa
Are you sure Gotham patch is correct?

Doesn't look good to me?
https://github.com/gominoa/gominoa-xbmc-addons/blob/master/visualization.video/visualization.video-13.2-Gotham.patch#L84

Can't test Helix version now since it will brake stuff in my current setup.


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - gominoa - 2014-10-05

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 ?


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-05

(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



RE: Video Player Visualization (1st Oct 2014: v0.1.0) - schumi2004 - 2014-10-10

(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


RE: Video Player Visualization (1st Oct 2014: v0.1.0) - gominoa - 2014-10-10

(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.


This forum uses Lukasz Tkacz MyBB addons.