Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Another method of adding AVI files to iTunes Apps
The possibility of adding reference movies to the iTunes library has been previously discussed here (see this post for more details). However, keeping a roughly 2MB reference file for each of your videos is not really a practical solution.

A cleaner result can be obtained by using the free MPEG Streamclip. MPEG Streamclip allows for saving an AVI container under the MOV or MP4 container formats, which are supported by iTunes. To get an iTunes-friendly video, we will just have to open the AVI file in MPEG Streamclip, and select the option FIle » Save As to create a new .mov container. The new file will include the same streams as the old AVI container, so no transcoding will be performed (and thus, quality won't be altered).

As long as the codecs used in the streams contained in the .mov files are available for QuickTime, iTunes will be able to reproduce them. Also, streaming to other iTunes is supported, provided the library is shared in the local network, and the user receiving the stream has also the required codecs.

I haven't tested the AppleTV streaming, but it seems it will probably not work, as AppleTV-embedded version of Mac OS X has few codecs available (i.e.: it will only reproduce H.264 and MPEG-4 streams). Consequently, .mov files containing XviD or DivX streams, for instance, will not work in AppleTV.
    •    
  • Currently 3.63 / 5
  You rated: 2 / 5 (24 votes cast)
 
[245,674 views]  

Another method of adding AVI files to iTunes | 15 comments | Create New Account
Click here to return to the 'Another method of adding AVI files to iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another method of adding AVI files to iTunes
Authored by: neuralstatic on Apr 04, '07 08:19:29AM

codecs can be added to apple-tv boxes, so that is not a real issue if someone wants to make it work.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: 3mors on Apr 04, '07 08:38:08AM

i'm trying to share my movies library, but connected users see only an empty folder. why?

---
3mors



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: tonyboy on Apr 04, '07 08:56:13AM

I've been doing the same thing with QuickTime Pro. After downloading a TV show (yeah... sue me...), I open it in QuickTime Pro, and simple do a Save As... to output the movie to a self-contained QuickTime file. I haven't tried MP4, but I would assume it would work the same way...

And as far as Codecs go, I use Perian which is great, Flip4Mac for WMV files (if I really need to...) and 3ivX.



[ Reply to This | # ]
And here's another: QuickTime Media Links
Authored by: stevebr on Apr 04, '07 09:53:07AM

The authour writes "keeping a roughly 2MB reference file for each of your videos is not really a practical solution." I'll go out on a limb and suppose that this is because of the disk space involved.

Instead, one could use QuickTime Pro's export functionality (File > Export), and select "Movie to QuickTime Movie Link." I've found that they need a ".mov" extension for iTunes to recognize them. The files written are tiny and the export is nearly instantaneous. There's a droplet Movie2iTunes that can do a batch at once. It was mentioned here before. Also, I don't think it requires QuickTime Pro.

The main advantages of doing it this way are the size of the new file, the speed/low CPU use of processing. The only disadvantage is that the link "sources" can't be moved around on disk without editing and/or recreating the links.



[ Reply to This | # ]
I don't think that's the reason...
Authored by: lullabud on Apr 04, '07 11:43:48AM

I really think the reason he says that's a bad idea is simply because you would have to manage twice as many files. An additional 100% of overhead is pretty hefty and indicates that you need a more elegant solution.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: mikewatt on Apr 04, '07 01:17:51PM

ALthough the hint works on some files it does not for all. Some of my DivX files that are HD and contain AC3 audio do not save to .mov properly using MPEG Streamclip or QuickTime Pro. Furthermore, creating a reference file does allow me to play DivX files in iTunes, but does not provide a streaming solution. Files do not show up in Frontrow. Does anyone have a solution so that I can stream DivX from my iMac to another Mac connected to my TV?



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: Bwana on Apr 04, '07 02:19:51PM

I use d-vision to join multi-part movies and to encode the audio to mp3. ffmpegx would work just as well.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: bulletproof on Apr 30, '07 10:30:43AM
I have a Mac Mini connected to my TV and use front row to view all the media on my network.

If you are using front row, you will need to do a few things.


On the computer that has the media you wish to share:

1. Share the directory containing your media you want to share on your network.


On the computer you want to access the shared media:

1. Add a alias for "volumes" to your users "Movies" directory.

2. Add a startup script to your user to automatically add the shared network drive when your computer starts up.

I would also recommend using automatic login.

I will assume you know how to share the folder on your network and set the automatic login.

The purpose of adding an alias to "volumes" in your "Movies" directory is to give front row access to any volume connected to your system. This includes all physical, and network drives.


1. ADD VOLUMES TO MOVIES

FIRST - You will need to show all hidden files. Open Terminal. Type: defaults write com.apple.finder AppleShowAllFiles TRUE (hit Enter) killall Finder (hit Enter).

You can now see all hidden files.

SECOND - Locate the /Volumes folder (which was previously hidden) in your root folder. Command-option-drag the /Volumes folder into your user's Movies folder. Front row will now have access to this folder and everthing in it.

To re-hide hidden files, in your terminal window type: defaults write com.apple.finder AppleShowAllFiles FALSE (hit Enter) killall Finder (hit Enter).

DONE.


2. ADD STARTUP SCRIPT

Adding a startup script to your user to automatically add the shared network drive when your computer starts up is actually really easy.

1. Fire up Script Editor.
2. Type volume mount "smb://server name/share name" for 3. each share you want to automount. For example, volume mount "smb://nas/mp3" in my example.
4. Test the code.
5. Save the code as an AppleScript.
6. Save the code as an application.
7. Add the application to your System Accounts Login Items.

DONE.


This should also work for regular access to any of your media files. You will however need to have the correct codec installed to view any media requiring it. I hope that helps.


CREDITS:

The Finder II - Show Hidden Files
http://www.osxfaq.com/DailyTips/02-2005/02-01.ws

10.4: Open movies on any drive in Front Row
http://www.macosxhints.com/article.php?story=20060815123339582

10.4: One way to automount SMB network shares
http://www.macosxhints.com/article.php?story=20070202190047133


[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: horhey23 on Sep 22, '08 12:39:42AM

I can't get either reference movie files or the qtml files to share with another Mac on the network. I mounted all the drives where the original files are, the iTunes Music Library, still no luck.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: horhey23 on Sep 22, '08 12:48:52AM

My bad, I thought a reference file was created. This hint requires you to save the complete movie file as a new file, essentially doubling the space it will take up (unless you of course delete the original).

If for whatever reason you want to keep the original file, then a reference movie is the way to go, although it will not be available for sharing via iTunes.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: hanna26 on Apr 24, '11 05:10:52PM

hi, okayy so im not sure if i know what your talking about... i think i do but im not sure...
anyways so i think your asking if theres like another way to add movies into itunes if its .avi and
i have a solution (if thats what your talking about) well... i use something called Handbrake. you can
look it up on google and download it .. it works great i love it i have downloaded soo many movies
that were .avi and i couldnt put into itunes but someone introduced me to Handbrake (my brother)
so i decided to try it and it works amazing. anyways hope this helps and that the question wasnt posted
too long ago i couldnt find the date if you need more help just comment on this if you need help setting
up Handbrake its kinda confusing. let me know ... thankss!



[ Reply to This | # ]
Maybe something really simple, and well supported
Authored by: astroboy on Apr 08, '07 04:48:46AM

I've been doing that with Quicktime Pro,
File > Save As > "Self Contained".
that has been working perfectly, including allowing me to join multiple files movies.

The only problems were subtitles and AC3 support in divx files...

the latest few revisions of Perian and A52Codec support the previously garbled AC3s, and Perian SVN support .srt subtitles, and embeds them when I do save As...

So now, I get a single .mov file that's supported with iTunes, has subtitles, and has AC3 sound...
the latest A52Coded / Perian combo even has preliminary AC3 passthrough support !! WoooHooo !!



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: Mowlson on Aug 31, '07 10:07:49AM

SIMPLE !!! IN ONE MINUTE !!
works with all files (except .bin & .cue) Just change the "File type/Creator" of your file and that's it !! Don't spare time on movie conversion or losing drive space for containers....


With a simple utility app like "FILE BUDDY. Only change:
FILE TYPE, FOR: MooV
CREATOR, FOR: TVOD


This won't affect your file and iTunes will accept them like magic...


Utility page:
http://www.skytag.com/filebuddy/



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: n3Mo on Apr 13, '09 11:35:15AM

This is a great tip! I now use this http://www.apple.com/downloads/macosx/automator/changefiletypeandcreator.html Automator Action to set the creator/type for a bunch of files. Then I am dragging them to iTunes and uses http://dougscripts.com/itunes/scripts/scripts01.php?page=1#setvideokindofselected Doug's Applescript to set the video type from within iTunes. Works very well.



[ Reply to This | # ]
Another method of adding AVI files to iTunes
Authored by: sujovian on Nov 22, '10 09:33:06PM

Mowlson & N3Mo thanks for the tips. Using the tool N3Mo posted, I've created a service in the contextual menu for Finder called "Make iTunes Friendly", so with one click, a folder full of .avi or .mkv files becomes playable in iTunes. Hurrah!

Sadly, I've learned that these movies do not play back on Apple TV 2 using AirPlay. Guess that hope was shooting for the stars...



[ Reply to This | # ]