www.FOURCC.org - Video Codecs and Pixel Formats

How do I play back AVIs with YUY2 video?


YUY2 is a raw video format that is often supported by video capture hardware and DirectDraw drivers. If you have a system which has support for the format both at the capture and display ends, though, it is still sometimes the case that you can't play videos in YUY2 back without getting an error along the lines of "Unknown compression" or "Codec not found". While I'm not entirely sure which chunk of software is to blame, it appears that some code is not clever enough to send uncompressed frames directly to the display driver for rendering but insists on passing them via a codec first. The following note from Peter 'Rattacresh' Backes offers a solution to the problem:

Name: Raw YUY2 frames
Owner: Probably Hauppauge
Notes: Can be captured with Hauppauge Wincast TV cards if you chose 'YUY2' as video format in the capture settings dialog.

Problem: Software like VirtualDub says 'cannot find codec', property dialog says 'Unknown compression' (however premiere and the media player don't complain and load/play without problems)

Solution: Install Indeo 4.1 codec and add 
under the '[Drivers32]' section in C:\windows\system.ini.

Remaining problems:

  • Playing more than one YUY2 AVI causes strange interlacing artifacts at the second one.
  • Sometimes only displays green crap if the window's been backdropped in some apps (for example Premiere). Others work fine (VirtualDub, Windows Media Player)

Additional Suggestions: