Log in

View Full Version : Trick Windows into opening a "yuvs" AVI


langman10
17th March 2008, 20:34
So, I have an AVI that is 8-bit YUV uncompressed. When the fourcc is "yuy2", then PCs can open the file and when the fourcc is "yuvs", then Macs can open the file. (see here (http://forum.doom9.org/showthread.php?p=746854) and here (http://developer.apple.com/quicktime/icefloe/dispatch020.html) for an explanation.)

My question is...does anyone know how to trick Windows into seeing a yuvs file and treating the file as if it were a yuy2 file? I mean, the only thing changed in the file is the fourcc description! I've fiddled with the values for

HKEY_CURRENT_USER\Software\Microsoft\ActiveMovie\devenum\{33D9A760-90C8-11D0-BD43-00A0C911CE86}\

and

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32

because I believe these are the locations where Windows looks to know what dll's to use, etc. But fiddling with these at most gives me a purple and green version of the AVI. Any ideas? TIA

Langman

martino
17th March 2008, 20:52
Not sure what exactly you mean, but if I'm on the correct track you can force the FourCC in AviSource's input parameters.

langman10
17th March 2008, 21:22
Not sure what exactly you mean, but if I'm on the correct track you can force the FourCC in AviSource's input parameters.

True. But to get more than simply AviSynth to recognize the file (i.e. open the AVI file directly from WMP), I believe I have to change things at the registry level. Correct me if I'm wrong, anyone.