Download, convert & sync videos to your iPod – without touching your computer


I think the title says it all, but in case you hate titles and skip right to the meat of these posts; this write-up is going to walk you through getting videos from the internets automatically (for those without a DVR that lets you keep your vids), convert them to an ipod compatible file (automatically), then add the new video files to iTunes (again automatically) to sync with your ipod the next time you plug it in.

Once you have this set up and running, the only thing you have to do is plug in your ipod and it will sync your new videos. It’s like the “set it and forget it” for ipod videos.

The method I am going to explain makes use of a couple of programs that you are going to need to download and have a basic understanding of. Uber-geekery is not required. This is a windows only solution, sorry haters.

What you will need:

  • A torrent client that supports RSS feeds. This is the program you will use to download your video files automatically. I used to use Azureus, but have recently been enjoying uTorrent for its thin memory footprint yet full set of features.
  • Autompeg4 – does the batch conversions of the video files you have downloaded. I know there are more robust, faster and possibly better converters (VLC is sweet, unfortunately its batch capabilities are currently limited) , Autompeg4, however, fits the bill perfectly for this situation. It is able to do batch conversions of all of the video files in a directory, and it can be run from the command line – perfect for batch files. Autompeg4 requires a couple of additional files for it to work properly, as is outlined on it’s web page. Some of the links on Autompeg4’s site don’t work any more, so I have included instructions as well as links that I have found to work as of this writing.
    • AviSynth – download & install (Version 2.5, not the alpha)
    • ffmpeg – download 3GP Converter; unzip the download file, and extract the files “ffmpeg.exe” , “avsredirect.dll”, “cygwin1.dll”, and “cygz.dll” from the “cores” folder. Place these two files in the same folder as AutoMPEG4.exe.
    • Mencoder – download the file compiled for your processor type under [Precompiled Mencoder binaries – XviD 1.1.2 – x264 svn] & extract mencoder.exe into the same folder as AutoMPEG4.exe.
    • Mp4box – download & extract mp4box.exe into the same folder as AutoMPEG4.exe
    • Microsoft .NET 2.0 Runtime Environment – Download & Install
  • iTunes Library Updater – Download and install.
  • ffdshow – Just to be safe, this will make sure you can decode almost any video file you can download. Just download ffdshow-20020617.exe and install.


The contents of your autompeg4 directory once you have downloaded and extracted everything you need.

Ok. Now to be clear on the above requirements, you must install Microsoft .NET 2.o, uTorrent and Avisynth, the other files need only be downloaded and put in a single directory.So lets get started with the setup. First and foremost, you need to set up uTorrent to download your video files automatically. For this exercise we will use a TV show as an example. The site that I recommend using for all your TV show needs is, it almost always has what you are looking for and it supports RSS feeds for your TV show searches.To set up uTorrent to download automatically:

  1. First, we will set up uTorrent to download a file to one directory, then when the file is done downloading, it will be moved to a new directory. This will make sure that when we are encoding files, we will only try to encode complete downloads.
  2. Under “Options” select “Preferences”, then on the left side, click on “Downloads”
  3. Make sure the boxes are checked next to “Put new downloads in:” & “Move completed downloads to:” and un-check the box next to “Always show dialog on manual add”
  4. Click on the “…” next to both the new and completed boxes and choose two separate folders for the files. For example in “My documents” create one folder named “downloads” and one named “completed” and choose these two locations for each location.
  5. Now go to and find the show you want by clicking on “Shows” and finding your show on the list. Select a distribution group, either usually works fine, but check the list of videos and choose the one with the most distribution, then click on “search” to only show that distribution group’s episodes.


  6. Right click on “Search-based rss feed” and copy the link address. In internet explorer it’s called “Copy Shortcut”, in firefox it’s called “Copy link location”


  7. Open up uTorrent and under “Options” select “RSS Downloader…”


  8. Click on “Add” and then paste the copied link from into the box (try ctrl+v) or right click in the box and select “paste” and click on OK.


  9. Once you have added the link, click on the tab named “Favorites” and click on “Add” down at the bottom. Then with your new filter highlighted, add “**” (two asterisk) in the box next to”Filter:”, then click close. This tells uTorrent to download all of the available files.


  10. You may notice now that uTorrent adds a lot of videos to the queue, if you don’t wan all of the old, ones, right click on them, and select “Remove and Delete .torrent + data”.

New Show Found!


Ok, now if I have been clear, and you have followed directions, you are now downloading videos automatically, and when they have completed downloading they are automatically being moved to a new directory, sitting there all pretty, waiting to be converted and put on your shiny new ipod (automatically).

Now lets set up Autompeg4 to convert your video files. The sweet thing about this setup is that it doesn’t come with a pretty interface, no bells, no whistles, only raw converting power. It’s able to be run from a command line, which means you can use simple Batch files to do all of the heaving lifting, and you can use your system scheduler to run these scripts on a regular schedule, but I will get back to that later.

You will see that when you downloaded Autompeg4 it came with a file named autompeg4options.txt. This .txt file is what autompeg4.exe gets it’s settings from, so whenever you run autompeg4.exe in the command line or in a batch file, you need to type: autompeg4.exe “autompeg4options.txt”.

Lets go ahead and set up our first batch file now. I will name this file “ividconvert.bat”, and I want this batch file to accomplish 3 things. First I want to copy all of the video files that have been downloaded by uTorrent into a temporary directory, so that we don’t do any conversion and corrupt any of the original video files that have been downloaded. Second we will run autompeg4.exe with our edited autompeg4options.txt file. After the conversion, it will run a cleanup batch file which will in turn run the iTunes syncing batch file, both detailed in a bit.

Your first batch file should look something like this:

cd “c:\directory where utorrent moves your completed videos to\”
copy *.avi “c:\folder for your temporary video files\”
cd “c:\directory where autompeg4.exe is located\”
autompeg4.exe “autompeg4options.txt”

You can check out my example ividconvert.bat [right click and ‘save as’].

Now edit your autompeg4options.txt file to set up for encoding. The finished file should look like this:

sourceDirectory=c:\folder for your temporary video files




What to learn from this file: It looks in your temp video folder for all files with a .avi extension, converts them to a ipod manageable size (320×240 pixels) with a video bitrate of 200 and an audio bitrate of 64. It then creates a new .mp4 file with these settings and puts it in a folder named “c:\folder for your temporary video files\convertedvids\”. Please take care to create these folders before running the conversion, or it may get messy.

You can take a peek at my example autompeg4options.txt [right click and ‘save as’].

Now we need to create a couple more batch files and put them in the same directory as autompeg4.exe. The first cleans up the temp video directory and moves your new .mp4 files to a nice new folder, away from all the conversion clutter. I call it cleanup.bat and it looks like this:

cd “c:\folder for your temporary video files\”
del *.avi
cd “c:\folder for your temporary video files\convertedvids\”
move *.mp4 “c:\path to my documents\my videos\ipod videos\”
cd “c:\directory where autompeg4.exe is located\”

You can check out my example cleanup.bat [right click and ‘save as’].

The next batch file runs iTunes library updater and adds your new .mp4 files to iTunes. It’s name is itlu.bat, and it goes a little something like this:

“%PROGRAMFILES%\iTunes Library Updater\ITLUconsole.exe” /a /l /r /e:”.mp4″ “c:\documents and settings\mike\my documents\my videos\ivids”

That’s all on one line, check out the example itlu.bat [right click and ‘save as’]. Thanks to lifehacker for this tip.

And now finally, we will edit the file “autompeg4template.txt”. This file is basically the heart of the process. It is in charge of all the behind the scenes action. The original file that came with the autompeg4 download uses 2 passes to convert the video. I think I prefer a single pass at the moment, it converts faster and I haven’t seen any significance in video quality or file size by using two passes. So edit the “autompeg4template.txt” file to look like this:

mencoder.exe[EXEARGS]%INPUT% -ovc lavc -passlogfile “.stats” -nosound -lavcopts vcodec=mpeg4:turbo:vpass=1:vbitrate=%VIDEOBITRATE%:vqdiff=2:vqblur=0:vqcomp=0 -o “video.m4v” -of rawvideo
mp4box.exe[EXEARGS]-add “video.m4v”:fps=29.97 -new %OUTPUT%
ffmpeg.exe[EXEARGS]-i %INPUT% -vn -acodec aac -ab %AUDIOBITRATE% audio.mp4
mp4box.exe[EXEARGS]-add “audio.mp4”:lang=eng %OUTPUT%

Note that all arguments for each exe file should be on one line. Check out my example autompeg4template.txt [right click and ‘save as’].

That does it for converting. If it is set up correctly, you should now be downloading files automatically, and you have set up the complete conversion and syncing with iTunes by running one batch file. But wait, I promised complete automation didn’t I?

Fine. In windows, open up your Control Panel then open “Scheduled Tasks”. Open “File>New>Scheduled Task” and name it something cute, like fluffykittens or ividconvert. Now right-click on your new task and click on “Properties”. Next to “Run:” click on browse and find the file you created name “ividconvert.bat”. In the box next to “Run as:” put in “NT AUTHORITY\SYSTEM” without the quotes. This will run your conversion as a system process, making it almost invisible. Make sure the box next to “Enabled” is checked, then click the “Schedule” tab at the top. I would leave the schedule on daily and maybe set it to every 2 days, any longer and it will be crunching for hours on end, depending on the amount of videos you are downloading. Now set the start time according to your schedule, preferably when you or anyone else won’t be near the computer. Sleepy time works great. Now click the “Settings” tab and check the box next to “Wake the computer to run this task”. Finally click on “OK”.

That should be it. Now all you have to do is plug in your ipod occasionally and your videos will sync.

Please keep in mind that this method works as described for me. It may not work for you. The programs I used are not my own and are the property of their creators. I have noticed that running the itlu.bat file under “NT AUTHORITY\SYSTEM” doesn’t always work as planned, if that is the case, simply remove the reference to itlu.bat from the cleanup.bat file, and make a new scheduled task the same way you did above and keep the “Run as:” set to the default user. This defaul method usually requires that the account user in question has a password associated with their login. If you don’t have a password, and don’t want one in able to run a task, disable the requirement like so:

For Windows XP Profession users: Go to Start/Administrative Tools/’Local Security Policy/Security Settings\Local Policies\Security Options Accounts: Limit local account use of blank passwords to console logon only. This is enabled by default, disable it.

For Windows XP Home users: Go to Start/Run/Regedit and navigate to this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Change the key named ‘limitblankpassworduse’ (Type: REG_DWORD) to 0 (disabled) or 1 (enabled).

A great tutorial on scheduling tasks can be found here [via lifehacker]

I hope you find this tutorial informative. If you have any questions feel free to ask in the comments. I may not reply though, simply because writing this silly tutorial leaves me feeling pretty burned out. I have a lot of respect for the peeps at lifehacker, makezine, hackaday & the like.

Oh, and while I did spell check once, I did not proof read this post. So if you see an mistakes send a postcard noting the error to the address listed at the beginning of this post.

Made you look.

25 thoughts on “Download, convert & sync videos to your iPod – without touching your computer

  1. Pat

    Thank you! Thank you! Thank you! I’ve been using uTorrent to download videos, but wasn’t sure how to automate moving them into iTunes and onto my iPod. I will be trying this out tonight! Thank you again!

  2. Davin Peterson

    iPod Video unfairly dominates the market and aren’t the only Video player. What about the Creative Zen Vision players? Creative’s Zen Vision:M and W (Widescreen) screens are 4 times the color of the iPod (262,000 vs. iPod’s 62,000) and are true video players. They also support more video formats than the iPod such as WMV. So stop saying iPod all time and say iPod, Zen or other Video player.

  3. Ben Murphy Post author

    @ Davin Peterson:

    I understand what you are saying, but I only have an ipod to sync videos with. I wrote this tutorial because I wanted to know how to automate the process. I don’t own a zen vision or a zune or any other video player that connects and sync’s with my computer. I do know that mp4 is becoming a pretty standard video format (I think) and you can probably take a lot of this tutorial and adapt it to fit your other video players needs, but I don’t know how those other video players sync their media, or how to automate the process.

    Thanks for your interest though.

  4. Dave

    This looks fantastic and would be incredibly helpful, but I’ve followed this all to the letter (three times now), and all I’m getting is an .mp4 file as output with audio only. 🙁

    Might be a Windows Vista compatibility bug?

  5. Curious

    Great tutorial…
    My only question is, I setup a second RSS feed after successfully starting the first feed. However, my feeds still show only the first one. How do I have multiple feeds start coming in and downloading automatically as well?

  6. Ben Murphy Post author

    @ Dave,

    I have only tried this method in XP so I am not aware of how it might work in Vista. What I do know is that mencoder.exe does the video conversion, ffmpeg does the audio conversion and mp4box packs them both into the .mp4 file. From my understanding autompeg4.exe facilitates the process. What I would suggest is trying a different version of mencoder.exe. Try downloading “MPlayer 1.0rc1 Windows” from this site: and extracting mencoder.exe to your autompeg4 directory.

    Also I would suggest that you try running just the conversion process by itself. Go to your autompeg4 directory and drag the autompeg4options.txt file on top of the autompeg4.exe file.

    If it works correctly a new cmd window should pop up with a bunch of conversion information, the bottom line being the status of the conversion, you should see a frame count going up rapidly, a percentage completed Time remaining, etc. While all of this is happening you should see in your autompeg4 directory a new file called video.m4v, it should keep getting larger, this is the video file conversion.

    Once that has completed you should see a new cmd popup that references creating an iso, this is packing that .m4v file into a new .mp4 file. Then ffmpeg will pop up and start transcoding your audio, which will then be packed into the same .mp4 file once complete.

    So try running it manually, make sure all steps are being completed, this might be an insight into what is not functioning correctly.

  7. Shucker

    Well I had a ton of trouble until I realized a few dumb mistakes I made and some not so dumb ones. I finally got it to run but am left with a couple of issues:
    1.) Widescreen source videos. Almost all of my videos are widescreen, but not all. That sucks and just serves to make things more difficult.
    2.) Completed videos get processed over and over again because temp files and converted files get deleted/moved. Not really sure what to do about that other than move the completed files manually each day. But then I have to make sure the files I move have already been encoded.

  8. Alex

    Hey great guide I still couldn’t get mine to work, maybe if you have time you could put it all in a little app that just creates the requared folders and extracts the files? Anyway the idea is really cool.

  9. Anony11

    Having issues right off the bat. Followed exact instructions. Running the first batch, ividconvert.bat, produces errors off the start like this:

    “C:\Documents and Settings\MYCOMP\Desktop\autompeg4>cd ôC:\IPOD\Vidsö
    The filename, directory name, or volume label syntax is incorrect.

    I assure you the directories are correct and my autompeg4 is in a folder on the desktop, that’s the only change.

  10. David

    This works great but you have to add a few more lines of code so that all your videos don’t keep getting processed.

    1. Copy my downloaded files to a folder called “originals”
    2. Then MOVED the downloaded files to a temp folder.
    3. Process the files in the temp folder
    4. After they’re processed the new .mp4 files are created in a “converted” folder
    5. When the processing is over, I delete the files from the temp folder.
    6. Then I run the itlu function o the “converted” folder
    7. Once they’re imported into my itunes I MOVE them to a “Finished ipod” folder (or you can delete them if your itunes consolidates your media files).

    This way all the folders are clean, for the next batch of processing. The only copies left are in the “originals” folder (.avi), and the “Finished ipod” (.mp4) folder.

  11. Mike Baird Post author


    Great tips! always looking to streamline the process.


    I’m not sure what the problem might be, as I said above, I’m pretty sure ffmpeg does the audio conversion & mp4box puts the audio and video streams together. There may to isolate using just the ffmpeg process to see if it is creating the audio correctly, then you will know if that or mp4box is the problem

    Also something new on Lifehacker the other day was a writeup on Handbrake (link) It claims to have a command line interface. I plan on checking it out and seeing if there is a way to simplify the process.

  12. Pingback: 50 Free Tools to make your iPod Better and … »

  13. Jacob Klint


    I am the author of the autompeg4 program, and I ran across this guide recently. I’m happy to see others are getting use out of the program!

    I wanted to let you know that I just released a brand-new version of autompeg4. It has been totally revamped – it now has a nice GUI, a new name (“MpegALot”), much improved multi-threaded batch encoding features, and so on. It still retains a command-line mode though for automated batch encodes as you describe here (although the settings file format has changed so old settings files will not work, sorry for the inconvenience!)

    You can download the new program here:

  14. Pingback: ceramic owl mug » Blog Archive » Update: Autompeg4 is now MpegALot

  15. ShaneB

    There must be something wrong with the audio portion of this configuration. I’ve checked and re-checked against this guide, but ffmpeg just starts, sits there for a bit, then closes, with no audio generated. Therefore my videos have no audio. 🙁

  16. Michael Baird Post author

    I looked into using VLC before I came up with the autompeg4 solution. I looked to their forum for help on doing automatic batch conversions to the mpeg file format and was told at the time that no such solution was inherent without a bit of scripting, which honestly I didn’t know how to do, nor had time to learn. My post on the forum is here:

    and it looks like someone has since posted a solution, or at least a starting point.

    Good luck & let me know how it works out.

  17. Michelle

    for some reason, every time i hit the Itunes Library Updater download link- the 403 Forbidden page comes up.. i’ve tried getting it through google and the original sites, but it keeps coming up. any suggestions?

  18. Michael Baird

    Michelle, It looks like the original host is no longer available, he seems to have had problems with his hosting service. If you google itunes library updater, other sites have it hosted for download, or I would also recommend using ipodifier, which does a pretty good job of automating the process and syncing itunes, all in one app.

  19. Pingback: denise

Leave a Reply

Your email address will not be published.