PDA

View Full Version : AVS question


AlexeyS
22nd May 2005, 22:50
I've made little AVS script and when I open this .avs file in VirtualDub, I see this:
http://www.callofdutyserver.net/iii/prob1.gif

Is this normal? :confused:

stickboy
23rd May 2005, 02:20
I believe that's normal if your script outputs YV12 video and if DivX is the only codec you have installed that can handle raw YV12.

AlexeyS
23rd May 2005, 02:31
Originally posted by stickboy
I believe that's normal if your script outputs YV12 video and if DivX is the only codec you have installed that can handle raw YV12.
Is this affect quality? :confused:

neuron2
23rd May 2005, 04:56
Everything you do to a video "affects quality". Please make your question more precise.

AlexeyS
23rd May 2005, 06:33
Originally posted by neuron2
Everything you do to a video "affects quality". Please make your question more precise.
I mean if DivX decoder decodes my MPEG2 (inserted like AVS) video, then this is affect quality or not (before I re-encode)? Or I should install some other decoder on my system? :confused:

stickboy
23rd May 2005, 07:07
Originally posted by AlexeyS
I mean if DivX decoder decodes my MPEG2 (inserted like AVS) video, then this is affect quality or not (before I re-encode)? Or I should install some other decoder on my system? :confused:The DivX decoder isn't decoding MPEG2. mpeg2dec decodes MPEG2 and outputs raw YV12 frames. AviSynth scripts always output uncompressed frames.

Leak
23rd May 2005, 08:31
Originally posted by AlexeyS
I mean if DivX decoder decodes my MPEG2 (inserted like AVS) video

No, here you've got DivX "decoding" the YV12 video produced by your AVS script, which VirtualDub can't display (it can only handle RGB and YUY2 natively), to RGB or YUY2.

Still, this is only used for previewing or if you're using "full processing mode", which means that as long as you're using "fast recompress" in VirtualDub this won't affect quality (well, except for the preview in VDs window)...

np: Mikkel Metal - Abank (Cassini Pieces)

neuron2
23rd May 2005, 15:01
If you want full processing in VirtualDub, I'd recommend doing the color space conversion in your Avisynth script, like this:

mpeg2source("file.d2v",upConv=true)
ConvertToRGB32()

AlexeyS
23rd May 2005, 15:18
Originally posted by neuron2
If you want full processing in VirtualDub, I'd recommend doing the color space conversion in your Avisynth script, like this:

mpeg2source("file.d2v",upConv=true)
ConvertToRGB32()
And if I'll not make this, the quality will be worse after decoding MPEG2? :confused:

BTW, will I need to do color space conversion if I encode AVS with Nero?

neuron2
23rd May 2005, 15:29
Originally posted by AlexeyS
And if I'll not make this, the quality will be worse after decoding MPEG2? Possibly. The biggest advantage of doing what I showed is that the upsampling follows the progressive_frame flag of the MPEG2 syntax. Secondarily, Avisynth is known to have high-quality color space conversions.

BTW, will I need to do color space conversion if I encode AVS with Nero? Sorry, I don't know what Nero is.