"I have the .mov file. I want to run it through my code. I try many sample code on net but this file is not run. Please help me to run this file in iPhone simulator. thanks"
What caused iPhone doesn't play .mov file
First of all, you should know some tech specs of iPhone. As Apple Inc. official website said, iPhone video formats support H.264 and MPEG-4 codes in .mov, .m4v and .mp4. Thereinto, for H.264 code, video up to 1080p, 30 frames per second; High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio; and for MPEG-4 code, video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio.
So, if your raw .mov video is unable to satisfy the above requirements, your iPhone can not play it.
Solution to convert MOV to iPhone video format
What you need?
- - QuickTime .mov file
- - iPhone4, iPhone4s, or lower version
- - iTunes software
- - Mov to iPhone software
Convert .mov to .mp4 to play on iPhone
With Mac M4V Converter, not only can remove DRM copy-protected from iTunes videos, also can convert .mov video to iPhone video format (.mp4) as well with the best quality and super fast speed.
1. Download Mac M4V Converter; then launch it;
2. Load MOV video into program;
3. Choose "Apple iPhone" from output format;
If you would like to play your iTunes purchased videos on iPhone, you could refer to my article of "Remove DRM from iTunes 10.5 movie" to how the scenario.
How to sync videos to iPod Touch?
When getting iPod videos, you should transfer it to your iPod Touch to play, so here is tutorial for you to refer to know "How to sync to videos to iPhone".