I've attached an ffmpegX Settings file that I've been using to encode very high quality H264 videos for my iPod. The results are very close to what you would get if you use Apple's "H264 for iPod" export from QT Pro (or iMovie, etc.). File size is similar, as well.
The attached setting file is:
ffmpegx_setting-ipodh264,500kb,48k@128k,q5-30,30fps.ffx
Note that this setting is for 16:9 (320x176) so you'll have to change this if your source file is 4:3.
Just in case the file can't be found (maybe I pooched the UL process), here are the specs I used:
(from the Summary popup)
iPod h.264
(from the Video tab)
16:9 (320x176)
NTSC 29.97 fps
500kbps
(from the Audio tab)
96kb
48000Hz
Stereo
CBR
>>>Watch out; I used track 1 because I had two tracks and wanted the second. Track 0 is the first. Set this properly for your situation! <<<
(Nothing from the Filters tab)
(from the Options tab)
Contant bitrate
i4x4 analysis
Decode with Quicktime (necessary if you end up with video that's twice the speed of the audio).
QMin: 5
QMax: 30
After about 50 encodings of the same file at various settings, I believe three settings have made the important difference:
500kbps video - lower rates are fine for "iPod only" but this setting produces videos that look fine on (other than big-screen) TV's.
QMin and QMax of, respectively, 5 and 30. This adds a bit to the encoding time and also boosts the file size (about 70%).
I haven't played with the ME function settings yet but will do so to see if there is anything to be gained.
I'm using a 2.0GHz dual-CPU G5 (Spring'05 generation). Encoding using these settings takes about an hour or so for a 100 minute video. Apple's QT Pro "export" function takes about 6-8 hours. The quality is virtually the same.
By the way, you might think that I should simply use the MPEG-4 settings and make the video larger (640x360) and use a higher bitrate. To match the quality of "my" settings for H264, the mpeg4 settings will produce a file that's much larger. Specifically:
1.3GB AVI source > iPod H264 setting (standard) > 291MB
1.3GB AVI source > iPod H264 setting (mine) > 491MB
1.3GB AVI source > Apple's iPod export > 495MB
1.3GB AVI source > ffmpegX mpeg4 tweaked for = quality) > 670MB
I should also note that a QMin of 2 resulted in a file that would transfer to the iPod but would not play and, once in the iPod, could not be renamed within iTunes (and would crash the app).
This is not meant to be a "here it is; the final answer" message; rather, please consider it a starting point for experimentation on your part. How can we improve quality and still keep the file size reasonable?
Results 1 to 7 of 7
-
-
Apparently, the "MP4 H264" (mencoder) setting is not iPod compatible (with Qmin:5 and QMax:30 although the "Q" setting may have nothing to do with it).
Not a complaint, mind you, but just another result to report.
-
Funny thing - Using the preset with "my" settings seems to encode many of my video's with beautiful results. However, Citizen Kane shows some artifacts and I think it's because it's B&W. The problem areas are in expanses of monotones (the foggy night scene at the start of the film, for example). Time for more experimentation, I guess.
BTW: A few of my other vids that had not converted with a quality level I wanted -did so- after applying my tweaks (500kb, QMin5-Qmax30). I've also been using the "Decode with QuickTime" checkbox simply to avoid the possibility of that double-speed video mentioned in other threads. The app (v0.0.9uR2 as of this writing) is working great.
Similar Threads
-
File Converted by Handbrake (0.9.3) Using iPod Preset Won't Play on iPod
By GrayStrickland in forum Video ConversionReplies: 0Last Post: 8th Mar 2009, 20:56 -
VIDEO_TS to iPod H.264 and subtitles
By veravera in forum ffmpegX general discussionReplies: 2Last Post: 9th Aug 2008, 15:39 -
Ipod - h.264 or MPEG-4, which one is better?
By FallenAngelII in forum DVD RippingReplies: 1Last Post: 10th Jan 2008, 11:12 -
converting to h.264 for ipod
By nagihcim1 in forum Newbie / General discussionsReplies: 4Last Post: 2nd Nov 2007, 08:27 -
iPod H.264 640X480 3gp_converter hack
By ssj2_goha in forum Portable VideoReplies: 87Last Post: 12th Oct 2007, 19:01