MPEG movies

From freemyipod.org
Revision as of 00:13, 14 December 2009 by Senkus (talk | contribs)
Jump to: navigation, search

Note: I'm not that great of a formatter so please edit to make this look neat and nice. Note#2: Most of the information for this Article is taken from http://www.rockbox.org/wiki/PluginMpegplayer


Anyway to the main topic of this page. These instructions are basicly for ipod nano 2g but can easily be modified to work for any rockbox version.

Do you want to watch movies on your iPod Nano 2g? Feel left out that every iPod Nano except yours can watch movies? Here is how you can watch movies on your iPod:

First do everything in this article (ILoader Howto)including installing rockbox.

Windows Instructions:

Then go to link and download ffmpeg. Extract the 7z archive with a program such as 7-zip. Tell the program to extract the archive to your desktop. Then press windows key+R type: "cmd" (without quotes) and press enter. Now type "cd Desktop" (without quotes). Now find the video file you want to watch and drag it it your Desktop. Now type the following into the windows that poped up when you typed cmd and then enter:

ffmpeg -i [inputfilename] -s 176x128 -vcodec mpeg2video -b 200k -ab 128k -ac 2 -ar 44100 -acodec libmp3lame [outputfilename] 

Also make sure to replace [inputfilename] with your video file and [outputfilename] with the name of the file you want it to be name .mpeg. An example string you would type in would be:

ffmpeg -i myvideofile.mp4 -s 176x128 -vcodec mpeg2video -b 200k -ab 128k -ac 2 -ar 44100 -acodec libmp3lame mynewfile.mpeg

Now wait for the program to finish. Now on your Desktop you should see a new file. Boot your ipod to disk mode. (pressing the middle button in iLoader. Copy your new file to your iPod Nano 2G. Reboot your ipod to rockbox and click files and click on your movie file and it should play.


Linux Instructions:

Mac OS X follow these getting ffmpeg from fink

First install ffmpeg. On Debian-based systems you can use sudo apt-get install ffmpeg.

Now put your video file in a directory. Open up terminal and navigate to the directory of your video file. Type the following:

ffmpeg -i [inputfilename] -s 176x128 -vcodec mpeg2video -b 200k -ab 128k -ac 2 -ar 44100 -acodec libmp3lame [outputfilename] 

Also make sure to replace [inputfilename] with your video file and [outputfilename] with the name of the file you want it to be name .mpeg. An example string you would type in would be:

ffmpeg -i myvideofile.mp4 -s 176x128 -vcodec mpeg2video -b 200k -ab 128k -ac 2 -ar 44100 -acodec libmp3lame mynewfile.mpeg

Note: If libmp3lame doesn't work use just mp3.

Now copy the resulting video file to your iPod Nano 2G. In rockbox navigate to your file and play it.


Several Notes

To get a widescreen aspect ratio try 170x128 try changing the ratio to make a better view.

Your videos might take some time to convert.