If you are a lucky iPhone owner, by now you might have discoverd what a pain it is to use EyeTV for deleting commercials. You had to actually select each and every commercial break manually, then compact your recording, then export it n an appropriate format for the iPhone.

Today, I came across a solution (from a frustrated user), read on for detailed guide:

  1. First you want to install X11 for Mac OS X if you don’t already have it. You’re going to need it to compile Mplayer. If you don’t know where it is, it’s on your OS X install discs under additional software.
  2. Go get Macports if you don’t already have it. You can get it from here.
  3. Follow the installation instructions for Macports including running the selfupdate. After doing so, run the following commands in a terminal:

    sudo port -v install ffmpeg +a52 +faac +faad +gpl +lame +x264 +xvid

    sudo port -v install mplayer +darwin_8 +darwin_i386 +faac +macosx +x264 +xvid

    sudo port -v install wine

  4. Now that you’ve installed all that software, go get comskip. I use version 79_99. It’s an open source mpeg commercial detector that works great. You don’t have to install it into wine or anything. Just unzip it and put the folder inside a folder called “wine” in your documents directory.
  5. Now, download this comskip.ini file and place it in your comskip directory.
  6. Make two new folders on your desktop called newvids and oldvids.
  7. Download this bash shell script and put it on your desktop. In a terminal, cd to your desktop and type

    chmod u+x avitoh264.sh

  8. Edit the shell script and replace all instances of “tannhaus” with your username.
  9. Now everything is installed and we’re ready to do our normal process of removing commercials from our EyeTV programs.
    1. Go into your recordings in EyeTV. If you wish, cut any excess from the beginning and ending of the programs – before the actual program you were intending to record starts. Then compact the edited files.
    2. Export the files in mpeg2 format into the directory “oldvids” on your desktop.
    3. Open up a terminal and type “cd Desktop”
    4. Now type “./avitoh264.sh”. A lot of gunk is going to fly by on your screen…including a lot of errors if X11 isn’t running. If it’s not, don’t worry about it. It will work anyway. It just throws a lot of errors.
    5. When it’s finished, you will find all your newly formatted and commercial free videos in “newvids” on your desktop. You may now import them into iTunes and sync them to your iPod or iPhone.


Links for Reference


[tags]iPhone, iPod, Video, mpeg2, downloads, ads. mac osx[/tags]