Industry guru Dave Taylor offers free tech support on a wide variety of technical and business topics, including HTML, Apple iPhone, online advertising, Cascading Style Sheets, Web design, management, Unix, Linux, search engine optimization, online dating, Mac OS X, shell script programming and Microsoft Windows.

How do I play Xvid video on a Mac when Quicktime fails?

A friend of mine sent me a copy of his film on the computer as an "AVI" file and Quicktime complains and I can't watch it on my Mac. Rather than look like a clueless twit I'd rather figure it out before I ask him for help: Quicktime complains that the movie is "not in a format Quicktime Player understands". Can you help me out?


Dave's Answer:

Welcome to the complex and confusing world of video and audio codecs. A codec is a protocol whereby the media is encoded and (often) compressed, and there are a ton of them. Problem is, if the video is encoded using a codec that you don't have, video players can be completely baffled and basically see a file that has a name that makes sense (like .avi or .mov) but is completely random garbage, for all intents and purposes.

There are some standard codecs that programs like iMovie and iDVD use to encapsulate video content, but sometimes you'll find that a filmmaker - or someone encoding or "ripping" video material - uses a non-standard codec because it'll do a better job of compressing, leave less artifacting (boxy visual noise you'll see in scenes with lots of action and movement) or offer some security features that aren't normally part of a video file. Worse, the audio can be separately encoded using one of a ton of audio codecs too, so you can also end up with a file where you can see the video but can't hear anything because the video player just can't figure that part out.

Ugh.

Fortunately, whether you're on a Mac OS X system or a Windows system, there's an open source third-party video player that includes a ton of codecs and typically can play files that Quicktime Player can't handle. It's called VLC and I encourage you to grab a copy for yourself at http://www.videolan.org/.

To experiment, I recently got a video file that's encoded in the DivX format. How do I know? I'll show you that too, have patience!

First off, when I try to play the video file with Apple's Quicktime Player, here's what I see:

mac quicktime can't play codec

That's ugly, there's no way around it. Instead, I open the same file in VLC and here's what I see:

mac vlc plays video

Yay! VLC works just fine with the video.

Let's see how it's encoded, just to expand our video horizons. To do so, choose Window --> Media Information...:

vlc window media information

When you select that and click on the "Codec Details" tab, here's what we see:

vlc window media information codec details

As you can see, the audio is in MPGA format (which is actually an MPEG-1 Layer3 Audio Stream), and the video is in XVID format. You can also dig into the video file and find out the format even if it can't actually play the video. Why? Because you might need the XVID codec, for example, which you can find here: download XVID codec for your Mac.

There's no easy way around it, video can be a pain in the booty for computers. VLC makes it easier, but if you do need to get a new codec to get video (or audio) to work, don't forget that you can use Google. Try a search for "download mac XVID codec", for example.

Good luck and enjoy your friend's movie. While we're talking about movies, btw, don't miss that I also have a popular film blog called Dave On Film. :-)



Help others find this article at Del.icio.us, Digg, Netscape, Reddit, and Stumble Upon    

Subscribe!

Never miss another useful Q&A article again! Subscribe to AskDaveTaylor with Google Reader.

Comments

Perian (http://www.perian.org/) might be a better option if you just want an all-in-one, self-updating codec pack for Quicktime. Covers most of the popular video/audio formats floating around the web. Free and open source too!

Posted by: Tim at November 20, 2009 12:32 AM

I'm with Dave on this one. I love VLC! It plays stuff that nobody else can play, and it's free, and there are versions for every type of OS. You can't go wrong. It's the only video player you'll ever need.

Posted by: Dan at November 21, 2009 1:30 PM

I have something to say, now that you mention it, but ...
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you for all your efforts on this Web site by buying you a cup of coffee!

I do have a comment, now that you mention it!











Remember personal info?


Please note that I will never send you any unsolicited commercial email. Ever.

While I'm at it, please note that by submitting a question or comment you're agreeing to my terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site.








Ask Dave Taylor: The iPhone App: Advertisement


Uniblue: Get A Free Virus Scan!

Follow me on Twitter @DaveTaylor

Search
Find just the answers you seek from among our 2300+ free tech support articles by using our Lijit search engine.


Help!





Subscribe to
Ask Dave Taylor!

Add to Google Reader
Add to My Yahoo!
Subscribe in NewsGator Online

RDF   XML

Free Updates!
Sign up and get free weekly updates and special offers on books, seminars, workshops and more.


Recent Entries
Book Links
© 2002 - 2010 by Dave Taylor. All Rights Reserved.

Note: This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this web site or on any linked site.

[whiteboard marker tray]
"Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.