Article Directory :: Computers & Technology Articles

iPhone - the conversion of movies into mov format

Copyright © 2009 Adam Nowak

Subscribe to Adam Nowak's RSS feed using any feed reader!

Republish: EasyPublish
Published: 14Mar2008
Word count: 499
Viewed: 784 time(s)
Bookmark this article using any bookmark manager!
Get Free Content For Your Site

The goal is simple: by using a copy of a film from your local disc, change its size, adjust it to the iPhone display and apply appropriate coding which will enable you to enjoy a good picture and sound quality. At the beginning, however, I would like to emphasize, that on account of the size of the movie, I will not focus on the optimization of compression itself. Writing a script for this operation is useless - it's one line on the console: ffmpeg -i "INPUT _FILE.AVI" -f mp4 -vcodec mpeg4 -maxrate 10000 -b 7000 -r 29.97 -qmin 2 -qmax 5 -bufsize 4096 -g 300 -acodec libfaac -ab 128k -s 480x320 -aspect 4:3 "OUTPUT_FILE .MOV" Of course, you have to install the appropriate codecs (unless it was already done so) and input the file (the movie).

# apt-get install libfaac0 ffmpeg mpeglib libmpeg2-4 faac

After a long and quite consuming process, the we receive an output file. Next, you install it onto iPhone//iPod Touch using gtkpod, for instance. Voila!

Synchronizing the telephone book.

At this point the process is more complicated. You have to use the MNPlight application from the Installer repository: http://movenplay.gforge.inria.fr/iphone. The application functions are well described on the project's main page, I strongly believe, however, that you should have no problem with understanding it. The MNPlight application enables the import and export of the telephone book in Mozilla Thunderbird format (Google Mail) as well as the export//import of the calendar in Google Calendar format. Additionally, it has some other functions which I have personally never used. I recommend to visit the website for any further information.

Your ringtones from mp3 to iPhone

Attention! This process works only with iPhone with 1.1.1 software. iPhone uses the sound encoded in AAC format. Most of us have files in *.mp3 or *.ogg format. The process of conversion itself is an uncomplicated one. Firstly, the you convert a sound file into *.wav format using mplayer, next you convert the *.wav file by the appropriate coder (faac), which creates an m4a output file. I wrote the script which automates the above-mentioned process:

#!/bin/bash # Sebastian 'night' Łuczak # http://night.jogger.pl # Conversion of mp3 to iPhone ringtone

echo "Insert the name of mp3 file (without extension!)" echo -n ">" read IN OUT="`ls | grep $IN.mp3`" echo " I convert mp3 to wav:" mplayer -vo null -vc null -ao pcm:fast:file=$IN.wav $OUT faac -b 128 -c 44100 -w $IN.wav rm $IN.wav

You have to change the extension of the received output file from *.m4a to *.m4r and add one space bar before the extended file, e.g.

$ ls ringtone.m4a $ mv ringtone.m4a "ringtone.m4r" $ ls ringtone .m4r Now, let us pass on to iPhone 1. Download the corrected file MeCCA 2. Install the corrected file in: /System/Library/Frameworks/MeCCA.framework/ 3. Install the file m4r in the catalogue /Library/Ringtones/ 4. Restart the telephone

The ringtone should be available in the telephone menu.

The OpenSource tools, as we can see, enable to use iPhone independently from iTunes and Apple's products.

This article was translated by mLingua Worldwide Translations, Ltd. mLingua provides professional language translations in all major Western and Asian languages, software localization and web site translation services. Please visit http://mlingua.pl

Bookmark this article using any bookmark manager! Subscribe to Adam Nowak's RSS feed using any feed reader!

EasyPublish™ this article - publishers click here

More articles by Adam Nowak

Free Report!
Ten Essential Secrets Of Article Marketing ... Grab Your Free
Copy
Now:




We respect your privacy.


Need Content?
Regular Top Quality Content for your Blog, Ezine or Website ...
Delivered Direct,
For Free!

Click For Details



Arts & Entertainment
Automotive
Business - General
Computers & Technology
Finance & Investment
Food & Drink
Health & Fitness
Home & Family
Internet Marketing/Online Business
Legal
Pets & Animals
Politics & Government
Reference & Education
Religion & Faith
Self-Improvement/Motivation
Social
Sports & Recreation
Travel & Leisure
Writing & Speaking

More computing articles:

We Automatically Distribute Articles
To Thousands Of Publishers And Web Sites:

Submit Article
All content is viewed and used by you at your own risk and we do not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributing authors and not necessarily those of this web site, or its owner, Takanomi Limited.
 
Copyright © 2009 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information