View Full Version : How much faster is YV12?
JohnMK
11th November 2002, 19:58
I'd like to see some rough results, if any such exist.
Thank you. :)
lighty
11th November 2002, 20:34
With the same Avisynth script and the same XviD my 2 pass encodes of the same movie went form 22fps to 28fps. You do the math.:D
SansGrip
12th November 2002, 04:08
I'm in the middle of porting my smoother (http://forum.doom9.org/showthread.php?s=&threadid=37471) to YV12 and I have one observation to make: planar 4:2:0 might be great for the CPU but it's a pain in the rear for me :p.
High Speed Dubb
12th November 2002, 06:19
No doubt — For situations where I’ve needed to access Y, U, and V jointly, an interlaced [sic — should have been interleaved] format is a lot easier to deal with. It’s possible to handle the components separately, but the output won’t be quite as nice that way.
SansGrip
12th November 2002, 06:28
For situations where I’ve needed to access Y, U, and V jointly, an interlaced format is a lot easier to deal with.
No kidding. YUY2 was weird until I had that eureka moment, but now packed formats seem to me the most convenient way of doing it. I've not had that moment yet with YV12, and should perhaps hold judgement until I'm comfortable with it. It just seems like I'm having to write a lot more code to do the same thing.
I think perhaps a filter that deals with many frames simultaneously was not the best one to pick to learn YV12 :rolleyes:.
JohnMK
12th November 2002, 10:21
Back to my original question, do the speed benefits apply when you're encoding with DivX as well?
int 21h
12th November 2002, 14:19
5, yes, 4, yes, 3.11, no.
Wilbert
12th November 2002, 15:08
I couldn't find it on www.divx.com (didn't look very accurate) but are you saying that DivX3/4 can't handle YV12?
int 21h
12th November 2002, 15:19
If you look in the changelog for DivX 4 here (http://www.divx-digest.com/software/divxcodec4.html)
You'll see this:
What's new in Build 307 :
Crash and burn bug on Pentium-IV when encoding in YV12 mode
Crash and burn bug on buggy VIA motherboards (decoder/encoder)
Support for future advanced features
As for DivX 3.11, you can probably input YV12, but I would imagine its hard to know for sure if its encoding in the YV12 color space. And even if you wanted to use it, you would have to alter Nandub to accept YV12 input.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.