digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KDVD and YV12 Problem? (http://www.digitalfaq.com/archives/encode/7093-kdvd-yv12-problem.html)

rds_correia 12-09-2003 05:54 PM

KDVD and YV12 Problem?
 
Hi guys,
Since I don't know the origin of my problem I will post it here because I am right know only KDVDeing movies.
I'm currently using Avisynth v2.53, DVD2AVI v1.77.3 by Donald Graft, MPEG2Dec3 by Donald Graft and TMPGenc v2.521.58.169 (along with ReadAVS v0.1).
My PC specs will appear below in my signature. I'm running Windows XP SP1a. I did a fresh reinstalation of it yesterday night and I only installed the nVidia drivers from my TNT2 and my anti-virus.
The problem is that using the new MA script (and maybe the old MA) I get an error on TMPG when I try to open my AVS script. After a lot of trying I did get it to work but now I have to include ConvertToYUY2 on my script.
Three questions:
1-Is using ConvertToYUY2 slower than YV12 mode?
2-What about the quality is it the same or is YV12 better?
3-How come this started happening? Could it be because of having upgraded from Avisynth v2.52 to v2.53?
Could you give me some assistance with this issue?
Many Thnx.

Here is my script:

LoadPlugin("C:\AVS253\plugins\MPEG2Dec3dg.dll")
LoadPlugin("C:\AVS253\plugins\GripFit_YV12.dll")
LoadPlugin("C:\AVS253\plugins\STMedianFilter.dll")
LoadPlugin("C:\AVS253\plugins\asharp.dll")
LoadPlugin("C:\AVS253\plugins\unfilter.dll")
LoadPlugin("C:\AVS253\plugins\undot.dll")
LoadPlugin("C:\AVS253\plugins\avsmon25a.dll")

Mpeg2Source("D:\BTTF\D2VnWAV\BTTF1.d2v")
undot()
Limiter()
asharp(1, 4)
GripCrop(704,576, overscan=2)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

GripBorders()
Limiter()
ConvertToYUY2()
MonitorFilter()

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

Dialhot 12-09-2003 06:17 PM

As you convert at the end of your script, the speed won't change a lot. Filters are slower in YUY2 than in YV12 but here you filters in YV12. The "ConverToYUY2" at the and will take "just" 10% time more.

The result is normally better in YV12 as it is the internal format of DVD. I hope I'm not telling any wrong thing. But the difference won't be such viewable (some change in the colors however).

Your problem is that you need an YV12 codec on your PC in orer to handle it correctly. Try atiyuv12 for instance (included in ACE codec pack, but surely others).

rds_correia 12-09-2003 06:26 PM

Hi Dialhot,
From what I understand I really need to put my hands on YV12 codec right? I'll try to find it with google or the codec pack you told me.
Thnx for your prompt reply.
See ya.

incredible 12-09-2003 06:40 PM

Quote:

Originally Posted by Dialhot
The result is normally better in YV12 as it is the internal format of DVD. I hope I'm not telling any wrong thing. But the difference won't be such viewable (some change in the colors however).

Nope you're right but as you also know ... a source in YV12 -- converted in a script to YUY2 so it will be accepted bei the encoders import routine --- and afterwards encoding back to YV12 4:2:0 when encoding as mpeg1 or mpeg2 ... there's the little hidden multiplicator of colorspace conversions as you know ;-)

Thats also what I don't understand in DVD2AVI cause the author provides two outputs when processing YV12 based VOB Files "rgb32" and "YUV" but in 4:2:2 ! But if you check your d2v imports in Avisynth using Info() it tells you YV12 (shure cause DVD mpeg) which should (as I know) mean 4:2:0

Dialhot 12-10-2003 04:18 AM

Quote:

Originally Posted by rds_correia
Hi Dialhot,
From what I understand I really need to put my hands on YV12 codec right? I'll try to find it with google or the codec pack you told me.
Thnx for your prompt reply.
See ya.

Almost all codec dowload problems stop there :

http://www.codec-download.com/

rds_correia 12-10-2003 05:32 PM

Hi guys,
Thanks for the assistance you've been giving me.
I will try the codec-download.com.
I have been told that ffdshow or ffvfw should take care of this issue but unfortunately I was unsuccessful with both.
I was just wondering. Don't you or anybody else experienced the same problem? In case of negative answer what's wrong with my setup???
Thnx again.
Cheers.

rds_correia 12-10-2003 06:28 PM

Hi guys,
Problem solved :!:
I just uninstalled Avisynth 2.53 and re-installed Avisynth 2.52
which asked me during installation if I wanted to install ffvfw.
I just said yes and waited for everything to be finished.
Then for safety sake I opened TMPGEnc with my YV12 filters and
confirmed that it would work ok, as it did.
Then I just uninstalled v2.52 and reinstalled v2.53 keeping ffvfw installed.
Opened up TMPGEnc and "voila" 8)
Am I a genious or what :?:
Now, why doesn't AVS v2.53 have ffvfw installation option anymore???
Anyway thanks for everything.
See ya.

Dialhot 12-11-2003 04:21 AM

Quote:

Originally Posted by rds_correia
I have been told that ffdshow or ffvfw should take care of this issue but unfortunately I was unsuccessful with both.

ffdshow is a direct-show filter. You need a CODEC.

Quote:

I was just wondering. Don't you or anybody else experienced the same problem? In case of negative answer what's wrong with my setup???
Everyone has but a lot fix the problem without notice it.
If you install a software DVD player (winDVD for instance), a YV12 codec is installed also.
As every PC delivered with a DVD driver is delivered with winDVD or powerDVD installed on the PC, the YV12 problem is ignored by a lot of person.

rds_correia 12-13-2003 03:42 PM

Hi guys,
Hi found that when installing AVS 2.52 it asks if we want it to install ffvfw MakeAVIS. I also found that when I installed AVS 2.53 it didn't ask for ffvfw MakeAVIS.
When I reinstalled my Windows XP I didn't install AVS 2.52 before installing ACS 2.53.
And that is why I couldn't get AVS 2.53 to work :idea: ...
Until I uninstalled AVS 2.53 and installed AVS 2.52, agreeing with the ffvfw MakeAVIS installation 8) .
When I uninstalled AVS 2.52 and reinstalled AVS 2.53 again I didn't uninstall ffvfw MakeAVIS and AVS 2.53 started working :wink:
Now, one can say that I shouldn't use ffvfw MakeAVIS because it might not be so good as an YV12 Codec, but the problem is I didn't find any codec out there on the web :roll:
Plus, I have Cyberlink PowerDVD5 and it should install a YV12 codec shouldn't it?
BTW maybe everybody out there is in fact using ffvfw MakeAVIS and they don't know because when you uninstall AVS 2.52 it doesn't ask if we want it to uninstall ffvfw MakeAVIS...
Anybody wants to try and uninstall ffvfw from their system and check if AVS 2.53 still works :?:
Phill :?:
Incredible :?:

Edit: I just don't want to install ATI drivers because I own a nVidia based VGA...that's why I didn't download ACEs codec pack to try

Dialhot 12-13-2003 04:05 PM

Quote:

Originally Posted by rds_correia
Now, one can say that I shouldn't use ffvfw MakeAVIS because it might not be so good as an YV12 Codec, but the problem is I didn't find any codec out there on the web :roll:

The are a lot in in the ACE codec pack !
And I just read yestarday an old post of Jorel telling that all you have to install is the Nic's xvid codec :

http://www.kvcd.net/forum/viewtopic.php?t=5011

Quote:

Plus, I have Cyberlink PowerDVD5 and it should install a YV12 codec shouldn't it?
I told that but I'm not sure if this codec is usable for other product than powerDVD as the player doesn't declare it to winXP in a legal way.

Quote:

BTW maybe everybody out there is in fact using ffvfw MakeAVIS and they don't know because when you uninstall AVS 2.52 it doesn't ask if we want it to uninstall ffvfw MakeAVIS...
Only the very first release of avs2.52 offered to install ffvfw and it was removed very fast because it screws up A LOT OF THINGS. All next non official releases of avs2.52 ShOdan provided to us before the official 2.53 didn't included ffvfw.

You are warned...

Quote:

@Anybody wants to try and uninstall ffvfw from their system and check if AVS 2.53 still works :?:
Phill :?:
Incredible :?:
For sure it works !

Quote:

Edit: I just don't want to install ATI drivers because I own a nVidia based VGA...that's why I didn't download ACEs codec pack to try
ATI codec has nothing to do with ATI video cards. I own a GeForce also.

rds_correia 12-13-2003 04:58 PM

Ok now I completely understood what was going wrong and why it was going wrong thanks to your link to Jorel's post, Phil.
Now, no need to get hot "as in your nick" just because I was being too stuburn (does it spell like that?).
I am very gratefull that you could lead me towards solving this issue without the need for ffvfw :lol:
Thanks man.
C ya.


All times are GMT -5. The time now is 06:38 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.