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

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th November 2002, 11:22   #1  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Yv12 Faq

The YV12 FAQ is moved to avisynth.org.

Last edited by Wilbert; 10th February 2008 at 13:18.
Wilbert is offline   Reply With Quote
Old 4th November 2002, 11:31   #2  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
Very nice FAQ, finally all links and necessary information collected!

EDIT: edited out the points, they made it into the FAQ Thanks Wilbert for assembling and maintaining it!

Best regards
Koepi

Last edited by Koepi; 4th November 2002 at 13:22.
Koepi is offline   Reply With Quote
Old 4th November 2002, 12:03   #3  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
@Koepi,

I will remove vdub-mpg2 if vdub-mod comes with a first release. I have added your other point.
Wilbert is offline   Reply With Quote
Old 4th November 2002, 16:54   #4  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
Thanks Wilbert! Great collection of information and necessary tools!
iago is offline   Reply With Quote
Old 4th November 2002, 17:25   #5  |  Link
droolian01
Registered User
 
Join Date: Feb 2002
Location: uk
Posts: 157
Really excellent guide and link resource - obviously needs to be made a sticky!

WARNING - DUMB QUESTION ALERT ! ! !

I can see (i think) how YV12 will be quicker to process than YUY2 (working with 12 bits/pixel instead of 18 bits/pixel) but (now this MAY be the dumb part) will this mean that the same 'data' can be stored in 3/4 of the file space compared to YUY2? Because if this is the case quality should increase too on a 'same filesize' basis.

Could anyone confirm that this is the case?
droolian01 is offline   Reply With Quote
Old 4th November 2002, 17:47   #6  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Quote:
Originally posted by droolian01
I can see (i think) how YV12 will be quicker to process than YUY2 (working with 12 bits/pixel instead of 18 bits/pixel) but (now this MAY be the dumb part) will this mean that the same 'data' can be stored in 3/4 of the file space compared to YUY2?
Only when dealing with uncompressed data. DivX/Xvid and other MPEG4 formats already store in YV12 format. So when you pass 16 bit/pixel YUY2 it is converted to YV12 before it is compressed. Skipping this is what's giving you the speed increase.

@Wilbert: Couldn't you make an "alpha notice" in the top of the FAQ. Many functions are quite badly tested, and some may even return bad data or crash. Most Doom9 users are pros, but I don't see the program fit for everyone (yet).
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 4th November 2002 at 17:56.
sh0dan is offline   Reply With Quote
Old 4th November 2002, 17:56   #7  |  Link
droolian01
Registered User
 
Join Date: Feb 2002
Location: uk
Posts: 157
@ shOdan

Thanks for clearing this up for me.

What with the developments in XVID and avisynth2/vdub using YV12 these are very exciting times indeed!

Great work - and i'll try and do some testing if i can.

Thanks again.
droolian01 is offline   Reply With Quote
Old 4th November 2002, 19:52   #8  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Quote:
Originally posted by droolian01
What with the developments in XVID and avisynth2/vdub using YV12 these are very exciting times indeed!
I haven't heard anything specific - VdubMod hasn't had the YV12 fix committed (even though I posted it in the development thread) - Belgabor?

I don't know how Xvid is coming along - I'm still using DivX, but I'm actually quite tired of it (it gives me a bunch of internal access violation, making debugging very tiresome). Is the newest XVID capable of decoding YV12 to other formats (Koepi?)
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 4th November 2002, 20:25   #9  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
It claims to decode YV12 but just spits out a black picture - but it works for encoding purposes, if that suffices for your needs.

Regards,
Koepi
Koepi is offline   Reply With Quote
Old 4th November 2002, 21:41   #10  |  Link
JohnMK
Registered User
 
Join Date: Sep 2002
Location: Seattle
Posts: 551
What I'm basically wondering is, and it may be answered above but in language I can't understand, is this new YV12 support in VDub/Avisynth something I can begin using immediately, given the fact that I use the DVD2AVI & GordianKnot, etc.?
JohnMK is offline   Reply With Quote
Old 4th November 2002, 21:54   #11  |  Link
vlad59
Vlad, the Buffy slayer
 
vlad59's Avatar
 
Join Date: Oct 2001
Location: France
Posts: 445
As it's explained, it's in an alpha stage and
as stated in Sh0dan web page all external filter need a new compile before being usable with avisynth 2.5. So Decomb, TemporalSmoother, TomsMoComp, ...... are not usable at all now.

So I'm afraid it's not ready for today's use .

EDIT : I think that YV12 has so many advantages that it shouldn't be too long. all avisynth filters developpers really owe a lot to Sh0dan.
__________________
Vlad59
Convolution3D for avisynth 2.0X : http://www.hellninjacommando.com/con3d
Convolution3D for avisynth 2.5 : http://www.hellninjacommando.com/con3d/beta

Last edited by vlad59; 4th November 2002 at 22:04.
vlad59 is offline   Reply With Quote
Old 4th November 2002, 21:54   #12  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
@JohnMK

Yes, as long as you only uses the internal filters stated on sh0dan's alpha page. the only external plugin that works is the YV12 version of MPEG3DEC, but given that you edit the GKnot script to use this .d2v import function it will work.
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote
Old 4th November 2002, 22:01   #13  |  Link
JohnMK
Registered User
 
Join Date: Sep 2002
Location: Seattle
Posts: 551
Thank you vlad59, hakko. Appreciated your comments. This should be added to the FAQ. It will be a frequently asked question, I'm sure . . .
JohnMK is offline   Reply With Quote
Old 4th November 2002, 23:56   #14  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
OK - I spend a few hours converting (and debugging) milan's YV12 optimized version of WarpSharp. It's quite fast aleady. I made a few adjustments to it, but nothing major.
Be very careful - you cannot use it after a crop, since ffdshow assumes that input pitch = output pitch! This will give the wellknown distorted pictures! I hope someone else has the time to take up the challenge?

I also have a ColorYUV lying at home, so people shouldn't bother converting it - it's already done!

Edit: It's on the alpha page - forgot to tell ya
__________________
Regards, sh0dan // VoxPod

Last edited by sh0dan; 5th November 2002 at 00:01.
sh0dan is offline   Reply With Quote
Old 5th November 2002, 10:56   #15  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I added the plugins WarpSharp and Undot. For JohnMK I changed Q10 a bit
Wilbert is offline   Reply With Quote
Old 10th November 2002, 03:53   #16  |  Link
JohnMK
Registered User
 
Join Date: Sep 2002
Location: Seattle
Posts: 551
What is WarpSharp? Forum search turned up no definition, and indeed downloading WarpSharp . . . tells me nothing as there's no "Here's what this is" section, probably because there's no readme whatsoever.
JohnMK is offline   Reply With Quote
Old 10th November 2002, 04:25   #17  |  Link
MaTTeR
AC3 5.1 Addict
 
MaTTeR's Avatar
 
Join Date: Nov 2001
Location: Big Blue Nation_USA
Posts: 2,036
Quick Google search shows-

http://www.virtualdub.org/virtualdub_filters
http://web.syr.edu/~tjmyers/both_filters.html

Lots more too.
__________________
Need AC3 & SPDIF setup info?
MaTTeR is offline   Reply With Quote
Old 10th November 2002, 09:39   #18  |  Link
JohnMK
Registered User
 
Join Date: Sep 2002
Location: Seattle
Posts: 551
Ahhh excellent, the one source I forgot to consult. Thank you for your kind and generous assistance.
JohnMK is offline   Reply With Quote
Old 10th November 2002, 09:52   #19  |  Link
HarryM
Registered User
 
Join Date: May 2002
Location: Czech rep.
Posts: 390
@Wilbert, @Koepi:

Do exists any MJPEG codec (for TV grabbing) with native YV12 support?

I use morgan-multimedia's MJPEG (v3.0) and this have only 4:2:2 (YUY2) or 4:1:1 support.
4:2:0 (YV12 for Avisynth 2.5) don't...
HarryM is offline   Reply With Quote
Old 10th November 2002, 16:34   #20  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
When I open MJPEG files with YV12, using Morgan, it has swapped the UV channels (giving me I420 instead of YV12). I'll do a SwapUV function shortly. I'm using an older version of Morgan, so it might be fixed in the latest version.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Reply

Tags
avisynth, faq

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 01:46.


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