Play AVI DivX codec Movies on Quicktime in Mac OS X Leopard

By | November 30, 2007

Quicktime under Mac OS X Leopard can’t play movie or video files saved in .avi format encoded with DivX format without a little help. Also if you get no sound from avi files on your Mac, the following avi audio codec will solve that problem for you.

Here’s what you need to make Quicktime on Mac OS X Leopard (10.5) play .avi movie files:

Quicktime Video Codec – Free Xvid Quicktime Component for DivX codec avi files

Quicktime Audio Codec – A52 avi audio codec for Quicktime

(Thanks Orca for the updated A52 link)

Download both of these disk image files (.dmg) and double click them to mount these files (make them visible and accessible through Finder as another Device (top left hand corner of Finder) on your Mac.

Next we need to put these components into the right folders. Within Finder, click on the Xvid Alpha device. Within this Finder window, you should see a file named Xvid_Codec 1.0 alpha.component. You need to copy and paste this item into /Library/QuickTime/ folder on your Mac. The easiest way to find this folder is click on the first device (looks like a metal hard disk) within Finder (mine is called Leopard), then find the folder named Library, and within that, another folder named QuickTime. Paste the Xvid Alpha file into this folder (or drag and drop it if you have two Finder windows open).

For the audio part of playing .avi files in QuickTime you need to place the A52 codec component into /Library/Audio/Plug-ins/Components/ folder. Luckily the author of the A52 audio codec for playing avi files in Mac made shortcuts right within the .dmg file for A52 Codec. When you double click the A52Codec .dmg file you’ll see two huge arrows pointing from the codec files to the folders they should be dropped into so simply drag and drop the two files into the folders (which are actually shortcuts to the correct folders on your Mac machine).

If you want QuickTime to recognize and play Dolby AC3 encoded audio from movies, copy the AC3MovieImport component into the /Library/QuickTime folder as well. This definitely won’t hurt and you’ll probably enjoy it later.

After this if you already have QuickTime running, Quit QuickTime (Command + Q), don’t just Close it, since QuickTime will still be running in the background. You need to fully quit QuickTime and restart it for the codecs to be loaded by QuickTime, so this step is necessary.

After all this try double-clicking your .avi movie file again and see if both audio and video are now being displayed by QuickTime.

Enjoy your movies

99 thoughts on “Play AVI DivX codec Movies on Quicktime in Mac OS X Leopard

  1. Pingback: No Sound in QuickTime with DivX Movie Files « Mac OS X Leopard & Tiger Dual Boot

  2. aONe

    good post. But I really just need A52 component and Xvid, copy to /Library/Components and all works.

    One question, u know something about mpga audio codec?

  3. donkeyhotay

    Wow! Just when I was at a low point I discovered your post. I had already found the Xvid component (not realizing it was only for video) and was frustrated to get audio only on some AVI files. Goggle found your post for me, and thanks to you, I downloaded the A52 and AC3 components and now have audio AND video!

    I just need to say that I’m constantly amazed by the generosity of people like you who post helpful information like this. You didn’t have to post this, but you did, making my life (and hopefully others’) easier and more enjoyable. Thank you VERY, VERY much!

  4. paulsmyth45

    Thanks so much very helpful! im new to using a Mac you’ve saved me from pulling my hair out!

  5. hanlons


    Great Post!

    I also stumbled across this and thought it might be my saving grace!

    All connected to my TV/Decoder:

    I get video (AVI’s) – no problem
    I get DVD’s through Front Row (with AC3/5.1) – no problem
    I get System Sound – no problem
    I get iTunes Music (sound) – no problem

    But can I get sound my AC3 encoded (via handbrake) AVI files – No – Urrggghhh!

    Can you think of anything I could try?

    I have made your recommendations and I have also followed this great link :

    But still AC3 Sound escapes me.

    Any help, much appreciated.


  6. ringostar69

    Ok, I installed the A52 codec in both the library/Components and the Library/audio/plug-ins/components directories. Then I rebooted the Mac just to make sure they took. Still no audio.
    In other words I am having the same luck as Scott.
    The Video file I have was created with a flash to Xvid converter program on an IBM. According to Gspot the audio codec is MPEG (MP1/MP2), ISO/IEC. I am beginning to think this converter is a piece of s..t because it really seems odd to me that it wouldn’t use the A52 codec. So my next step is to find an MPEG codec to shove into quicktime.
    I have VLC player loaded and it works great.
    Anyway Scott you might want to try another DivX movie. Get a demo from somewhere.
    If any of you geniuses have any other ideas I would sure love to hear them.

  7. ringostar69

    In regards to my post above. I found that the converter I was using is converting audio to Mpeg, which, for some reason does not work with my quicktime. It does function with the VLC because the VLC has the proper codec loaded.
    After digging around and trying several converter programs I found that the AVS4YOU will do the conversion. It is the only converter that I found that allows you to select the codecs you want! The MP3,ISO MPEG-1 Layer 3 works great in my quicktime. I think, but I am not sure, that it uses the A52 codec, if not it is using one that comes in quicktime.
    The following converters, in my opinion, are junk. They use oddball codecs, and there is no way to change them: YouTube FLV to AVI suite Pro and APlusFLV2DivX. The Aplus converter is so bad that not only didn’t it work in quicktime, in failed to function in WMP 9 and Gspot failed to recognize the video codec at all. Whoever makes that sould be….
    The movies I have made with AVS4YOU work on both Quicktime and WMP9 with standard DivX codecs. They are fairly compact and appear to stream well on my IBM Servers.
    The only disadvantage is AVS4YOU is IBM only.

  8. erisedilla

    This worked for my video just fine but the audio was still an issue until I downloaded perian and then it all worked. Thanks for posting this!

  9. Pingback: Playing TV Shows and Movies with Front Row « Mac OS X Leopard & Tiger Dual Boot

  10. Pingback: Fix Front Row Crash while playing divx avi « Mac OS X Leopard & Tiger Dual Boot

  11. Pingback: Download divx for Mac « Mac OS X Leopard & Tiger Dual Boot

  12. Lynx:o

    GREAT! Thanks a lot for the much needed codec. Worked perfectly!

  13. Ivan

    Great. Thanks so much. I have not been able to play .AVI files on Mac OS 10.4.11 for 6 months – very depressing as I like the camera very much (fuji finepix S5700) and I was not looking forward to bringing it back.. anyway, the codec here has solved the problem.. nice one.

  14. Ali

    great post, only thing is that installed both the components and still nothing works. any ideas whats going on?

  15. nexenta


    My problem is related to VLC maybe is not the right post where should i ask but still..
    I use VLC because it has Subtitles engine and is quite easy to use it. I never figured how in the world I could have subtitles in Quick Time – *.sub not *.srt files. But after i downloaded the latest VLC version I observed that my VLC player freeze after a few seconds of playing.
    Do you have some ideeas?


  16. Goncalo


    After doing all the suggestions, I made simply two things. But it only worked after the second one:

    1. Installed a plugin called Perian
    2. Upgraded Dix X Codec to Div X Pro on the System Preferences Window

    Right after I’ve done this, the sound simply came back. I noticed that from the 180 days testdrive Codec I had only 15 days left. After inserting the Serial Key, it gave me unlimited use, hence the SOUND CAME BACK!

    Hope it helps.

  17. Felix

    This was great. Really appreciate the great explanation, the links and how it works. 5 out of 5 stars for this work!

  18. xShadow88x

    Thanks for Perian! Deckard u saved my life. Thanks

  19. REYNE

    Congrats on a good post and considering how much I like and use Quicktime, I must say that VLC is far easier and convenient for playback.

    It’s also free as a bird and takes far less CPU time 😉

  20. Natalie

    Thanks so much! I followed your instructions and finally got my dvds to play! Well done on an excellent post

  21. Jack

    Thanks for this explanation, Leopard. I installed the Xvid quicktime component for mac but still couldn’t see the video of avi files. Any suggestion? Thank you!

  22. brady

    just downloaded perian also and it still dosnt play .avi!!!! any suggestions!

  23. Paul

    I could not figure out what was going wrong, but this fixed my lack of audio problem. Thanks for posting this!

  24. Callaghan

    Thanks for the post. Didn’t work for me originally, so I installed Perian, which worked like a charm.

  25. Brady

    perian still dosnt work for me? do i need to delete the other 2 downloads for it to work?

  26. vinny

    i cant get the audio to work!!!

    i tried installing perian.. then going to the old perian 1.0 and then installing the new divx and taking the new divx off and of course the 2 codecs u put above but the audio still wont work… PLEASE HELP I NEED THE AUDIO for home videos…..

    please help me fix thisssssssssssss

  27. 1 Punch Jackson !!

    Top man….. Thank you very much !!

    Just brought my Macbook 2weeks ago and it nearly went out the window after downloading movies, and not getting any sound…

    Thanks again


  28. Narita

    I have both but QT stiil no audio, I usually play on VLC and it works fine. Now my problem is when i burn them to DVDs and when i tried to play them on my DVDplayer no sound comes out just like in QT

  29. Misha

    Thanks a lot!!!
    Now I can use on my MAC only 1 player instead of VLC for .avi files and quicktime for other video formats.

  30. Marjo

    Thank you so much! This is a great post! 😀 Really helpful! 😀 Keep on posting!

  31. Mosscat

    Great stuff! Instructions on the original post work great!!! Thanks for the info!!

  32. Gerry

    Fantastic and easy to follow installation instructions. I could not get video or audio before, and after installing the components, i got video!!!

    Then I installed Perian, and I got audio as well. No need to reboot my macbook, just re-open Quicktime.

    Thankyou so much, you guys are tops!!!

  33. Dudi


    I was having the same problem as everyone else which is SOUND does not work on QUICKTIME only when trying to play an .avi file (films/videos)

    After Installing the Codes the this poster advised – This did not solve the problem for me like a few other people, I followed the guy who posted this advice hereunder:

    1. Installed a plugin called Perian
    2. Upgraded my DixX Codec to DivX Pro which is in the System Preferences Window

    and sound has returned, i’m not sure which of the 2 solved it as I was in a hurry to try all avenues so i tried everything and then restarted quicktime and voila.



  34. sukun

    thanks a lot: only problem, I don’t have any QuickTime folder in my Library (!!). SO I created one and it works… don’t ask me how. Do you have any suggestions?

    and also: how to read MPEG and WMA files?

    thanks again

  35. Jeff

    I found that just installing the DivX Codec ( worked best for me! If you installed the
    Quicktime Video Codec – Free Xvid Quicktime Component for DivX codec avi files
    and the
    Quicktime Audio Codec – A52 avi audio codec for Quicktime
    like the original post suggests. Then, delete those files. although the Quicktime Audio Codec – A52 did not affect the playback of the avi movie I would remove it to avoid possible problems in the future. I would rather only have a few components in the “/Library/QuickTime/” folder for future troubleshooting, than to deal with an abundance of possible problem components.

  36. morganm2

    Thank you! Thank you! Thank you!
    I just got a mac and was searching for the past two days on codecs and I had similar files but NO DIRECTIONS on how or where to put/install them.
    So thanks again 🙂

  37. Abby

    Mplayer 1.0 pre8 rc5 – Perfect for Mac

    This is the newest Universal English Version, compatible with MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ and PVA,support XAnim, and Win32 DLL code。Also works for VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5 and WMV movie。

    Free Download Address

  38. MacBook Confused

    I downloaded all sorts of things, , , sometimes there was video but no sound, sometimes the video was flashing, and finally, thank God, I tried Perian alone, and my videos work perfectly.
    Thank you

  39. DonkeyHotay

    Perian also worked for me. It does seem to make a difference whether or not you remove older codecs as Perian suggests ( I didn’t do this the first time I installed Perian and had no luck. I went back, uninstalled Perian (you need to go to System Prefs > Perian and click on General > Remove Perian) removed an old divx codec, reinstalled Perian and now my AVI movies play with audio and video (How novel! Thanks for nothing, Apple!). Of course, the next time Apple upgrades QuickTime, this will probably all break again. As Joe Biden might say about Apple “I love ’em. God bless their hearts. But why do they have to fix what’s not broken.” Anyway, thanks for the help here! YOU ROCK!

  40. Dr Sound

    Great stuff! I downloaded the XviD component and the A52 audio codec and those were no problem. BUT I’ve got one BIG problem…QuickTime is not in my library. What haven’t I done right?

  41. popo

    If it’s not a DivX file—and if you’re adventurous enough to step outside the comfy confines of QuickTime— I recommend trying either MPlayer OS X or VLC Media Player. These excellent and free multimedia players can tackle many of the video formats unknown to QuickTime. My favorite is MPlayer OS X. I’ve thrown nearly every type of AVI file I could find at it, with great results. It also lets you use the arrow keys to skip backward or forward during playback—a feature QuickTime doesn’t offer.

  42. Chiznatch

    I just bought a mac book and trying to go from vista to leopard isn’t easy for me but if I had 10 thumbs they’d all be for you!

  43. bell

    thankyou very much! its taken me all week to finally find something that works. your a champion!

  44. Pingback: Next of Kin, 1989

  45. Vicki

    Thank you for this! It fixed all of my issues quickly and easily.

  46. Roberta

    I’ve copied the files to the correct folders and reopened QT. For some weird reason, all I get is a black screen with no audio. Anyone had this problem?

  47. Emily K

    Thank you for the great post. I’m having a bit of a problem.

    I tried to play an avi (xvid) file on Quicktime. No audio, perfect video resulted. So I read this post. Got the video codec (since the audio seems to be included in Perian now, which I have).

    Played the file: great audio, jumpy and then frozen video. I tried reloading Perian. Is there somewhere I can just get the audio codec listed here? Is there another course of action I should take?

  48. Mike

    You’re still getting raves more than a year after posting this. You can include mine. Thanks so much! 🙂

  49. Pingback: Play AVI DivX codec Movies on Quicktime in Mac OS X Leopard | Mac OS X Leopard & Tiger Dual Boot | Video Software Site

  50. Helen

    Thanks a lot! work well for me, solve two problems at same time~

  51. Ivan

    Thank you very much for your post! Apple support for this (no audio in avi files) was bad, but You are Great! Also, iDVD it was freeze when it worked with avi files. Solve two problems at same time! Thanks a lot Again.

  52. Pingback: Quicktime Pro - no audio when playing AVI files -

  53. Pingback: Mac army to the rescue please. -

  54. eirini

    Thank you so much for the information. I looked everywhere on the web… no results. But now with your advice everythings fine.


  55. supernova

    On the spot! Many thanks for your time! With guys like you, there’s hope for the human race after all!

  56. shannon

    I just want to say thank you so much. This was very helpful! My quicktime player was only telling me that I needed the XviD and said nothing about needing to download something for audio. I was very bummed when my movies were playing at last but with no sound. So thanks!

  57. Lizzy

    Singularly the most helpful piece of Mac advice I’ve ever read – works perfectly. I wish you a long and joyous life.

  58. Pingback: Playing TV Shows and Movies with Front Row « Evolving Minds

  59. Gustavo

    Hi !
    this post was just great ! Tks! Finally it works for sound and video.

    Would anyone know how we can have either (or prefereably both) DivX Player for Mac or Quick Time intepret .srt (subtitles) files?


  60. Alex

    I know its repetitive, but, the shit works. I was trying to watch AVI files before, that even paid Flip4Mac couldnt get to run. Found this, 5 minutes later, I’m up and running. Incredible.

  61. Kara

    Just to repeat what everyone else has said – THANK YOU!!! I was about to pull my hair out and give up.

  62. Olin Demase

    Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  63. Tina Paice

    Thanku Thanku Thanku ,Being new to macs your site was so helpful to me i have a lot of avi files some would play some wouldn’t i followed your instructions to the letter and now they all work and Thanku again
    Its sites like yours that really help people and i appreciate the time that you spend doing this

  64. Nat

    THANK you so much, worked an absolute TREAT, very simple and your instructions were too easy!!! :)))

  65. Shari

    Thanks so much! Worked like a charm, and your instructions were very clear!

  66. Orca

    I Finally got it working Thankfully but The A52 component I had to download by itself, as the link given above only takes you to the site that says is now only maintained in perian, and to download perian.

    I have included the link to download JUST the A52 codec part of perian below;

    Quicktime Audio Codec – A52 AVI Audio Codec For Quicktime

    I am running Mac OS X Mountain Lion and Quicktime 7 Pro and this work for me (Just remember to read and it should for you too).

    Thanks for all your help!!!


Leave a Reply

Your email address will not be published. Required fields are marked *