View Full Version : HuffYuv & YUY2 output
fberreth
3rd May 2003, 11:25
I have a HuffYuv compressed video and the HuffYuv website states that the decoder supported YUY2 output. However, when I try to force YUY2 output with
avisource("file",false,"YUY2")
I get the error message that YUY2 output couldn't get produced by the codec. HuffYuv version 2.1.1 used.
:stupid:
Can you help please? I want to avoid conversion HuffYuv->RGB->YUY2
Thanks.
is your video already in RGB - if so, why do you want to make a conversion anyway?
fberreth
3rd May 2003, 17:41
No, I captured my video in YUY2, compressed with HuffYuv and saved on hard disk.
Now I want to filter & compress the video to MPEG-4. Since color conversions are lossy I want to avoid them. Avisynth filters can operate in YUY2 color space and that's what I want to do without first having to convert from RGB back to YUY2. So when the video gets loaded with avisource it should come "out" as YUY2 which HuffYuv should support but I can't get it to do :(
Sigmatador
4th May 2003, 13:01
anyway, to encode your video the mpeg4 codec will convert the source in YV12 colorspace.
So:
avisource("file.avi").ConvertToYV12()
and filter your source in YV12.
stickboy
5th May 2003, 05:33
Are you absolutely certain that the HuffYUV source file uses YUY2?
fberreth
5th May 2003, 15:43
I am absolutely certain. The input was from a bt8x8 video capture card, I just checked the settings again. Capture with YUY2 -> Huffyuv -> saving.
Then for processing loading the file with avisynth but the output format is RGB32 instead of YUY2 and I cannot get it to YUY2. Most of my filters work in YUY2 color space - and needless to say, if HuffYuv cannot produce YUY2 output then it's not lossless.
I'm wondering if virtualVCR, which I use, somewhere converted to RGB. I double check with virtuldub. Please let me know if you had similar problems.
fberreth
5th May 2003, 17:08
Arrgh :angry:
Somewhere I goofed up. I tried again with virtualVCR & virtualDub and everything is fine.
Sorry for the false alarm.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.