View Full Version : Question about exporting to iPod


Heath McKnight
January 3rd, 2006, 12:11 PM
I've had no problems exporting DV to my iPod with the QT Conversion iPod option, but when I try something shot and editing with 1440x1080i Sony HDV, it never letterboxes, nor does it go anamorphic--it just stays stretched out vertically. What do I need to do to make it work and letterbox?

Thanks,

Heath

Nate Schmidt
January 4th, 2006, 10:22 PM
Try downloading the free app iSquint it is a lot faster that Quicktime for ipod encoding, the site says it is compatible with HDV, but I have never tried so your mileage may vary

Heath McKnight
January 4th, 2006, 11:35 PM
Thanks. I had to do a work-around: export to 10 bit uncompressed and go from there.

heath

Guest
January 5th, 2006, 07:26 AM
I'm going to try to export a few of Kaku's HVX clips to my iPod today. I want to see how they look and compare them to some iPod movies I exported from GL2 footage. Glad to see you doing this as well Heath. Probably took 2 seconds on your Quad!

Guest
January 5th, 2006, 08:18 AM
Heath,

Thanks for the information. I did as you suggested and then opend up the new uncompressed file as a new project. I then exported this to the iPod settings. It looks much better, but is still not 16:9. Did I miss a step? Thank you.

Nate,

The iSquint worked great, I'd just like to keep it all in FCP if possible. But it is a solution as well. Handy little program! Thanks.

Tim Dashwood
January 5th, 2006, 09:26 PM
I set up some presets in compressor 1 to do my ipod encodes. They should also work for Compressor 2, but I haven't tried them.

Throw this folder into Library/Application Support/Compressor

http://homepage.mac.com/timdashwood/.Public/iPod.zip

After much research, I created them for max spec H.264 (750Kbps) and max MP4 (2.5Mbps) and half spec MP4 (1.2Mbps).

Heath McKnight
January 6th, 2006, 12:16 AM
Thanks, Tim!

hwm

Dylan Pank
January 6th, 2006, 07:10 AM
Heath - FFmpegX (http://homepage.mac.com/major4/) is the thing for you.

Version 0.9u has iPod presents.

Jeff Sayre
January 12th, 2006, 09:58 PM
Heath:

1. Make a new sequence that has a 4:3 aspect ratio (Sequence>Settings) by setting the first option to Large Multimedia (this gives you a 320 x 240 image size). Then, set the second option to NTSC 720 x 480 (yes, that is a ratio of 1.5 and not 1.33) but that is what they have and it ends up working.

2. Open the new 4:3 sequence in the timeline

3. Hit the "Home" key to make sure the playhead is at the first frame

3. Next, take your original HDV 1080i60 sequence (in 16:9 format) and drag the sequence over the canvas and choose overwrite

This will insert your old 16:9 sequence into the new 4:3 sequence and automatically letterbox it.

4. Save then render the new sequence

5. Output it through the QT Conversion iPod option

That is it, other than rendering and outputting, it should take less than 5 minutes.

Good luck!

Jeff

Heath McKnight
January 12th, 2006, 11:19 PM
I'll give it a shot this weekend.

heath

Jeff Sayre
January 13th, 2006, 01:35 AM
Heath:

A correction to the process I outlined above. The first step should read:

1. Make a new sequence that has a 4:3 aspect ratio (Sequence > Settings). Simply open up the settings for the sequence and set the second option (Pixel Aspect Ratio) to NTSC - CCIR 601/DV (720 x 480). Yes, that is a ratio of 1.5 and not 1.33, but that is what they have and it ends up working.

This is the only item you need to change. I'm sorry for the mistake. If you do it the way I originally suggest, the rendered sequence will be poor quality. Keep Frame Size at 1440 x 1080 to preserve maximum quality.

By doing it this way, you can output different letterboxed frame sizes. For instance, you can output a iPod version at 320 x 240 or a non-H.264 letterboxed version for web delivery.

Good luck!

Jeff

Sergio Perez
January 13th, 2006, 10:39 PM
Anyone know how to get higher resolution vieo on Ipod beyond the 320-240 limitation. I heard somewhere, I believe it was HDforindies.com, that there was some kind of workaround... This would be great for presentations and portfolio showing...

Tim, great presets! Any suggestion for pal?

Tim Dashwood
January 13th, 2006, 10:51 PM
I've been doing alot of research on encoding video for ipod and discovered some interesting things. (iLounge is a great resource for this info.)

Apple posts max specs of 320 x 240 at 768kbps in H.264 or 480x480 at 2500kbps in MP4.

The great thing is that you can break the pixel dimension rules in many ways to achieve higher quality video. Of course everything gets downscaled to 320 horizontal rez on the actual ipod screen, but the native rez is output to a TV when you use the video cable.

Here's the secret to ipod video: The actual resolution limits are 300 macroblocks for H.264 or 900 macroblocks for MP4.

For example
-320 pixels divided by 16 = 20
-240 pixels divided by 16 = 15
- 15 x 20 = 300, therefore 320 x 240 meets the 300 macroblock limit for H.264.

That's great for 4x3, but let's say you want to encode something that is 16x9. Why waste space on black bars when you only need to encode the actual 16x9 content?

The dimensions I found that work well for 16x9 in H.264 are 368 x 208.
So 368 pixels divided by 16 = 23
208 pixels divided by 16 = 13
23 x 13 = 299 macroblocks. Therefore under the 300 macroblock limit.

Now, for MP4 the macroblock limit is much bigger at 900.

So for 4x3 MP4 you could go as high as 553 x 416
For 16x9 MP4 you can go up to 640*360 --- that's DVD quality!!!!

Just remember to keep the bitrates under 768kbps for H.264 or 2500kbps for MP4.

Tim Dashwood
January 13th, 2006, 10:56 PM
Tim, great presets! Any suggestion for pal?

Just change the frame rate of my 24P setting to 25P and use the same dimensions.

Nate Schmidt
January 14th, 2006, 04:49 PM
Tim, when I installed your presets the mp4's worked great but my iPod won't recognize the h.264 ones any ideas?

Tim Dashwood
January 14th, 2006, 07:22 PM
Tim, when I installed your presets the mp4's worked great but my iPod won't recognize the h.264 ones any ideas?

I forgot to mention that the Apple specs for H.264 and ipod are "baseline profile." I don't know how to specify baseline profile in compressor.

However, once you add your .mov files to iTunes, just select them and then choose "Convert Selection for iPod" from the advanced menu. iTunes will then do something to the H.264 files to make them compatible. iTunes then changes the extension to ".m4v" but the quality and bitrate stay the same. H.264 is technically a MP4 format.

Now the files will transfer to the ipod.

Sergio Perez
January 14th, 2006, 08:52 PM
I've been doing alot of research on encoding video for ipod and discovered some interesting things. (iLounge is a great resource for this info.)

Apple posts max specs of 320 x 240 at 768kbps in H.264 or 480x480 at 2500kbps in MP4.

The great thing is that you can break the pixel dimension rules in many ways to achieve higher quality video. Of course everything gets downscaled to 320 horizontal rez on the actual ipod screen, but the native rez is output to a TV when you use the video cable.

Here's the secret to ipod video: The actual resolution limits are 300 macroblocks for H.264 or 900 macroblocks for MP4.

For example
-320 pixels divided by 16 = 20
-240 pixels divided by 16 = 15
- 15 x 20 = 300, therefore 320 x 240 meets the 300 macroblock limit for H.264.

That's great for 4x3, but let's say you want to encode something that is 16x9. Why waste space on black bars when you only need to encode the actual 16x9 content?

The dimensions I found that work well for 16x9 in H.264 are 368 x 208.
So 368 pixels divided by 16 = 23
208 pixels divided by 16 = 13
23 x 13 = 299 macroblocks. Therefore under the 300 macroblock limit.

Now, for MP4 the macroblock limit is much bigger at 900.

So for 4x3 MP4 you could go as high as 553 x 416
For 16x9 MP4 you can go up to 640*360 --- that's DVD quality!!!!

Just remember to keep the bitrates under 768kbps for H.264 or 2500kbps for MP4.

Tim, are your presets optimized for the best output? Can we have some presets that gives us optimal output?

I suggest you name them " Tim Dashwood Ipod presets" you deserve it!

Tim Dashwood
January 14th, 2006, 10:24 PM
Tim, are your presets optimized for the best output? Can we have some presets that gives us optimal output?

Well, with Compressor 2 you can turn on 2-pass encoding for H.264 to get the best VBR use out of the available bandwidth. Other than that, the presets I created use the maximum bitrate and macroblocks allowed on the iPod.


As soon as I have time I will create some additional settings to pull a 16x9 from a letterboxed 4x3, as well as pull a 2:35:1 from 4x3 or 16x9.
2.35:1 will allow even more horizontal resolution. I just calculated that 720x306 would work for MP4 2.35:1 ratio.

Tim Dashwood
January 15th, 2006, 04:21 PM
I've created some new settings for 2.35:1 extracted from 4x3 or 16x9 and 2-pass H.264. I created these ones in Compressor 2, but I'm not sure if they are backwards compatible with Compressor 1.
I used the MP4 compressor within the quicktime wrapper instead so the extension of MP4 files is .mov. This doesn't seem to affect anything. The ipod still plays it no problem.
I was also able to "use current frame rate" in compressor 2, so there's no need for separate 24P or 60i settings anymore. These will also be NTSC or PAL compatible. The 2.35:1 settings may need slight crop adjustment for PAL because of the higher vertical rez.

You can look at a frame grab of the updated settings here:
http://homepage.mac.com/timdashwood/.Public/iPod/ipod_settings.jpg

You can download the settings here:
http://homepage.mac.com/timdashwood/.Public/iPod/Dashwood-iPod-compressor2.zip

Just move the 4 folders to your user name/Library/Application Support/Compressor folder before you launch Compressor 2.

Please try them out and let me know how they work. Also watch the large MP4s on a TV with the video out cable from the ipod and let me know how it compares to DVD. The resolution should hold, but I'm sure you'll see many more compression artifacts than DVD quality Mpeg2.

Sergio Perez
January 16th, 2006, 01:20 AM
Will do, Tim. Thanks for all the hard work. I'll check this out and report to you tomorrow (hopefully :)

Dave Perry
January 16th, 2006, 06:10 AM
Tim,

I've learned a lot this weekend by following this post. Just got my iPod this weekend and have had a crash course in encoding for it thanks to your and others posts.

I'm using MPEGStream Clip for my encoding because unfortunately Compressor 1 does not do H.264.

Tim Dashwood
January 16th, 2006, 08:38 AM
I'm using MPEGStream Clip for my encoding because unfortunately Compressor 1 does not do H.264.

Compressor 1 will work with H.264 if you have QT7 installed. These are my old Compressor 1 presets.
http://homepage.mac.com/timdashwood/.Public/iPod.zip

Dave Perry
January 16th, 2006, 09:18 AM
Thanks Tim,

I'll check those out tonight. I opened Compressor 1 to see if it had presets and didn't se any for H.264. I guess that's why I need to get yours and install them :)

Sergio Perez
January 18th, 2006, 02:43 AM
Tim, the video i did using one of your presets looked very good indeed. However, the encoding, for best quality, on my 1.65 powerbook took really a lot of time! I believe I'll try to do the conversions on my Powermac for definite analysis. I'm posting this in a hurry, not an in depth analysis, and seing footage straight from the Ipod. I'll post tv output opinion latter (Ipod picture looks better than default ëxport to ipod"from quicktime pro".)

Tim Dashwood
September 14th, 2006, 04:25 PM
I just found out that running the ipod update included with iTunes 7 will allow the iPod Video (5th Generation) to play H.264 files at up to 640x480 resolution. Previously the limit was 320x240.

This is good news for those of us who want to use our iPods as portable media players to connect to external monitors or TVs.

Guest
September 14th, 2006, 04:34 PM
I just found out that running the ipod update included with iTunes 7 will allow the iPod Video (5th Generation) to play H.264 files at up to 640x480 resolution. Previously the limit was 320x240.

This is good news for those of us who want to use our iPods as portable media players to connect to external monitors or TVs.

Thanks Tim,

This is also good news for helping to consolodate the flow and options for exporting movies to the web and iPod at the time. I like 480 x 270 for the web, so this new option will reduce the number of steps I need to take to prepare a movie for both.

I appreciate your update. { edit from post #27 comment - thanks Tim }

Tim Dashwood
September 14th, 2006, 04:41 PM
I appreciate your update... Even though this is just for the new 5th Generation of iPod's.
What I mean by 5G iPods is the iPod "Video" that was released last year. I bought mine in January. The new configurations released on Sept 12, 2006 are still 5G, but they come preloaded with the new firmware. Running this update will bring the year-old iPod Video up-to-date.

Heath McKnight
September 14th, 2006, 10:02 PM
Why is iTunes 7 the best so far (I've been using since I figured out what it was 5 years ago--I wasn't used to mp3 players in a computer, or a device for that matter)? NO GAPS BETWEEN SONGS! Sorry for the all caps, but I've always been annoyed when I hear a gap between my favorite albums' songs, like OK Computer, etc.

heath