<p>I achieved this using <strong>ffmpeg</strong>, a free and open source command line tool. <a href="http://superuser.com/questions/472420/handbrake-settings-to-convert-mkv-to-mp4-while-retaining-the-original-quality">This question</a> guided me towards the exact command.</p>

CC BY-SA 4.0
2015-01-26T12:41:32.080Z
2021-07-18T00:54:44.100Z
2021-07-18T00:54:44.100Z
user1451111
<p>After some study and research, now I know that AVI and MP4 are video 'container' formats. They are also called 'video file formats'. The actual video data format for the video data in these formats can be encoded in any related format for example H.264 or MPEG-4.</p>

<p>I was trying to copy a AVI video file (H.264 encoded) from my computer to my tablet and the iTunes gave me error that this specific video cannot be played on this iPad. Then I tried copying another video file, this time a MP4 file, and it was copied correctly.</p>

<p>I searched on Apple website and came to know that IPad Air supports the below three videos and their formats.</p>

<blockquote>
  <ul>
  <li>H.264 video up to 1080p, 60 frames per second, High Profile level 4.2    with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4,    and .mov file formats;   </li>
  <li>MPEG-4 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 in .m4v, .mp4, and .mov    file formats; </li>
  <li>Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per    second, audio in ulaw, PCM stereo audio in .avi file format;</li>
  </ul>
</blockquote>

<p>Now I want to convert the existing video AVI file to MP4 format and try to copy again. I do not want to re-encode the video again in H.264 format to avoid quality loss. Is there any solution for my problem. I have access to both, Mac OS X and Windows machines so I am open to any solution. Please help.</p>

CC BY-SA 3.0
2015-01-18T12:41:24.280Z
I want to make the text between two horizontal lines, italic but the i symbol in editor is not working. how to do that.
user1451111
CC BY-SA 3.0
2015-01-18T15:07:17.337Z
I found an answer on the SuperUser site:
http://superuser.com/questions/472420/handbrake-settings-to-convert-mkv-to-mp4-while-retaining-the-original-quality
user1451111
CC BY-SA 3.0
2015-01-18T15:08:23.757Z
Why am I getting this message: "just now
Trivial answer converted to comment"
user1451111
CC BY-SA 3.0
2015-01-25T05:10:16.810Z
@stib, i see that you edited my answer. I wanted to achieve the same thing initially that you did. Please guide me how to do that.
user1451111
CC BY-SA 3.0
2015-01-25T11:40:16.007Z
when you write a post have a look at the toolbar above the text area. You can add formatting like bullet points and block quotes using it.
stib
<ipad>
how to convert container format for a video file without re-encoding
user1451111
# how to convert container format for a video file without re-encoding

(Asked by: username_0 on 2015-01-18)

After some study and research, now I know that AVI and MP4 are video 'container' formats. They are also called 'video file formats'. The actual video data format for the video data in these formats can be encoded in any related format for example H.264 or MPEG-4.

I was trying to copy a AVI video file (H.264 encoded) from my computer to my tablet and the iTunes gave me error that this specific video cannot be played on this iPad. Then I tried copying another video file, this time a MP4 file, and it was copied correctly.

I searched on Apple website and came to know that IPad Air supports the below three videos and their formats.

> * H.264 video up to 1080p, 60 frames per second, High Profile level 4.2 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
> * MPEG-4 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 in .m4v, .mp4, and .mov file formats;
> * Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format;

Now I want to convert the existing video AVI file to MP4 format and try to copy again. I do not want to re-encode the video again in H.264 format to avoid quality loss. Is there any solution for my problem. I have access to both, Mac OS X and Windows machines so I am open to any solution. Please help.

**Tags:** ipad

> **Comments:**
> **username_0**: I want to make the text between two horizontal lines, italic but the i symbol in editor is not working. how to do that.  
> **username_0**: I found an answer on the SuperUser site:
 http://superuser.com/questions/472420/handbrake-settings-to-convert-mkv-to-mp4-while-retaining-the-original-quality  
> **username_0**: Why am I getting this message: "just now Trivial answer converted to comment"  
> **username_0**: @username_1, i see that you edited my answer. I wanted to achieve the same thing initially that you did. Please guide me how to do that.  
> **username_1**: when you write a post have a look at the toolbar above the text area. You can add formatting like bullet points and block quotes using it.  

---

## 1 answers

### Answer by username_0 on 2015-01-26. Score: 0 | Accepted answer

I achieved this using **ffmpeg**, a free and open source command line tool. [This question](http://superuser.com/questions/472420/handbrake-settings-to-convert-mkv-to-mp4-while-retaining-the-original-quality) guided me towards the exact command.


---

