Slashdot Mirror


Dealing w/ Codec Hell Under Multiple OSes?

Dixie_Flatline asks: "I just downloaded some videos from here and there, and I found myself floundering in codec hell. I've got AVIs and MPGs, and none of them play. I've got DivX and 3ivX installed, and I even tried using DivX Doctor on some of the AVIs. The other AVIs refused to be processed, and even the MPGs won't play! When I put them onto a Win2000 box, I found that only SOME of the AVIs played, most of them didn't and the MPGs were STILL broken. Is there a codec pack out there that has everything I need all packaged up neatly? How do I get myself out of this? I just want to watch my media files!" While there probably isn't a be-all-end-all codec pack for your specific OS, what web resources are useful for people who need to find a codec (even an obscure one) before they can play their media files?

30 of 104 comments (clear)

  1. identify codecs by junkymailbox · · Score: 5, Informative

    There are programs out there specifically designed to identify the codec. Not to make a plug but I use a program called G Spot. It tells you what codec is need and where on your system is the codec supposed to be. YMMV if you're a on non windows system. Try to not mod me down for using windows.

    1. Re:identify codecs by Creepy+Crawler · · Score: 3, Informative

      Windows works ok for playing basic stuff, but fails when you have many AVI's with the same 4 character ID. Then the AVI lookup library gets in a fit and doesnt bother to try to lookup the correct format.

      Mplayer WILL attempt to find the correct codec to the media being played. It just doesnt run well on windows (or so I've heard- I've never attempted it).

      --
    2. Re:identify codecs by vasko · · Score: 2, Informative
      There are programs out there specifically designed to identify the codec. Not to make a plug but I use a program called G Spot. It tells you what codec is need and where on your system is the codec supposed to be.

      ... and then go to the GalgoNET, download ACE Mega Codec Pack and install only codecs/filters that you absolutely need. Link to the page with few more details.

  2. try ffdshow + MPC + oggDS by NanoGriever · · Score: 5, Informative

    If you are using windows,
    try using ffdshow, media player classic,
    and oggDS filter.

    you can find ffdshow and media player classic
    at sourceforge, and get oggDS here:

    http://tobias.everwicked.com/oggds.htm

    I can't guarantee this combination will play
    all AVIs and MPGs, but it works for me.

    1. Re:try ffdshow + MPC + oggDS by dimator · · Score: 4, Informative

      I'll throw VideoLAN into the mix. It succeded with some files (read: Paris Hilton video) where other players failed.

      --
      python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
  3. Mplayer for Debian by molo · · Score: 3, Informative

    For those that don't know, there is a mplayer for debian apt source available. It includes all of the codecs, win32, quicktime, realplayer, etc. Best part is mplayer-plugin (works with Mozilla for sites that embed their videos in a webpage). Go here:

    http://marillat.free.fr/

    -molo

    --
    Using your sig line to advertise for friends is lame.
    1. Re:Mplayer for Debian by swillden · · Score: 5, Informative

      For those that don't know, there is a mplayer for debian apt source available.

      I second the recommendation, but it's really a multimedia debian apt source, with lots of players and codecs, rippers and encoders, etc., not just mplayer. Basically, it's got all of the media stuff that Debian won't carry because of patent and DMCA concerns.

      The xine packages on marillat are really nice, too.

      Just add one of the three lines below to your sources.list, depending on which version of Debian you run (stable, testing, unstable):

      deb http://marillat.free.fr/ stable main
      deb http://marillat.free.fr/ testing main
      deb http://marillat.free.fr/ unstable main

      Great stuff. Or so I'm told. Given that I live in the US, I obviously wouldn't use any of this potentially illegal and undoubtedly subversive software.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  4. try Video Lan Client by Anonymous Coward · · Score: 4, Informative

    http://www.videolan.org/vlc/

    Should play most everything!

    1. Re:try Video Lan Client by flabbergast · · Score: 2, Informative

      Yeah, definitely try Video Lan Client. Why? Because they've developed their own codecs for playing videos and do not rely on codecs that are installed on the system (so there's no codec confusion, which sometimes occurs on Windows Media Player)

    2. Re:try Video Lan Client by Anonymous Coward · · Score: 1, Informative

      yep, why else? it is multi platform, os x, windows, linux, bsd, qnx, whatever, it is also open source, and also just good software!

  5. mplayer and winamp2 by Apreche · · Score: 2, Informative

    I use gentoo. In linux I have mplayer emerged. It plays everything automatically. I haven't seen a file it wont play properly all on its own. It's like magic. I wish mplayer worked as perfect in windows as in linux.

    In windows since mplayer in windows isn't even comparable to linux I use winamp 2. Since it's already the best player for mp3s might as well use it for video too and save myself a piece of software. I have ffdshow installed and it works perfect with winamp2. I haven't found a divx file that wont play. I have however, found ogms it wont play. It's somewhat annoying, but not so bad. I also have quick time alt and real alt so I can play those files in windows without their respective crap softwares.

    --
    The GeekNights podcast is going strong. Listen!
  6. Cut this out by jsse · · Score: 2, Informative

    How do I get myself out of this? I just want to watch my media files!

    Stop downloading p0rns from untrustworthy p2p sources. They don't mean it when they put up a title like "Britney_Lesbian_Rape_Cum_Teen_Pee.AVI".

    Hmm, I meant, when you say AVI it may not be really AVI. Yeah, right. :)

    Or install Gentoo then emerge mplayer. Their default installation already included a lot of codec, free as well as proprietary ones. You just fire your mplayer on any file and it'll recognize it regardless of its extension. You should be all set.

  7. what works for me on win32 by MoOsEb0y · · Score: 3, Informative

    Google for a thing called "nimo codec pack". It's everything and the kitchen sink all packaged in one NSIS executable. quite handy.

    1. Re:what works for me on win32 by rekkanoryo · · Score: 2, Informative
      You have to be careful of that, though. I run Windows XP (hey, it was free, MSDN Academic Alliance has saved me about $3000 for M$ software), with all the latest patches installed. That includes Windows Media Player 9. When I installed the Nimo Codec Pack, WMP would crash on every file I tried to play, even MP3s and WMVs. After I uninstalled that codec pack, everything worked properly again.

      You may be able to avoid the problem by using other media players, but I've yet to find a player for windows that plays non-DVD video properly in fullscreen mode while still playing smoothly.

      Just my $0.02

    2. Re:what works for me on win32 by Anonymous Coward · · Score: 2, Informative

      You had problems with WMP crashing on everything because you failed to read the install instructions telling you that 2 different codecs that are part of that Nimo codec pack are mutually exclusive. How do I know this? It's because I made the same mistake myself by just breezing through the Nimo install wizard without reading the instructions. I got it to work AFTER uninstalling it and then selecting one codec or the other.

      It doesn't matter though because I had uninstalled Nimo after it worked for a while and tried the Kazaa Lite codec pack 2.10. I installed that and have kept it on my Win2K box ever since. Too bad Kazaa Lite has been taken down.

  8. Codec Pack + AVIcodec by Chris+Pimlott · · Score: 4, Informative

    While there probably isn't a be-all-end-all codec pack for your specific OS

    Actually, there is -- for Windows at least. But I've tried it before, and installing every possibly codec, most of which you never use, only makes things worse, not better. I find it better to ignore the all-in-one packages and just get the codecs from the proper sources. So grab xvid and divx and ac3filter--that'll cover most of it--and then grab other ones as you need them.

    what web resources are useful for people who need to find a codec (even an obscure one) before they can play their media files?

    Which is where AVIcodec comes in. What it does is show you what audio and video codecs are used by your media files. So when you find a file that doesn't work properly, it'll let you know what to look for. Google is normally enough after that, but RareWares is a good place to find some of the more obscure codecs.

    1. Re:Codec Pack + AVIcodec by Fletch · · Score: 2, Informative

      RareWares is a good place to find some of the more obscure codecs.

      Another resource for codec info (in addition to the codecs themselves) is VCDHelp (aka DVDrHelp).

      That site is a reference I've gone back to many times. There's lots of good info there on things like backing up your DVDs, burning them back onto CDs as VCDs, and finding out what your component DVD player is capable of.

  9. No expert but... by ptaff · · Score: 4, Informative

    There is a site devoted to video/audio codecs.

    As a sidenote, I'd strongly suggest you try the latest MPlayer builds for Windows. Powerful stuff. Shameless plug.

  10. Doom9 by Anonymous Coward · · Score: 3, Informative

    Doom9 has pretty much all the info you could ever want on codecs and video formats. The link to Gordian Knot should give you all the codecs you need (Win32 only, unfortunately).

  11. Answers, and then some... by TechnoPops · · Score: 5, Informative

    Having played a lot with video encoding in my spare time (which isn't hard to do when you've been unemployed for seven months), I will bestow on you some tips on the world of encoded video, so that you won't have to go through as much teeth gnashing, hair pulling, and head slapping that I have. :) (Note: I work primarily on a Win32 machine, so if you want to do this on another platform, just kindly ignore all the words below. :P)

    The most likely problem you are facing is that you don't have the right codecs installed to play the files you want. As someone mentioned before, Nimo is your best friend in this case, as it's a file pack that contains a multitude of codecs and filters to play almost everything under the sun.

    But say you install Nimo, and things still don't work. What then? Well, assuming you still don't have the right codec, then it's time to meet your other new best friend, AVIcodec. Don't let the name fool you. This little program will identify the codec you need for AVI's, MPEG's, WMV's, ASF's, and probably a few others I'm forgetting. I also hear good things about GSPot, but AVIcodec works too well for me to change. :)

    Now, say you run into a file that uses MPEG2 for video or has an AC3 audio stream. Well, you won't find any codecs for those on the web, because the Motion Picture Experts Group likes to rake in those licensing fees. (Well, you MAY find a codec or two out there, but keep in mind if you download them and don't have to pay a fee, it's almost certainly illegal.) What you then need to do is to install a software DVD player like PowerDVD or WinDVD, and that'll straighten things out for you.

    Now let's say you're SURE you have the right codecs installed, and the video STILL won't play. Well, that just blows, because your file is probably damaged, or in the case of an AVI, it's incomplete. If you've got an AVI, run over and grab AVIPreview, which is a nice program that'll let you preview incomplete AVI's (see? "AVIPreview"? :P). If it plays in there, and you don't feel like downloading a complete version of the file (which you sometimes can't find when you're using P2P services), AVIPreview will let you save the file with a complete container so most media players won't complain.

    Now... (*takes a breath*), if it isn't an AVI, then the likelyhood you'll be able to fix the problem goes down considerably. Free ASF and WMV editing programs are few and far between (and we all know who owns those file formats), and almost all MPEG issues will continue to niggle you unless you do a full-blown re-encode of the file. You can definitely try downloading VCDGear and checking the "Fix MPEG Errors" checkbox, but this almost NEVER works (i.e., times it worked for me: none).

    And keep in mind these are the EASY solutions. If you're actually interested in using video editing/encoding programs, then take a visit to Doom9 or DVDRhelp.com. The forums and guides on these sites are a boon to the video encoding enthusiast, and the forum regulars tend to be pretty friendly, too. :)

    Best of luck and well wishes...

    --
    "Each time you smile, it'll only last awhile. Life may be scary, but it's only temporary."
  12. VirtualDub by Tom7 · · Score: 4, Informative

    Nobody here has mentioned it yet, so I'll remark that VirtualDub is the best at opening and reconstructing broken AVI files.

  13. Re:for windows there is the k-lite codec pack by nidx · · Score: 2, Informative
  14. I'm using OS X! by Dixie_Flatline · · Score: 5, Informative

    It was edited out that I'm using a G5 with OS X. Thanks to all of you that have answered, even with non-OS X information. I've managed to glean enough from here and there that I've so-far managed to solve most of my problems, except for WMA encoded AVIs, which even DivX Doctor has no solution for on OS X systems.

    1. Re:I'm using OS X! by Per+Wigren · · Score: 3, Informative

      Try MPlayer for OS X! I haven't tried it myself since I don't have a Mac, but I've heard that it's great and can play just about everything!

      --
      My other account has a 3-digit UID.
    2. Re:I'm using OS X! by Hallow · · Score: 2, Informative
      I didn't see your post before I posted my comment:

      I'm running Mac OS X as well. I had major problems playing DivX, and I had both DivX and 3ivX installed - which turns out to be part of the problem. I've managed to resolve most of my issues with the following components:

      • AC3 Codec.component
      • DivX 5.component
      • msmpeg4v1.component
      • msmpeg4v2.component
      • OggVorbis.qtx
      • on2vp3.component
      • XVIDDelegate.component
      Since setting this up I haven't run into any AVI's or MPEGS that I couldn't play in quicktime.
  15. Re:Easy! by Anonymous Coward · · Score: 1, Informative

    I disagree, I keep running across avi's that won't play on my Mac or play with a white screen with no audio. Quicktime reports them as "wraw", vlc errors out saying there is no FourCC tag and ffmpegX shows: VIDEO: 0x00000000, size: 352x288, 3.000 fps, 304 kbps.

    I've run these files through vlc,mplayer,quicktime, Indeo 3,4,5 in OS 9, the 3vix codec, Divx codec, msmpeg4v1.component, Divx Tool (can't change fourcc tag because it doesn't work with video that has mp3 audio - not that I would know what to change the tag to), Divx Doctor, tried reencoding with ffmepgX, etc... to no avail.

    They might be garbage but given how popular the files are on Gnutella (by number of hosts) they must be working for someone. Otherwise mplayer has been very impressive.

  16. Re:Crack out mPlayer from mplayerhq.hu by Anonymous Coward · · Score: 1, Informative

    put those same codecs in /usr/lib/win32, and xine magically uses them too.

  17. Author of Zoom Player has an excellent codec guide by Grabble · · Score: 3, Informative


    AVOID CODEC PACKS!

    The author of Zoom Player (a highly recommended geek-friendly Win32 media player) has written an exceptionally concise Windows codec guide.

    And as if writing Zoom Player wasn't cool enough, the headline of one of THE most read topics in his well-maintained forum states...
    These codec packs are nothing but trouble, they WILL fuck up your system.
    Here's the codec guide. (Applies to Windows, not just Zoom Player proper.)..
    Codec configuration for windows
    ...and the forum article entitled...
    WARNING: DO NOT INSTALL CODEC PACKS
  18. avicodec by jilles · · Score: 2, Informative

    There's this tool that will help you identify what codecs a particular codec is actually using. Don't blindly install a codec pack. Usually there's a lot of crap in there that you don't need.

    I find that ffdshow (supports most divx/mpeg4 variants) + AC3 filter, both of which are available on sourceforge, play most files. So far I've encountered two exceptions: 3ivx, you need their decoder, and mpeg 2 files. For the latter a codec usually comes with dvd playing software. A good alternative is the elecard codec (shareware). There is also a directshow filter for mpeg2 on sourceforge as well (mpeg2ds), but it doesn't seem to work for me (not surprising since it is alpha code).

    Usually if you know what codecs were used for encoding, it is trivial to find a matching decoder using google. Avicodec can help you with that for avi files.

    --

    Jilles
  19. Additionally by Trbmxfz · · Score: 3, Informative

    Put as many windows codec's under /usr/win32 and let mplayer have a shot at them. I've not seen one AVI that it couldnt play correctly.

    Same here. Additionally, I'd mention that MPEGs should just work in every player there is. If you have MPEGs that don't play, they're most likely broken, and that's it.

    You may want to use the file utility to see whether it things that your MPEGs are indeed MPEGs.