AddThis Social Bookmark Button

EasyPublish™

Author: Adam Nowak

iPhone - the conversion of movies into mov format

Copyright © 2008 Adam Nowak

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
 

AddThis Social Bookmark Button AddThis Feed Button

EasyPublish™ this article - publishers click here

More articles by Adam Nowak


 

More computing articles:

  • How to Write An Article That Promotes Your Product or Service Without Violating The Submission Terms (B Hopkins)
    You can promote your products and services through your articles, however it just has to be done the right way.... Learn what you need to do.

  • Free Linux Games - Part 1 (Levi Reiss)
    The Linux operating system runs computers of all sizes including home computers. This article presents some of the free games that come with an easily downloadable free version, Damn Small Linux. People realize Linux's many advantages over Microsoft Windows. Plus you will love some of these free games.

  • Network Camera Video Surveillance on Campus (Wes Fernley)
    A college or university is more than just a place to learn, it is a home for hundreds and more often thousands of people, a community. Because of the variances of purpose and design of campus facilities, video surveillance can be a tricky business on campus. Network cameras can help make video surveillance stronger and life on campus safer.


 

 
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 © 2008 Takanomi Ltd. Company no. 5629683. All rights reserved. | Privacy | Legal | Contact Information |