Go Back   MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 22, 2007, 04:49 PM   #1
Croatian
macrumors 6502
 
Join Date: Oct 2006
Location: Ontario, Canada
AVI to iTunes

i have bunch of avi shows my brother gave me and i would like to have them in my iTunes lib, what program would you guys recommend to use to convert them to the compatable format for iTunes

thank you
Croatian is offline   0 Reply With Quote
Old Feb 22, 2007, 05:06 PM   #2
killmoms
macrumors 68040
 
killmoms's Avatar
 
Join Date: Jun 2003
Location: Washington, DC
Send a message via AIM to killmoms Send a message via Yahoo to killmoms
As long as QuickTime can play them, they can go in iTunes, no conversion required. If you don't have the codecs, go get Perian for QuickTime.

Of course, they won't go on your iPod. If you want to do THAT, you do have to convert them, in which case I recommend something like iSquint or ffmpeg X.
__________________
thrillmoms.com - You know it.
Welcome to the family…
Mugi: Mid-2012 15" Retina MBP, 8GB RAM, 256GB SSD
Azusa: 64GB iPhone 5, Nagato: 16GB WiFi Retina iPad Mini
killmoms is offline   0 Reply With Quote
Old Feb 22, 2007, 05:24 PM   #3
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: UK
You should also get Flip4Mac.
Eraserhead is offline   0 Reply With Quote
Old Feb 22, 2007, 05:27 PM   #4
killmoms
macrumors 68040
 
killmoms's Avatar
 
Join Date: Jun 2003
Location: Washington, DC
Send a message via AIM to killmoms Send a message via Yahoo to killmoms
Eraserhead sweeps in and corrects my oversights. Thanks! Yes, Flip4Mac is the other good QuickTime component to have.
__________________
thrillmoms.com - You know it.
Welcome to the family…
Mugi: Mid-2012 15" Retina MBP, 8GB RAM, 256GB SSD
Azusa: 64GB iPhone 5, Nagato: 16GB WiFi Retina iPad Mini
killmoms is offline   0 Reply With Quote
Old Feb 22, 2007, 05:31 PM   #5
Croatian
Thread Starter
macrumors 6502
 
Join Date: Oct 2006
Location: Ontario, Canada
i have flip4mac and my avi files play when i open them in quck time
but for some reason i can not add them to iTunes lib so i can see them on there, does that have to do anything with them not being .mpg or mg4 format
Croatian is offline   0 Reply With Quote
Old Feb 22, 2007, 05:33 PM   #6
killmoms
macrumors 68040
 
killmoms's Avatar
 
Join Date: Jun 2003
Location: Washington, DC
Send a message via AIM to killmoms Send a message via Yahoo to killmoms
Hmm. If iTunes can't add the AVI file format even though QuickTime can play it, that's kinda weird.

In any case though, you could always just save them as .movs from QuickTime. That'll take the video and audio stream in the AVI and re-package them as a QuickTime movie without transcoding. You might need QuickTime Pro to do that.
__________________
thrillmoms.com - You know it.
Welcome to the family…
Mugi: Mid-2012 15" Retina MBP, 8GB RAM, 256GB SSD
Azusa: 64GB iPhone 5, Nagato: 16GB WiFi Retina iPad Mini
killmoms is offline   0 Reply With Quote
Old Feb 22, 2007, 09:12 PM   #7
ibglowin
macrumors regular
 
Join Date: Jul 2005
iTunes can't play AVI (Divx) files

You need to convert them to MPEG4.

Use iSquint (shareware)

Just set the file size to be the same as the original and you can then drag and drop the converted file into itunes.
ibglowin is offline   0 Reply With Quote
Old Feb 22, 2007, 09:19 PM   #8
RedDragon870503
macrumors 6502
 
Join Date: Sep 2006
Similar to above, except I prefer ffmpegx, which allows for a queue.

.avi files can NOT go into iTunes.
RedDragon870503 is offline   0 Reply With Quote
Old Feb 22, 2007, 09:51 PM   #9
Blubbert
macrumors 6502
 
Join Date: Nov 2006
Quote:
Originally Posted by ibglowin View Post
You need to convert them to MPEG4.

Use iSquint (shareware)

Just set the file size to be the same as the original and you can then drag and drop the converted file into itunes.
Actually, iSuqint is free. VisualHub is the pay version, and is infinitevely more powerful.
Blubbert is offline   0 Reply With Quote
Old Feb 27, 2007, 03:32 PM   #10
shidoshi
macrumors regular
 
Join Date: Jun 2004
Quote:
Originally Posted by RedDragon870503 View Post
.avi files can NOT go into iTunes.
Well... this isn't exactly correct.

If you have QuickTime Pro (not sure if you can do it in the non-Pro player), open your movie, and then go File > Save as > Save as reference movie. This creates a very small (usually 15k ~ 20k) file that iTunes will happily import, and through that, you can play anything that QuickTime can normally play but iTunes won't allow in its library.

There are a few major upsides to doing this, as well. You don't have to litter your music file with video files, only the reference files, so you can leave your videos where you want them. As well, while some videos can be brought into iTunes, not all allow for full editing (for example, some file types won't allow you to set the movie's thumbnail image). Reference files are fully editable under iTunes.
shidoshi is offline   0 Reply With Quote
Old Nov 8, 2007, 08:51 PM   #11
jl000
macrumors newbie
 
Join Date: Nov 2007
hmm, the reference movie solution worked great for me EXCEPT for one big thing, I can't seem to set movie artwork (album artwork..). I go to get info and I set the artwork, but then it just reverts back to the thumbnail. Anyone else having that problem?
jl000 is offline   0 Reply With Quote
Old Nov 8, 2007, 08:54 PM   #12
Vader
macrumors 65816
 
Vader's Avatar
 
Join Date: Oct 2004
Location: St. Louis, MO
Send a message via AIM to Vader
I believe iTunes uses the poster frame as the image. You can set the poster frame using QuickTime.
Vader is offline   0 Reply With Quote
Old Dec 6, 2007, 03:31 PM   #13
krissvl
macrumors member
 
Join Date: Nov 2007
Quote:
Originally Posted by Vader View Post
I believe iTunes uses the poster frame as the image. You can set the poster frame using QuickTime.
No basically 'as far as im aware' you can only tag the standard itunes format with artwork, even the poster art clip thingy wont work with avi's. I have the same problem using reference files, i want artwork too..... proper weak can someone recommend a script for this????? please......

for life (when it works)
krissvl is offline   0 Reply With Quote
Old Dec 16, 2007, 08:09 PM   #14
nevyn
macrumors newbie
 
Join Date: Dec 2007
I've been looking into using iTunes to manage some avi TV shows as well as music clips and ran into the same problem, and solution. Since I think using QT-Pro to make a wrapper for the file a bit of a hack I looked into other ways to get this to work.

The reason iTunes does not play avi files can be plainly seen in iTunes.app/Info.plist under "CFBundleDocumentTypes". iTunes can also recognise video files by the optional meta-data associated with the file in place of the extension. As there is no entry for .avi and most .avi files do not have the extra meta-data iTunes does not support them.

There are three ways to get .avi files to load into the iTunes library, these are packaging it in a supported format (QT-Pro workaround), adding extra entries to the CFBundleDocumentTypes (may cause problems when updating iTunes) or adding the movie-type meta-data to the file. Adding the movie-type meta-data to the file is the quickest, easiest and safest of all of these options (IMHO).

The file-type meta-data can be changed by using Terminal or Applescript/Automator by doing either of the following (note that iTunes does not check the creator type):

Terminal (requires Apple Dev Tools)
Code:
$ SetFile -t "MooV" /path/to/movie.avi
Applescript:
Code:
tell application "Finder"
   set file type of file this_file to "MooV"
end tell
That's it. You should now be able to drag and drop the movie into iTunes.

The next step would be to create a Folder Action or a Droplet that adds the movie-type meta and adds the file to iTunes, see below:

Code:
(*add movie to iTunes

The script will add OSList file-type information to a list of files.  This identifies them 
as movie files, the files are then imported into iTunes.

TO DO:
  Verification of file list passed as video files
  Growl integration (if installed)
  Move repeat loop into separate object script to clean-up code.
*)

--Folder Action [Attach to a folder in Finder]
on adding folder items to this_folder after receiving file_list
	repeat with each_file in file_list
		try
			tell application "Finder" to set file type of file each_file to "MooV"
		end try
	end repeat
	tell application "iTunes" to add file_list
end adding folder items to

--Droplet [Compile and drop items onto application]
on open file_list
	repeat with each_file in file_list
		try
			tell application "Finder" to set file type of file each_file to "MooV"
		end try
	end repeat
	tell application "iTunes" to add file_list
end open
Note: you can also use applescript to set the video type (ie movie, music video or TV Show).

I've reposted this at http://forums.ilounge.com/showthread.php?t=214705 where it may eventually find it's way to Doug's Applescript page which is one of the first places I looked for something like this (instead of writing it).

Last edited by nevyn; Dec 16, 2007 at 08:48 PM. Reason: Reposted elswhere, might be additional updates/improvements there.
nevyn is offline   0 Reply With Quote
Old Jan 1, 2008, 05:57 PM   #15
penter
macrumors 6502a
 
penter's Avatar
 
Join Date: Jun 2006
Send a message via AIM to penter Send a message via MSN to penter
You should definitly get the perian codec. That should help.

Here are also quicktime components:

http://www.apple.com/quicktime/resou...omponents.html

For video conversion (to have your videos play in your ipod) i second iSquint (http://www.isquint.org/)

But if you are willing to pay for a great product (this is worth it, I'm telling you), then you sould get VisualHub:

http://www.techspansion.com/visualhub/
__________________
jaded fanboy
penter is offline   0 Reply With Quote
Old Jan 1, 2008, 06:09 PM   #16
penter
macrumors 6502a
 
penter's Avatar
 
Join Date: Jun 2006
Send a message via AIM to penter Send a message via MSN to penter
Quote:
Originally Posted by jl000 View Post
hmm, the reference movie solution worked great for me EXCEPT for one big thing, I can't seem to set movie artwork (album artwork..). I go to get info and I set the artwork, but then it just reverts back to the thumbnail. Anyone else having that problem?
I think i know what you're talking about. i think i had that too, it's weird.
I remember having to set my album artwork to be the same for all of my family guy episodes, since i was originally trying to get different album artworks for different seasons, but that didnt work. Also, what I figured, is that you have to go to each movie file INDIVIDUALLY to 1) delete the current album artowrk 2) without closing the info window, (doing so would revert the album artwork to what it was) paste or drag the desired artwork.

I'm not 100% about all this, since this was a while back, but i know that i succeeded in it. If what i said doesn't work, or make any sense, then just try playing around with it, there has to be a workaround. try working with individual files, rather than changing multiple at a time.
Also, Go to Doug's Applescript page. That Really helped, when i was trying to work with individual files but didn't want to copy, and re-copy the others to the desktop (putting the hard drive to work, basically). What i did was to just change the video kind of all the files of a certain tv show with Doug's script except for one, that way you can work with an individual file, without actually having to move/copy/paste/delete the files all around in your hard drive.

I hope i made some sense, and i hope this is what you were talking about.
__________________
jaded fanboy
penter is offline   0 Reply With Quote
Old Jan 1, 2008, 07:30 PM   #17
trev
macrumors 6502
 
Join Date: Nov 2006
Location: St. John's, NL
I prefer iSquint... very good program.
trev is offline   0 Reply With Quote
Old Jan 4, 2009, 07:55 PM   #18
Sandpiper
macrumors newbie
 
Join Date: Dec 2007
Location: Belgium
I prefer typing this in the Terminal for setting the movie-type meta-data on a complete folder of .avi files.
Code:
$ SetFile -t "MooV" /path/to/movies/*.avi
After the files have been imported in iTunes, it takes a really long time to change the tags or to start playing the movies. Anyone else has this?
__________________
iPod Touch 2G 8GB (2008/Sep), Apple In-Ear Headphones (2009/Sep)
MBP SR 2,2GHz 4GB RAM (2007/Jun), OS X 10.6

Last edited by Sandpiper; Jan 4, 2009 at 08:06 PM.
Sandpiper is offline   0 Reply With Quote
Old Jan 5, 2009, 05:11 AM   #19
OZMP
macrumors 6502
 
Join Date: Feb 2008
http://handbrake.fr/

I use Handbrake
__________________
4.25GHz i7-930 Hyper-V mule | QNAP TS459 Pro | 46" Bravia | PS3
rMBP 2.3/16/256 ordered 22/7
32GB iPhone 4
32GB iPad 4G
OZMP is offline   0 Reply With Quote
Old Jan 6, 2009, 07:57 AM   #20
Greendave
macrumors newbie
 
Join Date: Jun 2008
Brilliant - but 1 more thing

Applescript:
Code:
tell application "Finder"
   set file type of file this_file to "MooV"
end tell
That's it. You should now be able to drag and drop the movie into iTunes.

The next step would be to create a Folder Action or a Droplet that adds the movie-type meta and adds the file to iTunes, see below:

Code:
(*add movie to iTunes

The script will add OSList file-type information to a list of files.  This identifies them 
as movie files, the files are then imported into iTunes.

TO DO:
  Verification of file list passed as video files
  Growl integration (if installed)
  Move repeat loop into separate object script to clean-up code.
*)

--Folder Action [Attach to a folder in Finder]
on adding folder items to this_folder after receiving file_list
	repeat with each_file in file_list
		try
			tell application "Finder" to set file type of file each_file to "MooV"
		end try
	end repeat
	tell application "iTunes" to add file_list
end adding folder items to

--Droplet [Compile and drop items onto application]
on open file_list
	repeat with each_file in file_list
		try
			tell application "Finder" to set file type of file each_file to "MooV"
		end try
	end repeat
	tell application "iTunes" to add file_list
end open
Note: you can also use applescript to set the video type (ie movie, music video or TV Show).

Brilliant, scripts work perfectly - but I only want to add a reference file so I am just changing the type and then dragging the files onto iTunes whilst holding the alt key. Can the script tell iTunes to add the file without importing it? Thanks
Greendave is offline   0 Reply With Quote
Old May 1, 2010, 05:21 PM   #21
Stoo22
macrumors newbie
 
Join Date: May 2010
THE easy way :)

Best way to do it is create a reference file. You dont need quicktime pro to do this. Just download QT SYNC which is a free program used to correct out of sync video/audio. Also handy to have

Open the movie file with QT sync and click save as, save as .mov reference file, then go to itunes and add to library . make sure you click the .mov file and not the .avi when adding.

You will need to keep the avi file as the .mov is a reference only but its only a few KBs and saves the hassle of re encoding or payin for programs like videodrive.

job done
Stoo22 is offline   0 Reply With Quote
Old May 12, 2010, 11:33 AM   #22
penter
macrumors 6502a
 
penter's Avatar
 
Join Date: Jun 2006
Send a message via AIM to penter Send a message via MSN to penter
re-awakening the dead, much? haha
__________________
jaded fanboy
penter is offline   0 Reply With Quote
Old Jun 4, 2010, 10:00 PM   #23
sDJ
macrumors newbie
 
Join Date: Feb 2010
File Size Blow out

Hi All,

I know this thread is pretty much dead but 1 quick question - when saving an AVI as a MOV container in MPEG Streamclip to dump in to itunes the file size blows out to over a 1GB for a 200MB AVI in some cases. Am I doing something wrong?

Cheers!
sDJ is offline   0 Reply With Quote
Old Jun 4, 2010, 10:03 PM   #24
spinnerlys
Guest
 
Join Date: Sep 2008
Location: forlod bygningen
Quote:
Originally Posted by sDJ View Post
Hi All,

I know this thread is pretty much dead but 1 quick question - when saving an AVI as a MOV container in MPEG Streamclip to dump in to itunes the file size blows out to over a 1GB for a 200MB AVI in some cases. Am I doing something wrong?

Cheers!
Which codec and what settings are you using (resolution, audio, ...)?
spinnerlys is offline   0 Reply With Quote
Old Jun 5, 2010, 12:59 AM   #25
Greendave
macrumors newbie
 
Join Date: Jun 2008
Quote:
Originally Posted by sDJ View Post
Hi All,

I know this thread is pretty much dead but 1 quick question - when saving an AVI as a MOV container in MPEG Streamclip to dump in to itunes the file size blows out to over a 1GB for a 200MB AVI in some cases. Am I doing something wrong?

Cheers!
Have you tried using QT with perian installed and just save as a .mov or using one of the AppleScripts out there to just change the creator type so it is readable by iTunes?
Greendave is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Applications > Mac Applications and Mac App Store

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Avi Jim Dow Mac Applications and Mac App Store 10 Nov 16, 2013 03:38 PM
Delete avi files (from iTunes) robo44 Mac Applications and Mac App Store 3 Mar 1, 2013 12:18 PM
Avi robo44 Mac Basics and Help 2 Feb 1, 2013 10:35 AM
All iPads: Best video player for avi (or other non iTunes format)? yalag iPad 1 Dec 9, 2012 10:21 PM
Why can't iTunes add .avi, .mkv, or other non-Mac formats? ImperialForces Apple TV and Home Theater 5 Sep 5, 2012 03:06 PM

Forum Jump

All times are GMT -5. The time now is 11:10 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC