Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th July 2015, 20:12   #1  |  Link
ChiDragon
Registered User
 
ChiDragon's Avatar
 
Join Date: Sep 2005
Location: Vancouver
Posts: 600
Uncompressed UYVY into AVISource without conversion to RGB?

Info() shows that it's being converted to RGB32. How can I make it use YUY2 or YV24 instead?

I could swear I had this working before on a different PC. I've tried setting VIDC.UYVY=huffyuv.dll in the registry, both 64-bit & 32-bit, as I thought that was the fix previously. No change.

I've read that one solution is to setup ffdshow to decode "Raw Formats" in VFW, but I'd rather not do that if I can avoid it.

[Using Win7 x64.]
ChiDragon is offline   Reply With Quote
Old 27th July 2015, 21:50   #2  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Maybe RawSource() can help out?
http://avisynth.org.ru/docs/english/.../rawsource.htm
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 27th July 2015, 22:57   #3  |  Link
ChiDragon
Registered User
 
ChiDragon's Avatar
 
Join Date: Sep 2005
Location: Vancouver
Posts: 600
The settings required ("offset" for that version and "index" for newer versions) are over my head.

FFVideoSource is a reasonable workaround, but the indexing time is pretty bad for big captures.
ChiDragon is offline   Reply With Quote
Old 28th July 2015, 23:23   #4  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
What about:

Code:
avisrouce("file.avi", pixel_type="YUY2")
I may be wrong about this.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 29th July 2015, 22:28   #5  |  Link
ChiDragon
Registered User
 
ChiDragon's Avatar
 
Join Date: Sep 2005
Location: Vancouver
Posts: 600
The default value of pixel_type is such that it would choose YUY2 if the decoder offered that as an option. When forced, it simply complains that "the video decompressor couldn't produce YUY2 output."

Googling that error message finds surprisingly few results. One of them is this German Doom9 thread in which Ligh suggests that ffdshow solution I'd mentioned.
ChiDragon is offline   Reply With Quote
Old 29th July 2015, 23:26   #6  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Ah. I must have only used it the other way, then, to force RGB instead of YUV out of a misbehaving codec.
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.