View Full Version : Convert RGB32 to YUY2 how ?
hi scene , i got a desktop screen capture in Huffyuv format its RGB32 if im correct. I cant encode this for some reason i get multi errors in various apps , how do i convert it to YUY2 ? my apps will most likely take it then.
any info helps
s8n
thetoof
11th May 2008, 19:27
http://avisynth.org/mediawiki/ConvertToYUY2
Amrit
11th May 2008, 20:09
hi scene , i got a desktop screen capture in Huffyuv format its RGB32 if im correct. I cant encode this for some reason i get multi errors in various apps , how do i convert it to YUY2 ? my apps will most likely take it then.
any info helps
s8n
u can make a avs script and make it convert to YUY2 on the bottom. thats how it works for videos. But i dont know about a picture
thats how it works for videos. But i dont know about a pictureImageReader()
soz team its not a pic its a .avi that i have Captured with Camstudio and the Huffyuv codec.
this is my script that wont work , when i add it to apps they crash or error msgs (MeGUI , Virtualdubmod).
AviSource("c:\clip.avi")
ConvertToYUY2()
am i missing something ?
thetoof
12th May 2008, 04:45
What are the error messages...?
Alex_ander
12th May 2008, 08:57
Some people reported problems from audio with Huffyuv+AviSynth, try to disable it in AviSource.
Virtualdubmod just quits out , and MeGUI gives this msg
http://img182.imageshack.us/img182/1761/doom9jh2.jpg (http://imageshack.us)
Does it happen also with DirectShowSource()? What if you move the file elsewhere? Does the file play fine by itself?
can you edit my script to add DirectShowSource() , im unsure how to use that switch ......im no Avisynth tech !
yea i have moved the file around to no avail
no the file doesnt play at all in Zoomplayer or in CamStudio
.......if i use the YUY2 capture config in Huffyuv i can play and encode it no problemo but it seriously slows to the capture FPS , i definitely need to hit 60fps and with the YUY2 config it runs at around 55fps.
im capturing emulation of battles and demos , CPS3 and so on.
Access Violation sounds like the file cannot be accessed somehow. But I don't know, maybe it's just AviSynth.
DirectShowSource is used exactly like AviSource. (You can also check the documentation for more details). But if the file doesn't play in other players you probably don't have a DirectShow decoder for it (or possibly haven't enabled it if using ffdshow).
Also, are you using the ffdshow huffyuv encoder? I think it's faster than the original huffyuv.
Access Violation sounds like the file cannot be accessed somehow. But I don't know, maybe it's just AviSynth.
No, Access Violation simply means some filter tried to access some part of memory that didn't belong to it... also known as "a crash".
What VfW decoder is being used here? For HuffYUV, try using ffdshow's HuffYUV decoder - or maybe ffmpegsource to get VfW totally out of the picture...
np: Aesop Rock - Cook It Up (ft P.F.A.C.) (Bazooka Tooth)
No, Access Violation simply means some filter tried to access some part of memory that didn't belong to it... also known as "a crash".You're right. I just thought of the "access" part which translated into "access denied" or something. :)
i use huffyuv V2.20
http://forum.doom9.org/showthread.php?t=67121
i tried FFDshow's Huffyuv codec and it works , as in i can play and encode it but it will only hit about 53fps max. RGB mode is way faster i can hit over 75fps with that option.
yea i have enabled Huffyuv to be decoded by FFDshow.
tried DirectShowSource switch aswell its a no go.
Not sure what the problem is. Maybe old codecs conflicting somehow? If nothing works to load the file through AviSynth (and you tried the latest version of AviSynth), perhaps try converting it with VDub alone using Video/Color Depth.
hiya shae , yea it stumps me something aint right ill get to the bottom of it at some point. Im might take a break for a bit and try again soon its too good to dump ie Capturing emulation of CPS 2 CPS 3 Neo Geo demos and battles.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.