That settles it: Mpeg4 VS H.264 experiment

I hope this helps people with their videos on ipods:

480 resolution mpeg4 at 2500kbps
VS
320 resolution h.264 at 768kbps

The mpeg4 video is more than twice the file size, and at least HALF the quality of the H.264 file despite being larger resolution. When the quicktime images are scaled up on the screen and played side by side at equal sizes (about 640 width each) it is cleary obvious that the mpeg4 file, despite it's much larger file size is of far poorer quality than the H264 file.

Conclusion: use h264 for your ipod videos, it's lower in file size and superior in quality even though it has a lower bitrate and resolution, it will translate better both on your ipod and to television.

Posted on Nov 7, 2005 6:31 PM

Reply
19 replies

Nov 8, 2005 12:53 AM in response to DJ Steve

That's weird, I haven't had any such problems. I had problems at first working out the encoder settings, but if you have the right settings it works.

Sounds like a possible problem could be your bitrate. If you use an encoder that gives an average bitrate, then setting it at 768 would mean that itunes would load it onto your ipod but the ipod wouldn't be able to play it because it would vary in bit depth over and under 768kbps, so if you have to use a variable bitrate try setting it to 650 or 600 - still yeilds very good quality video (considering the size of course). The best way to do it is with quicktime export to ipod but you have to pay $30 for that, OR you could set your encoder to a fixed bitrate at which 768 should work fine, (or even try 760 to be safe).

Nov 9, 2005 8:42 PM in response to liam biggs

I found that is probably because you need to set your encoder to *single pass* otherwise it won't load into the ipod. Also, you need a fixed bitrate of 768 or lower, NOT an average, and 320X240 max resolution (of course you probably know that part). But the single pass was a tricky one I had to work out by experimentation I thought it wouldn't matter because it seems to be an encoder stage thing but apparently it does make a difference. It's worth persevering with because 264 really is much better than mpeg4 IMO and you can put double the movies on the ipod at twice the quality.

Nov 9, 2005 9:57 PM in response to Miklos Power

I disagree. I get better looking results with mpeg4. Using Handbrake, I set it to 540x416, average bitrate to 2300, framerate 29.97. It looks much better than H.264!

Of course, the file size is much larger (60 MB instead of 20 MB for a 3 minute video), but I rather have a better picture.

If you really must have a minimum file size, then, yes H264 is your choice.

Nov 9, 2005 11:03 PM in response to Kevin Takada

Hmm, well that is strange. I mean H264 is supposed to be 4X better than DVD anyway. It does look pixelated and bad if you play within itunes either that little window or in a seperate screen but if you play the videos within quicktime they are crystal clear that that bitrate as good as DVD (relevant to their smaller resolution or 320). 520resolution won't play in an ipod incidentally. When you view the h264 vids in quicktime, on the ipod, or from the ipod to TV they look great I had heaps of big and very distracting artifacs with mpeg4 at 2500kbps. The reason I post this again if I sound like I'm repeating myself is that I wondering what we are doing different to get these different results. Maybe I did something wrong with mpeg 4.What should the keyframe be in mpeg4 within quicktime- that seems to be automatic in handbrake. Maybe I should encode directly from handbrake. I did encode the mpeg4 from a h264 file (ie I made two smaller files from one big one - the first was 720 resolution and then make one 480 res mpeg4 and one 320 res h264 from that the mpeg was 2500 kbps and the h264 was 768. Maybe I should re do it from the original source material.

Nov 24, 2005 10:35 AM in response to Miklos Power

Miklos,

Thanks for a great post subject. I am relatively new to this conversion process. I too am using Handbrake for DVDs, and Quicktime Pro and Forty-TwoDVD-VXPlus for other videos. I was wondering if you could do me a favor and list your exact settings in Handbrake for the H.264 files. Specifically the following:

File format
Codecs
Frame Rate
Encoder
Quality
Grayscale Encoding - on or off
2-pass encoding - on or off
Audio sample and bit rates?

Thanks,
Jack

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

That settles it: Mpeg4 VS H.264 experiment

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.