torch2424 / live-stream-radio

24/7 live stream video radio station CLI / API 📹 📻
https://torch2424.github.io/live-stream-radio/
240 stars 64 forks source link

How to Audio Visualizer/Spectrum #146

Open coolavista opened 3 years ago

coolavista commented 3 years ago

Hi Aaron,

First, I would like to thank for your great work.

Well, I am very new here, and might be need more advice from you all. Actually I've been successfully installed this script and running on cheap VPS for few weeks ago.

Looking and comparing others 24/7 channel, they have so many features such many running text at bottom and above screen at the same time, adding next songs to play, or any historical information about songs, also add some links in here and there which having changing all time.

Well, that might be could be done since they are using static images or video and adding text transition on it since the video is looping.

I've been looking around and seems that ffmpeg can generate spectrum audio on the fly. The point is, whether we have looping or static images as video, but also spectrum and visualizer audio on music which currently playing.

When possible, how to embed the code into your live-stream-radio? Or will it comes on next release? 😁 thanks in advance.

https://lukaprincic.si/development-log/ffmpeg-audio-visualization-tricks

https://www.extua.pw/blog/2018/11/25/ffmpeg_audio_visualisation/

torch2424 commented 3 years ago

@coolavista

First, I would like to thank for your great work.

Thank you! Glad that you like it! :smile:

When possible, how to embed the code into your live-stream-radio? Or will it comes on next release? grin thanks in advance.

Oh yeah! Thanks for looking into how this would be implemented! That all looks rad! :smile: So I've been quite busy lately, feel free to open a PR on the project, I wouldn't mind reviewing them :smile: :+1: