How to make iTunes accept other video formats

Discussion in 'Mac Apps and Mac App Store' started by Chris14, Jul 15, 2008.

  1. macrumors regular

    Chris14

    Joined:
    Aug 13, 2006
    Location:
    Hamilton, NZ
    #1
    As many of you may or may not have realized, iTunes has an annoying habit of not letting one import any video files not in "iTunes friendly" formats. This confounded me as iTunes presumably used Quicktime for playing... so if Quicktime+Perian/Flip4Mac can play them, why can't iTunes? Sick and tired of having to convert AVIs and other downloaded video types for the sake of having them in iTunes, I sought out a way of fooling iTunes via tweaking the File Type / Creator settings on files so that iTunes would accept them.

    Start out by choosing the app/utility of your choice. I use FileBuddy (search here for it) but any number of utilities are capable of doing the job.

    I then open up File Buddy, drag the video file/s into the main window and then click "Get Info". In the resulting window, near the bottom right is a pull-down menu labelled "Type". Whatever it is currently set to (in my AVI case, it was "VfW"), change it to "MooV" and click "Save" (or "Change All" if you are dealing with multiple files). Voila! Drag the old files into iTunes and there you go!


    Hopefully this has enlightened some of you as it did me! :)
    Chris14
     
  2. macrumors 6502a

    Joined:
    Jun 15, 2006
    Location:
    Jakarta
    #2
    Thanks for the info. Maybe you can make one of those Mac Guide tings on this site. It would be helpful.
     
  3. thread starter macrumors regular

    Chris14

    Joined:
    Aug 13, 2006
    Location:
    Hamilton, NZ
    #3
    I just created a little script so it can be done by people without the need for another application...

    Download: http://www.mediafire.com/?2wb2zjmdxxy

    Open it up and navigate to your movie file/s and you're away!
     
  4. macrumors 6502

    Joined:
    Oct 2, 2003
    Location:
    Sydney, Australia
    #4
    Nice thinking, but there are better ways, IMO, as that might confuse other apps as to what file types they really are.

    1. You can use movie2itunes to make "reference movies" that just point to your avi etc. These are pretty small, and IIRC the latest version even has some smarts about TV series and will put them in TV shows without the need to re-tag them.

    2. ---This doesn't seem to work, ignore!--- More advanced, but the best overall solution is to dig into the iTunes info.plist file (show package contents) and add whatever filetypes you want. So if you have Perian, iTunes can play avi for example, you just need to tell it that it can :). So open up the .plist (not sure if you need dev tools to do that or if it is still plain text), and add the appropriate extension by duplicating one of the existing entries. Simple to do if you know what you are doing, maybe too difficult for some though if they don't. If you stuff up, you might prevent iTunes launching, so backup the file (or whole app) just in case. Once edited, you need to move the app to a different folder and back (this forces the OS to re-read the info.plist and note the change). Then you should be able to drag avi files to the iTunes dock icon etc, and it is just as supported as mp4/m4v then. You may need to repeat this if you upgrade iTunes. It's been a few versions since I did this hack as I've got movies2itunes automated enough to not bother.
     
  5. macrumors regular

    Joined:
    Apr 16, 2008
  6. macrumors 6502

    Joined:
    Oct 2, 2003
    Location:
    Sydney, Australia
    #6
    No, to all three methods. For iPod/iPhone you will actually need to convert them at this stage. These tips are to be able to use the videos in iTunes easily, after you've extended its capabilities by adding other codecs like Perian/Flip4mac/etc.
     
  7. thread starter macrumors regular

    Chris14

    Joined:
    Aug 13, 2006
    Location:
    Hamilton, NZ
    #7
    Interesting point there... would it then potentially be possible to make your iPod/iPhone able to play AVI files with a third party codec? Something to look in to perhaps!
     
  8. macrumors 6502

    Joined:
    Oct 2, 2003
    Location:
    Sydney, Australia
    #8
    Hmm, I thought I'd try hacking the plist like in my above post. This does enable you to drag the avi onto the dock icon, but iTunes doesn't actually do anything with it. I'm sure it used to work... Maybe iTunes has been changed enough so this no longer does, as it checks somewhere else? I'll keep playing and see if I can get it working.

    Still can't get it to work for the moment, so I tried your script. Works great, though I had to install the "change file type and creator" action before it worked. You could also probably tweak it a bit to modify whatever you drop on it rather than asking what to change in the dialog box by using "get selected finder items" rather than "ask for finder items". But otherwise great work (at least it works unlike my tip :) ).
     
  9. thread starter macrumors regular

    Chris14

    Joined:
    Aug 13, 2006
    Location:
    Hamilton, NZ
    #9
    Ah, so cazlar, you had to install the action yourself before it worked correctly?
    I assumed it would work whether or not this was present... apparently not? I will look into it myself too and try to find a way so that it is entirely self-contained and self-sufficient.
     
  10. macrumors 603

    richard.mac

    Joined:
    Feb 2, 2007
    Location:
    51.50024, -0.12662
    #10
    nice hint! is there a way to do this without FileBuddy? i also tried adding a file extension in iTunes' Info.plist file but it didnt work.
     
  11. thread starter macrumors regular

    Chris14

    Joined:
    Aug 13, 2006
    Location:
    Hamilton, NZ
    #11
    Alrighty... thanks to cazlar pointing out my folly by using a pre-made automator action, I have re-written it from scratch via applescript. Download the below file and unzip, then open it and navigate to the movie file. Should work fine for all if I have done it correctly... please let me know if it does not.
    And again, although iTunes will recognize and play the AVIs (or any other format once processed AFAIK), they will NOT play on your iPod/iPhone sorry!

    iTunes-Friendly AVIs 2.0
    http://www.mediafire.com/?ye3il41nhr1

    Enjoy,
    Chris14
     
  12. macrumors member

    Skengman

    Joined:
    Nov 29, 2008
    Location:
    Essex/London
    #12
  13. macrumors member

    Joined:
    Sep 28, 2010
    Location:
    Durham, UK
    #13
    thanks for digging this up, that's helped no end.
     
  14. macrumors 68000

    wesk702

    Joined:
    Jul 7, 2007
    Location:
    The hood
  15. macrumors 6502

    Joined:
    Oct 12, 2007
    Location:
    Preston, UK
    #15
    So AirPlay takes whatever's playing in iTunes and streams to the Apple TV 2.0... I wonder if the Apple TV actually processes anything...

    Can anyone check if this works? Mine's arriving tomorrow :)
     
  16. macrumors newbie

    Joined:
    Nov 15, 2008
    #16
    Mediafire link down

    @Chris14 I tried to download the script that you made, and the mediafire link is no longer active. Would you mind reuploading it, or someone that has it, can you please create a mirror with it?

    Thanks
     
  17. macrumors newbie

    Joined:
    Apr 5, 2010
    #17
    heeelp mirror?

    Does anyone have a mirror for the applescript?
     
  18. macrumors newbie

    Joined:
    Oct 20, 2010
    #18
    link no longer works

    anyone have another copy?
     
  19. macrumors 6502

    oakie

    Joined:
    Oct 16, 2008
    Location:
    seattle
    #19
    anyone have another copy of the script they'd be willing to share? the original download link is no longer working.
     
  20. macrumors regular

    Joined:
    Apr 11, 2009
    #20
    id also like the script, anyone out there have it?!
     
  21. macrumors regular

    Joined:
    Jan 19, 2008
    #21
    If you want to add AVI files to iTunes without changing them in any way, you can also use VideoDrive (www.aroona.net) and choose import setting 9. That will simply add any video file "directly" to iTunes. No fuss.

    However, the app clearly states that while this works, it's not recommended because iTunes was not build to deal with this scenario. I have tried it with AVI files, and it works fine. No issues yet.
     
  22. macrumors newbie

    harlock59

    Joined:
    Mar 23, 2006
    Location:
    france, europe
    #22
    Hello,

    is it possible to use this trick on itunes for windows ? can i just rename the file extension from .avi to .mov and voilà ??
     
  23. macrumors newbie

    Joined:
    Jan 20, 2013
    #23
    Sorry to sound redundant here, but did anyone have any luck with finding a copy of the script Chris14 created to trick iTunes into importing AVI.s, etc.?

    Plz & Thank you.
     
  24. macrumors newbie

    Joined:
    Aug 20, 2008
    #24
    I don't think rename the file's extension will work. Because you need to re-encode the video with the encoder which is supported by iTunes.
     
  25. macrumors newbie

    Joined:
    Mar 29, 2013
    #25
    You can use 3rd party Apps like OPlayer and copy/transfer your AVI using File Sharing in iTune (connect using USB cable)
     

Share This Page