I have taken a AVI file and converted to the correct mp4 to put it onto my 30GB iPod. I have taken notes and heres what Ive come up with. I hope it helps!
First get the latest CVS with this:
Code:
cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg
This will make a ffmpeg dir and get all the needed files off the server (duh i guess but just explaining everything
)
You then get into that dir and need to configure the build. For some reason this part was the hardest for me to get. I had to run the following command before i ran the ./configure. This will pull everything ffmpeg needs and shouldn't give any build errors.
Code:
sudo apt-get build-dep ffmpeg
Make sure to have the sources in the repositories correct.
as well get the following 2 commands for libfaad-dev and libfaac-dev and the xvid librarys
Code:
sudo apt-get install libfaac-dev
Code:
sudo apt-get install libfaad2-dev
Code:
sudo apt-get install libxvidcore4-dev
Ok so ready to configure for build heres what i used:
Code:
./configure --enable-gpl --enable-pp --enable-vorbis --enable-libogg --enable-theora --enable-a52 --enable-dts --enable-dc1394 --enable-libgsm --disable-debug --enable-faac --enable-xvid
Ok now lets build
Let it run through, takes a few minutes on a 2GHz
Once completed go ahead and install it with:
Done!
Now to convert here is the command I used, it doesnt do a great job at making the files smaller but it works as of right now and Im working on getting a better way of getting the files smaller
Code:
ffmpeg -y -i input.avi -b 768 -s 320x240 -vcodec xvid -ab 128 -acodec aac -ac 2 -ab 64 -f mp4 output.avi
And that is all to it! Took me about 10 minutes to convert a 45 minute show.
I hope this helps someone because I have been looking everywhere to find a solution to this. And if this doesn't help anyone...well umm Im sorry Im no help still a total newbie at this stuff.
~Baens
Bookmarks