Quantcast Avisynth: Recomendations (Script) for MPEG2 704x480 on Two CDs? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
08-25-2003, 08:37 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ 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,
please, check if i need to change something to get better quality.

thanks in advance !


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)?4Width<=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}


all hints are welcome
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-25-2003, 09:25 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #3  
08-25-2003, 11:00 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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!


the image and sound in a little sample with 4 minutes are amazing


thank you for this big hints my friend!
Reply With Quote
  #4  
08-25-2003, 12:33 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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?
Reply With Quote
  #5  
08-25-2003, 12:56 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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) ...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!


ps:
not kidding:
my friends when see kvcds in my Philips 29 :

true,....all friends wants a copy!
Reply With Quote
  #6  
08-26-2003, 08:22 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
what?


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:

mpeg-2 356x56 24fps CQ90
and the worse,
i can change everything in the script:
the resolution,the filters,everything,

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!


bug?
Reply With Quote
  #7  
08-27-2003, 02:25 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #8  
08-27-2003, 04:28 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #9  
08-27-2003, 06:04 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts


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


why?
Reply With Quote
  #10  
08-28-2003, 07:27 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ 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.

Reply With Quote
  #11  
08-28-2003, 09:48 AM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #12  
08-29-2003, 04:43 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts

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!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: MPEG2 into AVCHD? tengo6dedos Avisynth Scripting 15 08-03-2010 02:40 PM
VirtualDub: MPEG2 time shrinks when imported into virtualdubmod/mpeg2 kamen555 Video Encoding and Conversion 5 11-28-2004 06:15 PM
Avisynth: An optimal script to reencode a MPEG2? danpos Avisynth Scripting 6 09-01-2004 07:05 AM
Firewall - need recomendations jorel Computers 14 07-31-2003 07:47 PM
DVD2SVCD: What's the latest recomendations? jorel Video Encoding and Conversion 10 01-06-2003 03:19 AM




 
All times are GMT -5. The time now is 04:39 AM  —  vBulletin © Jelsoft Enterprises Ltd