<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Convert_AVI_to_iPhone%2FiPod_MP4</id>
	<title>Convert AVI to iPhone/iPod MP4 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hurlster.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Convert_AVI_to_iPhone%2FiPod_MP4"/>
	<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Convert_AVI_to_iPhone/iPod_MP4&amp;action=history"/>
	<updated>2026-05-27T20:42:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://hurlster.com/wiki/index.php?title=Convert_AVI_to_iPhone/iPod_MP4&amp;diff=2535&amp;oldid=prev</id>
		<title>Gqwill69: /* iPad */</title>
		<link rel="alternate" type="text/html" href="https://hurlster.com/wiki/index.php?title=Convert_AVI_to_iPhone/iPod_MP4&amp;diff=2535&amp;oldid=prev"/>
		<updated>2013-01-18T21:04:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;iPad&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; ffmpeg  -i &amp;quot;input.avi&amp;quot; &amp;quot;output.mp4&amp;quot;&lt;br /&gt;
 ffmpeg -b bitrate -i &amp;quot;input.avi&amp;quot; &amp;quot;output.mp4&amp;quot;&lt;br /&gt;
 ffmpeg -i input.avi -acodec libfaac -ab 128k -ar 44100 -vcodec mpeg4  -b 1250K output.m4v&lt;br /&gt;
 ffmpeg [other-options] -b bitrate -i &amp;quot;input.avi&amp;quot; &amp;quot;output.mp4&amp;quot;&lt;br /&gt;
 ffmpeg [other-options] -b bitrate -i &amp;quot;New Year Party.avi&amp;quot; &amp;quot;New Year Party.mp4&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Where,&lt;br /&gt;
&lt;br /&gt;
*-i input.avi : Input file name.&lt;br /&gt;
*-b bitrate : Set the video bitrate in bit/s (default = 200 kb/s).&lt;br /&gt;
*output.mp4 : Output file.&lt;br /&gt;
&lt;br /&gt;
Example&lt;br /&gt;
&lt;br /&gt;
Type the following command to convert japantrip_01.avi to japantrip_01.mp4 format:&lt;br /&gt;
 $ ffmpeg -b 1250k -i japantrip_01.avi japantrip_01.mp4&lt;br /&gt;
&lt;br /&gt;
=== iPad ===&lt;br /&gt;
The Ipad needs an H264 video up to 1024×728 (or 720p) at 30fps with AAC sound at 160Kbps, 48kHz.&lt;br /&gt;
&lt;br /&gt;
there is several way to encode a video with ffmpeg, I decided to use the quality-based encoding (-crf option).&lt;br /&gt;
(to avoid a 2-pass encoding &amp;amp; it gets better result than a constant bitrate)&lt;br /&gt;
&lt;br /&gt;
for FFmpeg, it becomes:&lt;br /&gt;
&lt;br /&gt;
    -r 30 =&amp;gt; 30fps&lt;br /&gt;
    -vcodec libx264 =&amp;gt; for the video codec.&lt;br /&gt;
    -acodec libfaac -ar 48000 -ab 128k -ac 2 =&amp;gt; for the audio.&lt;br /&gt;
    -threads 0 =&amp;gt; FFmpeg will manage the number of thread.&lt;br /&gt;
    -crf 21 for the quality level (15-25 15 is better)&lt;br /&gt;
    -vpre default =&amp;gt; for the libx264 encoding preference, it can be “hq”, “default”, “fast”, “superfast”, “ultrafast”, etc&lt;br /&gt;
    -s xga =&amp;gt; change the output resolution, it’s only useful if the original video is bigger than xga.&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -i video.avi -r 30 -vcodec libx264 -acodec libfaac -threads 0 -ar 48000 -ab 128k -ac 2 -y -crf 21 -vpre default Ipad.mp4&lt;br /&gt;
&lt;br /&gt;
 ffmpeg -i Gone\ in\ 60\ Seconds.mp4 -r 30 -vcodec libx264 -acodec aac -threads 3 -ar 48000 \&lt;br /&gt;
 -ab 128k -ac 2 -y -crf 21 -strict experimental Gone_in_60_seconds_ipad.mp4&lt;br /&gt;
&lt;br /&gt;
if you want a faster encoding, you can change the vpre option: “-vpre fast” for example.&lt;br /&gt;
but it will make bigger file &amp;amp; will increase the bitrate. But the quality will stay the same.&lt;br /&gt;
(with superfast &amp;amp; ulrafast, the quality decrease)&lt;br /&gt;
&lt;br /&gt;
To improve or decrease the quality, you can change the option crf. 18 will give a better result, 25 a less good result.&lt;br /&gt;
If you increase quality, the encoding time will increase &amp;amp; the file size too.&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux]]&lt;/div&gt;</summary>
		<author><name>Gqwill69</name></author>
	</entry>
</feed>