Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

H.264 movie for iPod

taks
Beginner
294 Views
Hi all,

Does anyone know how to create a H.264 movie file for iPod using H264VideoEncoder?

I can create a H.264 movie which can be played with iTunes. But I coundn't figure out parameters for iPod.
My settings is as follows,

H264EncoderParams* params = new H264EncoderParams();
params->key_frame_controls.interval = 15;
params->profile_idc = H264_BASE_PROFILE;
params->level_idc = 13;
params->B_frame_rate = 0;
params->num_ref_frames = 1;
params->transform_8x8_mode_flag = false;
params->entropy_coding_mode = 0;
params->info.clip_info.width = 320;
params->info.clip_info.height = 240;
params->info.framerate = 30.0;
params->info.bitrate = 500000;
params->numThreads = 1;

Of course, I can transfer the movie to iPod if I encode again with iTunes functionality.

Thanks in advance,

taks
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
294 Views
Well, I think you need to check with iPod specification on what profile/level of H.264 it does support.

Regards,
Vladimir

0 Kudos
Emmanuel_W_
New Contributor I
294 Views
I don't remember exactly where but there used to be a document on the Apple website describing the H.264 constraints that the different Apple product can process (Ipod, Apple Tv etc).
0 Kudos
Reply