Watch the Show
Program Schedule
Program Schedule
ffmpeg + Linux Saves The Day
This is all fine and good, but come 8pm when we sign off the air, it's time for me to check to make sure the files are all okay for the record-to-disk.
With regret, the first 20 minutes were badly damaged due to the crash, or so it seemed. None of our installed applications on Windows 7 would open the file. Media Player wouldn't play it. PowerDirector wouldn't open it. Xilisoft wouldn't convert it. I'm in trouble. I answered some viewer questions in the first 20 minutes of the show, and I really would feel bad to lose those, especially considering some of the viewers involved may not be tuning in live, but might plan to catch the episode on the RSS feeds.
Rather than monkeying with the file too long on Windows (which was proving to be a futile effort), I zipped the file across my network to my Ubuntu Linux laptop.
Of course, Linux will save the day—it always does!
I try opening the "corrupt" video file by double-clicking it. Welcome to Linux: it just worked. Totem started playing the file no problem, even though Windows was hopeless to open it. The irony to me is that the files are recorded in WMV format. Last time I checked, the ".wmv" in my filename stands for "Windows Media Video". Typical.
Great! So Linux can open my botched Windows video file. Now, to get it to the point where viewers can also enjoy the video, regardless of what platform they're on.
A simple command in the terminal to tell ffmpeg to read and re-write the video in full quality...
ffmpeg -sameq -ab 192000 -ar 44 -b 1200 -i myinputfile.wmv myoutputfile.wmv
Xilisoft merges the two files together into a nice quality WMV, and off it goes to Blip.tv for conversion to h.264 and our other online formats for global distribution.
Once again, Linux (and ffmpeg) saves the day.
EPISODE 229
Nominate Robbie Ferguson for a social media award in the Shorty Awards webshow category. Click Here.
Viewer Testimonial
Category5 is amazing!
Even when there are shows about a subject that isn't of immediate interest to myself, such as the current web design feature (no matter how much I respect the people who do these things and are capable and creative with them), to hear Robbie talk on and on and on about it all the time makes me fall asleep with boredom, so I don't need any sleeping-pills to prevent laying awake from questions like what Linux distribution to use, or what gadgets to get next.
Thanks Category5, keep up the good w...
Joshua Jot Avarius ( Home. Duh.
) 04/05/2011 03:29pm



Comments
RSS feed for comments to this post