building mencoder on Mac OS X
I use homebrew instead of fink (gross) or MacPorts.
There isn’t a formula for mencoder/mplayer, so you want to get comfortable, and build the package and discover any dependancies. I had to install faad2, ymmv.
HELP I CANT BUILD MENCODER, I GET AN ERROR AND BTW WTF IS BINUTILS LOL
./configure '--cc=clang'
THAT WORKED
You’re welcome.
videomerge.sh
In the process of encoding my LaserDiscs of the theatrical releases of the original Star Wars trilogy, I’ve ended up with multiple files for each film. This is because back in my day, there was no BluRay or DVD and a LaserDisc can only accommodate 30-45 minutes each side.
For my co-host and those under the age of 30: Yes, we flipped a movie over periodically to continue watching it. The 1% had their “auto flip” LD players that had a laser that could play both sides without such vulgar measures, but most of us flipped.
In the case of the Holy Trinity, this is really ugly because there are three “sides” for each of the original releases, so you’ll end up with three files that you’ve encoded. Now how to gracefully get them all into one file without using really stupid workarounds?
You’ll need a script (below) and mencoder, which you can build from source or get binaries for at the mencoder download page. Ensure mencoder is in your $PATH, make this script executable, and merge your treasured videos into a single file.
#!/bin/zsh
usage ()
{
echo "do not taunt videomerge.sh"
echo " "
echo "usage: videomerge.sh 'newfile.avi' 'video-part1.avi' 'video-part2.avi' 'video-part2.avi'"
echo " "
echo "the third file is optional, and you can hack the script to support more if you want."
echo " "
echo $errmsg
}
# test if we have at least three arguments on the command line
# otherwise, what are you here for?
#
# if [ $# != 3 ]
if test $# -lt 3
then
usage
exit
fi
# test if file one exists and send an additional error message
# to usage if not found
if [ ! -f $2 ]
then
errmsg=${2}":File Not Found"
usage
exit
fi
# same for file two
if [ ! -f $3 ]
then
errmsg=${3}":File Not Found"
usage
exit
fi
#
# You can get binaries for mencoder from Sourceforge or build your own, out of scope
# for this script.
#
# mencoder will actually let you merge more than two files.
#
mencoder -oac copy -ovc copy -idx -o $1 $2 $3 $4
(Source: ollymoss, via merlin)
Recorded episode 20 of the hellyeah! show tonight.
It’ll be up soon on the website and swiftly following on iTunes.
Tumbling the anniversary tumblers my wife let me open early.
Half of the world’s wealth is in American hands.
If you ask me, this is a bargain, considering how delicious Bluefin is.
January 4, 2012 at 8:31pm
1 note
I’m actually not against anti-aliasing, but I absolutely cannot stand it when I’m using a monospaced font in a text editor.
I don’t like to change it systemwide, but to make BBEdit have different rules for anti-aliasing, get thee to the terminal!
defaults write com.barebones.bbedit FixedWidthFontSmoothingThreshold -int 16
December 30, 2011 at 1:40pm
6 notes
Ron Paul has received an endorsement from a mouth-foaming Evangelical Ayatollah, who believes a Ron Paul Presidency would allow him to bring about a radical “Christian” theocracy to Americans.