Re: convert avi to cellphone friendly 320x176 mp4 file...ffmpeg to the rescue
Hi djhvt,

Originally Posted by
djhvt
So i have an E62 and want to do exactly what this post says, but i have no clue what this post is telling me to do nor do i have any idea what ffmpeg is lol.
ffmpeg is the greatest converter in Linux. Some would see it as a little difficult but when someone has done the hard yards and produced the syntax for you it is dead easy
.
can someone dumb this down a bit and walk me through the actual steps? My delicate psyche will thank you when im on my 13 hour bus odyssey and the only electronic device (with a battery worth a damn) i will have is my cellphone
It is my personal opinion that you would be best to compile your copy of ffmpeg from source but never fear there is a great guide on the forums:
HOWTO: Compile the latest ffmpeg and x264 from source
http://ubuntuforums.org/showthread.php?t=786095
And then use the syntax suggested by our friend:
Code:
ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 \
-b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 \
-refs 6 -g 250 -keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 \
-me_range 12 -i_qfactor 0.71 -directpred 3 outputFILE.mp4
I have obligingly made the input file and the output file red for you, and the audio codec (aac) and video codec (h264) blue. The rest is clever manipulation of small parameters: if it looks good on his phone it will look good on your identical phone
.
All the best,
Andrew
You think that's air you're breathing now?
Bookmarks