DVD2SVCD: ConvertToRGB24() at the end of my script
First off, :) :o :D :lol: :P
It all started, when instead of adding ConvertToRGB24() at the end of my script, I added 12=ConvertToRGB24() at the end of my script. Then the evil 'illegal resolution' message went away. Okay, so Dialhot said that if this solved the problem, it was definately a codedc issue. So I load the AVS file into VirtualDub, and it tells me right away that I'm missing a specific MPEG-4 codec. I found it. DL'd and installed it. Removed the ConvertToRGB24() from the end of my script, and no error message. Had one planar difference error which I was able to solve by putting in a ConvertToYV12() command. By judicious moving around the commands in the script, and using a hex edited executable, I've now got MA filtering while encoding my AVI to a KVCD, without a ConvertToYV12() command, and at a rate of 1 minutes encoded per 2 minutes time passed. And that my friends, I can live with!!!!!!!! Excuse me while I go consume massive quantities of beer. I will post more details in specific later about how I recovered from my blunders! Thanks Dialhot! Thanks Jorel! Thanks Avalon! Thanks Kwag! Tom |
:ole:
|
Give that it works, I have a few questions why?
First off, thanks again. I've backed up my working ini files in case anything disastrous happens :) It's based on this code that you gave me;
[AVISYNTH_Adaptative Filter] 0=nf=0 1=GripCrop(^TargetWidth, ^TargetHeight+^BorderTop+^BorderBottom, overscan=^overscan, source_anamorphic=^source_ana, dest_anamorphic=^dest_ana) 2=GripSize(resizer="BiCubicResize") 3=Undot() 4=Asharp(1, 4) 5=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, 0, 0 ) 6=MergeChroma(blur(^blur_chroma)) 7=MergeLuma(blur(^blur_luma)) 8=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 9=ScriptClip("nf = round(YDifferenceToNext())"+chr(13)+ "nf >= SwitchThreshold ? unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))) : TemporalCleaner(6+nf,13+nf) ") 10=GripBorders() 11=function fmin(int f1, int f2) { return (f1<f2) ? f1 : f2 } ^overscan=1 ^source_ana=true ^dest_ana=false ^S_FilterThreshHold=8 ^S_EdgeThreshHold=32 ^blur_chroma=1.58 ^blur_luma=0.1 As is, that code works on my system when backing up a DVD. I tested it late last night, and TMPGEnc worked at approximately 1.4x real time. While encoding an AVI, I needed to insert the ConvertToYV12() command before the GripCrop (....) statement; TMPGEnc works at let's say 0.4x real time. Is a DVD video already in YV12 format? As an aside, I haven't seen the encode on the AVI yet because it wasn't quite finished yet. But, I took a few quick minutes to watch my DVD backup of Jurassic Park III, and I was astounded. 92 minutes long and I couldn't believe the effect that MA filtering had on it. I think it will be time to start experimenting with scripts this weekend. Tom |
Re: Give that it works, I have a few questions why?
Quote:
I really don't understand why you have to add this line for AVI. I never have to ! I suggest you one thing : make a little avisynth script with just this : Code:
AviSource("####your avi here####) Try whatever codec that can handle Divx that you can find (Divx 3.11, 4.01, 5.05, Xvid, 3ivx, ffdshow...). Try them one by one. It takes some time but you have to find a codec making YV12 everytime. I repeat again and again that on my PC I HAVE YV12 FOR ANY SOURCE TYPE ! Quote:
|
Re: Give that it works, I have a few questions why?
Quote:
Quote:
Thanks; you've given me more to try when getting home today. Tom |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.