Bonum Certa Men Certa

Turning a Podcast Into Video Using Mencoder

Summary: A note and a tip about going from audio to video with Free/libre software

TECHBYTES, our audiocast as we call it, currently comes in two methods of delivery. One is purely audio and another is video plus audio. But YouTube is a large platform and many shows put their material in there. Turning 50 shows into video can be a tedious task with a graphical user interface, whereas with command line tools this process can be automated. After some exploration we found a way to turn audio into a slideshow and then split the files for uploading the resultant Ogg files (given the known upload limits). To encode using a command line utility or set thereof, the following chain of commands gets issued:



mencoder -ss 00:00:00 -endpos 00:10:10 mf://*.jpg -audiofile ~/TechBytes/48/techbytes0048.ogg -ovc lavc -oac mp3lame -fps 0.1 -o 48p1.ogg

mencoder -ss 00:10:00 -endpos 00:20:10 mf://*.jpg -audiofile ~/TechBytes/48/techbytes0048.ogg -ovc lavc -oac mp3lame -fps 0.1 -o 48p2.ogg

[...]

where -ss 00:00:00 means it starts at 0 seconds, -endpos 00:10:10 defines an endpoint using the same type of time format, mf://*.jpg takes all the images in the current directory -- images that are generated by duplication except for the first one. Files can be easily replicated (e.g. to serve as dummy sequence) with:

for file in *.jpg
  do
    `nice cp ${file} ${file}-dupe.jpg`
  done


The remainder of the arguments specify the -audiofile, encoders, frames per seconds (fps), and an output file at the very end. To split videos into smaller chunks, we have tried many different tools but eventually used mencoder to simplify the pipeline (thanks to all those who helped in IRC). This whole command basically turns a simple sound file into smaller ogg files that also contain images with transitions between them. Since it is scriptable, we can now apply this to all past episodes. YouTube is moving to WebM quite soon and in any case, making it a mere option using Ogg format and free software utilities simply broadens our reach.

Comments

Recent Techrights' Posts

Kazakhstan Doesn't Need GAFAM Datacentres (Spy Hubs)
Suffice to say, as far as we can gather nothing came out from the empty (false) promises of GAFAM's "data centers in Kazakhstan"
Christmas Music Project: Back to When Music Was Music
now Canonical (or Ubuntu) says we should make available tens of gigabytes of disk space
Browsing Techrights With a GUI and 10 Megabytes of RAM Per Tab
Some people say it's not possible in 2025, maybe in part because they depend on very bloated software
Gemini Links 25/12/2025: Hibernation and TV Detox
Links for the day
The Right to Repair (Especially When Products Are So Poorly Made)
Many electrical appliances fail often/quick and are nearly impossible to repair
 
Debian's Daniel Kahn Gillmor is Wrong, Signal is No "Gold Standard" (It's Also Promoted by Proponents of Back Doors)
I'm not too sure why Debian or the ACLU would wish to associate with this
Next Year Will be the Year of Quantum, Just Like 2020, 2015, 2010, 2005 and So On
"Quantum" is the future
The Silent Power of Coercion Over Speech
The important thing is optics
So Simple That You Can Touch and Feel It
In light of recent experiences
Internet Relay Chat (IRC) Under Attack by Cross-Network Spam Floods
So far we've been spared (our network has not been targeted at all) [...] Let's hope the spam won't discourage the hundreds of thousands of people worldwide who still use IRC
An "AI-Infused" Windows
Microsoft Windows isn't becoming a worthless pile of garbage by accident
Microsoft Laid Off Over 30,000 People This Year, Coders Are "Too Expensive"
Go get some popcorn. Microsoft "slopware" is about to get real!
Critics Have Long Said Microsoft Produces "Slopware", Microsoft Wants to Prove Them Right
Slop instead of code is a step in the right direction?
The Top 8 Innovations of IBM in 2025
What innovations will come out from IBM in 2026?
And as the Year Turns...
The significance of new years isn't based on geology or astronomy or anything like that
Appliances Versus Computers
Replacing a computer inside an object of some kind or inside an appliance (which nowadays includes "modern" cars) isn't simple and isn't cheap
A Dark Side of Europe
They try hard to silence people who speak about these issues
Why People Love Techrights (and Also Loved "Boycott Novell")
I will continue to publish for many decades to come
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, December 25, 2025
IRC logs for Thursday, December 25, 2025
A Tribute to Richard Stallman
It's about knowledge and sharing
Links 26/12/2025: Impermanence, Salt and Thermometer, Freetube
Links for the day
Canonical is Making the Cost of PCs Very High, Due to Unnecessary Ubuntu Bloat
They say the reason for the price surge is LLM hype/frenzy
Canonical's Ubuntu is Bloatware
How did Ubuntu get so fat?
The EPO is a Very Vicious Organisation You Neither Wish to Join Nor Stay in for "Too Long"
Consider what the EPO thinks of its own workers, the staff that actually does real work
2026 Will Hopefully Turn Out to be Slopless
we seem to be starting the post-Christmas period on the right footing
Links 25/12/2025: Mail Carriers in "a Murky Future", Dihydroxyacetone Man’s "Chip Embargo Against China Backfiring Spectacularly"
Links for the day
The Register MS: All I Want For Xmas is Microsoft
they actually put effort into it
How to Win Nobel Prize for Peace
Do you get to Heaven (or peace platitudes) by sleeping with 72 virgins?
Links 25/12/2025: Ample Cover-up Found in Jeffrey Epstein Files; ChatGPT Causes Psychosis, Not a Good Use Case
Links for the day
Giving Money to Free Software
In life, people must make sacrifices to do what's right and just
The Register MS: Don't Use Linux
That really says a lot about The Register MS
EPO People Power - Part XV - EPO Cocainegate to Resume This Weekend
The next installment (number 16) will probably come out this weekend
Microsoft: XBox is Going "Online", "Cloud"...
XBox as a console is pretty much dead
The Year of the Bubble
We hope that in 2026 the marketing liars will find some new buzzwords to latch onto and quit calling everything "AI"
Mozilla Firefox is a GAFAM Browser With Slop, Move to a Free Software Web Browser
on mobile the options would be more limited
libera.chat Was Under Attack Last Night
Several months from now libera.chat turns 5
Free Software Foundation (FSF) Raises Over $300,000 Before Christmas
the FSF made it past $300,000
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, December 24, 2025
IRC logs for Wednesday, December 24, 2025
Sounds Like Microsoft 'Open' 'AI' (Slop) Ran Out of Money to Borrow
Maybe in 2026 slop will be scarce enough that eventually, maybe by year's end, we'll manage to just ignore it.
In India, Staff Works on Christmas Eve, Becomes Unemployed (Last Day)
The company fires based on how "expensive" workers are more often than based on their productivity
Links 24/12/2025: US TACOs on "China Chip Tariffs Until 2027", Russian Snickers in U.K. Convenience Shops
Links for the day
Links 24/12/2025: Cheeto President "Accused of Rape in Jeffrey Epstein Files", Windows to be Replaced by Slop?
Links for the day
Gemini Links 24/12/2025: Tea, Love During Pain, and Gaming This Year
Links for the day
GAFAM is a Bubble, Nothing is Free in This World
Nothing is free in the world
My New CD Player/Stereo Didn't Even Last a Year, My CD Player/Stereo From the Early 1990s Still Works
That helped reaffirm what I said in recent years about production/manufacturing standards of "modern" things
GitHub Isn't Free, Microsoft Subsidises It (Losses) to Entrap You Inside Proprietary Software, Now Come the Fees
GitHub was never free
XBox Console is Dead, "Microsoft is Rethinking What XBox is"
So XBox is now "cloud"
IBM SkillsBuild: Teaching Slop to People
What skills does that give? Making more slopfarms?
Maybe 2026 Will be the Last Year of António Campinos
Europe's patent system is run by thugs and it serves thugs
2025: The Year LLM Slop Rose to Prominence and Then Fell
the slop hype is bound to end
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Tuesday, December 23, 2025
IRC logs for Tuesday, December 23, 2025
Links 24/12/2025: Spotify Surveillance and Shadow Over Rule of Law in Hong Kong
Links for the day