Posts: 21
Joined: Jan 2015
Reputation:
2
I'm considering developing a visualization for Karaoke files (cdg) and would like to know if there is a way, during dev/test, to just launch the visualization/player without having to load the entire Kodi app, navigate, etc. Sort of like unit testing.
Anyone?
Posts: 1,506
Joined: Nov 2013
there is no such app. one would be welcome, i started on something many moons but i cannot seem to find it now (probably on an old laptop). it's a bit involved as the screensavers/visualizations can use all of the addon callbacks, so such an app would also have to provide these..
it's not too bad though. since the visualizations are shared objects, you simply enter / exit fullscreen with music playing to reload.
Posts: 1,506
Joined: Nov 2013
that being said, i don't think the appoach is necessarily the best way to do cdg.
ffmpeg can decode cdg. there needs to be some code to sync to the audio, but the decoder is available.
testing with ffplay i also had some framerate issues but that's likely related to its sync code (probably wants to sync to the audio timestamps..)
there's an abandoned pull request on github for a simple ffmpeg based video player that was intended for this use. i'd try to reawaken that one.