Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Recently I had the idea that it would be good to organize all of my movies and TV shows into one central application (kind of an inventory), and from the research I have conducted, I was able to conclude that iTunes would be the best software for what I would be using it for.

So far, it has somewhat served its purpose in that I can import some of my library, but not all of it due to file format issues and iTunes not supporting these formats (mostly MKV and AVI formats).

All of the research I have done about importing these files says to convert them, but because I wont be syncing them anywhere and converting as many files as i have would take too long that would be a very long and unnecessary process, so naturally I am leaning away from converting.

The only solution I can think of is possibly modifying iTunes – or getting a plugin FOR iTunes – that allows me to do this, so my question is: is there anything such as said plug in or modification that can allow me to do this?

If not, is there a software that allows me to organize and play these files in a simple fashion, again, without conversion?

share|improve this question

2 Answers 2

up vote 6 down vote accepted

iTunes can only play the following:

QuickTime and MPEG-4 movie files that end in ".mov", ".m4v", or ".mp4" and are playable in QuickTime Player.

There are no plugins or extensions for iTunes. It relies on the QuickTime framework for decoding video, and out of the box OS X does not support the MKV container at all. AVI containers might play, but this rather depends on the codecs inside. You cannot modify iTunes either.

At that point, if you're already confused, I'd encourage you to read this question: What is a Codec (e.g. DivX?), and how does it differ from a File Format (e.g. MPG)?

With FFmpeg you can try remuxing the video and audio content to an MP4 container, however but this only works when the video and audio is one of the following:

  • MPEG-2, MPEG-4 ASP, MPEG-4 AVC (H.264), and a few others
  • AAC, MP3, AC-3, Apple Lossless

In that case you'd simply run the following from a Terminal:

ffmpeg -i input.avi -c copy -map 0 output.mp4

You can run this for every file in a folder like so:

for f in *.avi; do ffmpeg -i "$f" -c copy -map 0 "${f%.avi}.mp4"; done

This file—at least when the codecs are supported in MP4—should play in iTunes, and you're actually not re-encoding anything. This process should take a few seconds only and will not degrade the quality of your files either.

If that's too complicated or too much work, you might want to stay away from iTunes. The VLC Player for example supports almost any file format and video/audio codec there is. Its media library capabilities are a little limited though.

Another alternative would be XBMC, a complete media center solution:

Or Plex, which does just the same:

Those should be able to import almost any file, since they rely upon the FFmpeg container and codec libraries.

share|improve this answer
    
+1 for a great answer. I'd also add that I've had better success using MP4Box for the remux than FFMPEG, but YMMV. In addition iTunes won't recognise (or lookup AFAIK) any metadata for imported files that have been remuxed (unless you use AtomicParsley) so something like Plesk / XMBC is probably a better answer anyway. –  James Apr 26 '13 at 7:47
1  
Thanks. That's correct – I just didn't want to assume too much technical knowledge of the OP, since I find using ffmpeg a little more straightforward than MP4Box and AtomicParsley. But anyway, I guess it boils down to the fact that iTunes just isn't made for movie libraries that don't come from the iTunes store. –  slhck Apr 26 '13 at 7:56
1  
Maybe re-phrase to not made for movie libraries not purchased directly from the iTunes store, but agreed ;-) It's pretty disingenuous as a friend of mine is able to play .mkv's etc natively (not with DTS audio though) on his iPad using itunes.apple.com/az/app/avplayerhd/id407976815?mt=8 so it's not as though it couldn't support it –  James Apr 26 '13 at 8:00
1  
Thank you for the answer, judging by the information here I determined that Plex would be the best software for my use. for the record, though, I do have the technological knowledge to understand all of this. just saying. thanks again :) –  Ben Franchuk Apr 27 '13 at 5:47
    
@ShadowFrunchak Haha, fair enough. Some people are scared away by terminals, so I always try not to go in there too much. Of course, if you like playing around with FFmpeg or MP4Box, give it a shot :) –  slhck Apr 27 '13 at 8:21

I also have the same puzzle with you before I get a response from others. I used to think that if I want to put the video like mp4, avi, etc to iMovie, I should need to do the conversion until that someone told me that iMovie 11 has supported these formats. I have not have a try now, because I think it is easy to do the conversion with a good converter. But if you do not want to do the conversion before put them into your iMovie, you can have a try.

share|improve this answer
    
Firstly, I am using a Windows computer so I have no way to use iMovie. Secondly, even If I could use iMovie, I wouldn't because it wouldn't help towards allowing me to import into iTunes. If I wanted to re-encode or convert I would simply just use Handbrake or Media Encoder, but thats not the problem. I wanted to import into iTunes WITHOUT converting. –  Ben Franchuk Jan 29 at 2:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.