digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Recomendations (script) for mpeg2 704x480 on two cds? (http://www.digitalfaq.com/archives/avisynth/5196-avisynth-recomendations-script.html)

jorel 08-25-2003 08:37 AM

Avisynth: Recomendations (script) for mpeg2 704x480 on two cds?
 
@ Kwag, Phil, vmesquita, Jell, and all friends:

i want use this script to encode 88 minutes in 2 cds at 704x480 mpeg2.
the first cd will have 42 minutes with 14 chapters,
the second cd will have 46 minutes with 14 chapters too.

i need recomendations to use this script,
:arrow: please, check if i need to change something to get better quality.

thanks in advance !
:D

nf=0

mpeg2source("D:\La Luna\CD01.D2V")

#FieldDeinterlace()
Undot()
Asharp(1.5,4)

GripCrop(704,480,overscan=2,source_anamorphic=fals e,dest_anamorphic=false)
GripSize(resizer="BiCubicResize")

STMedianFilter(8,32,0,0)
MergeChroma(blur(1.58 ))
MergeLuma(blur(0.1))
SwitchThreshold=(Width<=352)?4:(Width<=480)?3:2
ScriptClip("nf=round(YDifferenceToNext())"+chr(13) +"nf>=SwitchThreshold?unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))):TemporalCleaner(6+nf,11+nf)")

#ScriptClip("nf=round(YDifferenceToNext())"+chr(13 )+"((nf>=2)&&(nf<30))?unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))):TemporalCleaner(6+nf,13+nf)")

#DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
Letterbox(16,16,16,16)

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

:wink:
all hints are welcome :!:

Dialhot 08-25-2003 09:25 AM

With 88 min on two CQ you will probably have a CQ near 90. If yes, remove the blur on the luma, the picture will be sharper.

Note: the letterbox line is useless as you already "gripcrop" with an overscan of 2.

jorel 08-25-2003 11:00 AM

Quote:

Originally Posted by Dialhot
With 88 min on two CQ you will probably have a CQ near 90. If yes, remove the blur on the luma, the picture will be sharper.

Note: the letterbox line is useless as you already "gripcrop" with an overscan of 2.

yes Phil, i got ~CQ86 for 2 cds and with audio bitrate 192 - 48k!
:wink:

the image and sound in a little sample with 4 minutes are amazing :!:
8O

thank you for this big hints my friend!
:D

incredible 08-25-2003 12:33 PM

Quote:

~CQ86 for 2 cds and with audio bitrate 192 at 704x480 mpeg2
Did you try a prediction calculating ONE CD using 480x480/mpeg1 and 128 kbit audio using the same AVS script? How do you encode? At 23,97 including Pulldownflag or 29,97 ?

I think by trying this you will receive also a good CQ.
But I think as a member with knowledge you know wht you're doing, ... I'm just asking.
Or do you want to author a Mini DVD? cause of the use of mpeg2 and 2 CDs. Or it's just that type of quality you want? 8)

jorel 08-25-2003 12:56 PM

yes incredible
i did predictions for 480x480(ntsc)
with audio bitrate 160 cos is musical and i want good audio,
this give me round CQ60...and was mpeg2 cos my old player
only run mpeg1 using 352x240 and don't run minidvd too!
i will bye a new player (Philco PV-C3000) next week!

then,after 5 months(believe) 8O ...and thousands tests
trying to get the best audio and video i will do:

2 cds using 704x480 mpeg2, audio bitrate 224 at 48k
with the script posted and using ~CQ82 for each cd!
i did little samples and the result is incredible.
in the pc using sound blaster pluged in 2 audio amplifiers;
one with 240wrms and another with 180wrms i can't
listen differences between the dvd or the sample encoded.
and of course the quality with this CQ and script is fantastic too!

for who loves quality like me this is my hint after
5 months testing everything...... :!:

i'm really thankfull to lots of friends here that help me
to got this details and believe,i don't forget any hint,
all was tested and i have tons of posts saved in my hd!

my big thanks for this special forum and members.
you all are incredible!
8)

ps:
not kidding:
my friends when see kvcds in my Philips 29 :
:arrow: 8O
true,....all friends wants a copy!
:!:

jorel 08-26-2003 08:22 PM

what?
8O

projects with the script posted:

if i use the project from dvd2avi 176, all is ok,it show:
mpeg-2 704x480 29,97fps CQ90

if i use the project from dvd2avi 1773,
when i load the scrip in tmpgenc it show:

:arrow: mpeg-2 356x56 24fps CQ90
and the worse,
i can change everything in the script:
the resolution,the filters,everything,
8O
:arrow: if i load the project,the resolution is ok but
using a simple script with:
mpeg2source("D:\LA LUNA2\laluna.D2V")
the error is back! :?

:roll: :?
bug?

Boulder 08-27-2003 02:25 AM

Which version of MPEG2Dec3.dll do you have? The latest one is v1.10 at the moment, and it should be able to use DVD2AVI 1.77 project files. Otherwise use DVD2AVI 1.76 to create the project files. There's really no difference if you just create the project and extract the audio with DVD2AVI.

jorel 08-27-2003 04:28 AM

oh yes Boulder,
using the last nic mpegdec3.dll v1.10 like faqs recomendations:
Q04: Why doesn't GordianKnot/AviSynth/... accept my .d2v file?
A: Most of the times this is because you used v1.77.3 to create the .d2v. Make sure your version of mpeg2dec or vfapi that can read those files - not all can - or use DVD2AVI v1.76 instead. If you still have problems, check that no paths have changed: they are hardcoded into the .d2v file. (see below, Q06) Nic's mpeg2dec3.dll v1.10 is the only version of mpeg2dec.dll that will read both v1.76 and v1.77.3 projects.

:?
it will work,don't?

testing dvd2avi v.1.77.4!

jorel 08-27-2003 06:04 AM

8O

same error with dvd2avi v1.77.4:
:arrow: mpeg-2 356x56 24fps CQ90

:?
why?

jorel 08-28-2003 07:27 AM

@ Boulder:

believe me friend, windows is (very)crazy!
i reinstall tmpgenc2520,avisynth252(200803) and mpegdec3.dll v1.10
and all projects from differents dvd2avi versions are working very fine.

don't know if it is a good or confuzed "news".
well,it's working and this is good.

:wink:

totonho03 08-28-2003 09:48 AM

Hi Jorel:

Quote:

Jorel's quote:
believe me friend, windows is (very)crazy!
I am sure glad to know that someone else is having this type of problem. Glad in the sense that I thouht I was going crazy, but as you put it once, " It is not you, is W98SE".......Well, I just remember that bp also suggested to unistall and reinstall some these programs to make them work again.

Regards

Totonho03

jorel 08-29-2003 04:43 PM

8O
the problem is back.(ttthe tthing is aliiiive):vamplaser:
i unistall and reinstall "everything" and the problem remain.
then,after reinstall "everything",i uninstall tmpgenc2520 and
i'm using tmpgenc 258....is working!

in few minutes i will install again the 2520 to try!
:?


All times are GMT -5. The time now is 01:23 AM  —  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.