Archivio annuale 1 December 2020

Katzenjammer 30 Novembre 2020

Take You Dancing – Jason Derulo
Soli – Tōru
Novembre – Iosonouncane
Burn, Camden, Burn – Razorlight
Not – Edit – Big Thief
Purple Blood – The Smashing Pumpkins
Do You Think I Really Care – The Rolling Stones
Life – Des’ree
Toxic – 2WEI
Malvasia Nera – Diego Rivera La Municipàl
Morsa – Bianco Dente
Seventeen – Sharon Van Etten

Katzenjammer del 23 novembre 2020

Prisoner – Miley Cyrus, Dua Lipa
Il Tempo – Tōru, Lucio Leoni
Soli – Tōru
Io sono uno – Lucio Leoni
Disorder – Joy Division
Ballo, ballo – Raffaella Carrà
Wake Up – Arcade Fire
Televendite di quadri – Post Nebbia
Things Can Only Get Better – D:Ream
chinatown – Bleachers, Bruce Springsteen
Beware False Prophets – Bush
El Diablo Is Working – Cocaine Cake
One More Time – Daft Punk

Katzenjammer del 16 Novembre 2020

The Pussycat Dolls – Buttons
The White Stripes – The Hardest Button to Button
Willie Peyote – La depressione è un periodo dell’anno
Doves – Prisoners
Billie Eilish – Therefore I Am
Miley Cyrus – Heart Of Glass
Gianni Bismark, Emma – C’hai Ragione Tu
AC/DC – Shot In The Dark
Janet Jackson – Got ‘Til It’s Gone
Las Cosas Que Pasan, Calcutta – Penso a te
Foo Fighters – Shame Shame
Pixies – Hear Me Out

Katzenjammer del 9 novembre 2020

La puntata del 9 novembre 2020

Dua Lipa, Angèle – Fever
Giancane – Vecchi Di Merda
System Of A Down – Protect The Land
The Smashing Pumpkins – Ramona
Sleaford Mods, Billy Nomates – Mork n Mindy
Black Honey – I Like The Way You Die
Prince – When Doves Cry
Il Pan Del Diavolo – Tornare da te
Backstreet Boys – I Want It That Way
DUO – Don’t Judge
Halloweens – My Baby Looks Good with Another
Baustelle – Amanda Lear
Mogwai – Dry Fantasy

From audio to video with ffmpeg

A video content is something that social media and website used widely. Also a Video content it’s some more engaging and with a better reaction than a simple audio. Working on a webradio, I’m always looking for some solution that can engage people in order to attract people so my Idea was to modify audio content to create a video content.

But how you can create a video content from a video content?

ffmpeg has a huge collection of functions, one of these is waveform that can generate a video from an audio, the video simply shows the waveform of the audio. It’s good, but for me this is just a starting point

ffmpeg -i input_audio.mp3 -filter_complex \
"[0:a]showwaves=s=1280x100:colors=Red:mode=cline:rate=25:scale=sqrt[outputwave]" \
output.mp4

I’m using here filter_complex because I want a chain of filters, and this is only one of the steps. Let me explain the parameters:

[0:a] this means: from the stream 0 take the audio…

showwaves=s=1280×100 this is the filter, showwave, and the output format 1280×100

colors=Red the color of the waveform….

mode=cline the type of the waveform, line…..

rate=25 … how many frame

scale=sqrt …the scale. sqrt is good

[outputwave] this is a placeholder….we will use it later in the chain.

But what I want is a video, where the waveform it’s only an overlay level on it. The base video could be a pre-created video that can be used for all the audio content. It could be a slideshow video, something created in graphic, a static foto or with simple animation. So let’s suppose that this video exists. But How can this video fit the audio length, that can be variable?

How can, a pre-created video, fit the audio length of an audio file with a variable length?

My idea is to loop the pre-created video for the length of the audio and overlay on it, the waveform created from the audio file!

And I want this in a single ffmpeg command! And so…

ffmpeg -stream_loop -1 -i video.mp4 \
-i input_audio.mp3 -filter_complex \
"[1:a]showwaves=s=1280x100:colors=Red:mode=cline:rate=25:scale=sqrt[outputwave]; \
[0:v][outputwave] overlay=0:main_h-overlay_h:shortest=1 [out]" \
-map '[out]' -map '1:a' -c:a copy -y \
output.mp4

-stream_loop -1 -i video.mp4 This loops the input video, video.mp4, idefinetly*
-i input_audio.mp3….outputwave] we already covered this….
[0:v][outputwave] overlay=0:main_h-overlay_h:shortest=1 [out] this get the video of the first video, with [0:v] and the video of the waveform, [outputwave] as the input for the overlay filter, and put it in the position bottom with 0:main_h-overlay_h. The magic happens with shortest=1 that means: do this overlay for the length of the shorter. *The loop is infinitely long but the waveform no! And this means: for the length of the waveform!

-map ‘[out]’ -map ‘1:a’ -c:a copy -y this map the output as a video and copy the audio of the

This is a frame of the final video:

Katzenjammer del 2 Novembre 2020

Golden – Harry Styles
Take You Dancing – Jason Derulo
Stranded – Emperor Of Ice Cream
Qualcosa di nuovo – Max Pezzali
Don’t (Just) Vote – Cass McCombs, Angel Olsen
Prima Di Andare Via – Riccardo Sinigallia
Anything For Boo – Eels
Catrame – The Zen Circus
Since I Left You – The Avalanches
Black – Pearl Jam
Break It Down Again – Tears For Fears
Beautiful Girl – INXS
Worm In Heaven – Protomartyr
Close To Me – The Cure
After All – The Frank And Walters
The Bitter End – Placebo