Here are some examples of how to convert audio podcasts in mp3 format to YouTube videos in mp4 format with nice (and small to save bandwidth) black and white wave form visualisations. They require the ffmpeg command-line tool, and are one-liners that must be run from the Windows command prompt (see image above).
NB/ I used these one-liner scripts to convert Roy’s Rocket Radio to YouTube-able vids. This was, in fact, the easy part. The (agonisingly) slow part is uploading to YouTube. Check out my progress here. I’m guessing it will take a week or so to convert all, as of this moment, 170 shows.
ffmpeg -i YOURFILE.mp3 -filter_complex "[0:a]showwaves=s=640x480:mode=line:rate=25,format=yuv420p[v]" -map "[v]" -map 0:a YOURFILE.mp4
Replace YOURFILE with the file you want to convert.
All Files in a Directory
FOR /F "tokens=*" %G IN ('dir /b *.mp3') DO ffmpeg -i "%G" -filter_complex "[0:a]showwaves=s=640x480:mode=line:rate=25,format=yuv420p[v]" -map "[v]" -map 0:a "%~nG.mp4"
The command should be run in the directory containing the files you want to convert.
Sources (and More Examples)
Posted in Movies, Technology
Tagged batch, code, creative, ffmpeg, hack, media, one-liners, podcast, programming, scripts, video, windows, youtube
I intend watching a whole lot of Who this weekend. Specifically the last two adventures of the Doctor, as portrayed by Patrick Troughton.
So if you find yourself bloated by one too many laddu this Divali Sunday, or chomped on the entire bowl of sweets on Halloween Monday, take a trip through time and space with me, with your geeky host (who is certainly NOT “The Captain!“), back to 1969 to enjoy Doctor Who in The Space Pirates and The War Games.
Let’s send the second Doctor off in style.
Here’s more Old Who than you can brandish a Dalek’s gunstick at! (I know, I know, that was rather hackneyed, but I’ve been doing this for a while and the good material’s getting harder to come by). And even more Doctor Who (New Who, Old Who, and just plain weird Who)!
Posted in Movies, News
Tagged bbc, beeb, cult, divali, doctor who, halloween, old who, patrick troughton, the space pirates, the war games, tv, uk
For more Science Fiction, Fantasy, Horror, Pop Culture and Technology than you can snikt your claws at, subscribe to Roy’s Radio Radio and connect with me on Twitter.