Quantcast KVCD: Dctfilter? - digitalFAQ.com Forums [Archives]
  #1  
08-23-2004, 12:04 PM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
I'm trying to make a 528x480 MPEG2 of a PVR-250 TV capture (720x480).

Using KVCDx3-MPEG-2-NTSCFilm.mcf
Trimming the bottom of the screen by 100 pixels to cut logo trash.
Sizing to 720x380 with use of clip in TMPGEnc.
Entering the 720x380 into Moviestacker with 3/4 DVD small and using output avs lines.
Will center the screen with TMPGEnc.

DCTFilter does not seem to be working. Which version should I be using for 2.5 avisynth?

mpeg2source("h:\scary\scary.d2v")

Telecide(order=1,guide=1,post=2,vthresh=25)
decimate()

BlindPP(cpu=4)
Deen("a2d",1,5, # giving a touch of spatial filtering
MergeChroma(Blur(1.5))
MergeLuma(Blur(0.1)) # also very good to give Tempsoften afterwards less to handle!

##GripCrop(528, 480,overscan=1,source_anamorphic=false)
##GripSize(resizer="BicubicResize") # In case of DVD as the Source is sharp and detailed enough and this will also rise the CQ

BicubicResize(528, 382, 0, 0.6, 12, 2, 696, 376)

TemporalSoften(1,5,8,3,2) # Light Temporal Soften in case of less noisy source
Undot() # Undot behind TempSoften to kill a bit the "static" dots in surfaces produced during the temporal soften process
#Blockbuster(method="noise",detail_min=1,detail_ma x=3,variance=0.1,seed=1) # also activate on DVD source encodings when encoding movies containing big fading surfaces like underwatermovies etc. to avoid edges & blocks in surfaces as known from Jellygoose's experience last week

DCTFilter(1,1,1,1,1,1,0.5,0)

##GripBorders()

AddBorders(0, 49, 0, 49)
LetterBox(16, 16, 16, 16)
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-24-2004, 01:36 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
How can you tell it doesn't work, does it give an error message?
Reply With Quote
  #3  
08-24-2004, 05:34 AM
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:
Originally Posted by nicksteel
I'm trying to make a 528x480 MPEG2 of a PVR-250 TV capture (720x480).

Using KVCDx3-MPEG-2-NTSCFilm.mcf
Trimming the bottom of the screen by 100 pixels to cut logo trash.
Sizing to 720x380 with use of clip in TMPGEnc.
??? Resizing/cutting in TmpgEnc?? I do aussume you mean DVD2AVI, but anyway do your COMPLETE resizing in Avisynth as you finally use avisynth to do the image postprocessing! So open the Vob/mpeg in VirtualdubMpeg2 and determine the croppings which will be overtaken to Moviestacker settings.

Related to your script.....
Better you use this one:

Code:
mpeg2source("h:\scary\scary.d2v",CPU=6,iPP=true)
Telecide(order=1,guide=1,post=2,vthresh=25)
decimate()
undot()
Deen("a2d",1,5,8)  
BicubicResize(528, 382, 0, 0.6, 12, 2, 696, 376)
TemporalSoften(1,5,8,3,2) # Light Temporal Soften in case of less noisy source 
DCTFilter(1,1,1,1,1,1,0.5,0)
AddBorders(0, 49, 0, 49)
LetterBox(16, 16, 16, 16)
You do go in with an mpeg2source command and that one INCLUDES postprocessing! Means the internal Postprocessors source Quantizer Q detection in THIS case is better done via CPU=4 and as you deal with a telecined source you do add iPP=true. In the sample above I did choose CPU=6 as you used as blurrer anyway a MergeLuma/Chroma Blur. These one do just blur but CPU=6 besides a bit blurring does eliminate rings - depending of IF its really needed, if not then stuck with CPU=4.

DONT put postprocessors (BlindPP) after IVTC as the stream is encoded in telecined state and you EVERYtime should let postprocessors do thier job on the untouched original Stream.
It has been tested that the combination of Undot() before Deen gives better results as undot() neets an unfiltered source to catch the dots/rings in the source.

I dont know your source quality, but in most cases a simple configured RemoveDirt(...) from Kassandro at Doom9 does the job on nice DVD source qualities VERY well and its fast. Because a spatial Softener like Deen in a2d Mode does treat the detailed Image significantly so that one should be better used for captures.

Related to DCTFilter, .... do as said by Boulder: We need the actual error message!
Reply With Quote
  #4  
08-24-2004, 05:52 AM
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
Im not shure but Haupauge Devices in combo with their drivers are known not to produce 720 ITU compilant streams (IMHO), so do check if that 720px width capture DOES include black borders on the sides, if not then at least dont check in FitCD/Moviestacker the ITU box!!

IF the PVR250 gots a CX23881 chip then the active capt window/area is 51.56µs. So you should at least capture at 704x480 wich results in a minimal error (as CX23881 chips do got a 696px act. pix area.)

So do check that!
Reply With Quote
  #5  
08-24-2004, 06:30 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
There is no error message when loading into TMPGEnc, but the the TMPGEnc message at bottom of screen is:

MPEG-2 576x56 24fps CQ 60

and, of course, no screen is present in TMPGEnc preview.

When I # only the DCTFilter line, the avs loads correctly.

This is a NTSC PVR-250 TV capture at 720x480 MPEG2 12.0MBit/sec (CBR). I use TMPGEnc clip only to determine the desired trimmed size values for entering into Moviestacker.

Incredible, I'll try with your above script today.

Thanks, Guys.
Reply With Quote
  #6  
08-24-2004, 06:33 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
nicksteel,
maybe it's not your case but deserve more atention...i had problems using DCTFilter in dvd sources..never used with tv captures but if with clean sources (dvds) had problems,then with captures will have too,...take a look:
http://www.kvcd.net/forum/viewtopic.php?t=10030
Reply With Quote
  #7  
08-24-2004, 06:34 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
Open the script in VDub or WMP, there should be an error message.
Reply With Quote
  #8  
08-25-2004, 03:57 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nicksteel
There is no error message when loading into TMPGEnc, but the the TMPGEnc message at bottom of screen is:

MPEG-2 576x56 24fps CQ 60
Any time you see a reso with ...x56 then you HAVE an error !

56 is the height of the font used by avisynth to display the error message
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DCTFilter clagraca Conversão e Codificação de Vídeo (Português) 8 04-15-2004 03:16 PM
DCTFilter for all low resolutions? Bchteam Avisynth Scripting 1 04-04-2004 07:06 AM
Avisynth: DCTFilter jorel Avisynth Scripting 13 04-02-2004 10:32 AM
Avisynth: DCTFilter a Winner? Jellygoose Avisynth Scripting 12 06-30-2003 04:20 AM
Avisynth: DCTFilter? Wolfi Avisynth Scripting 2 04-27-2003 11:04 AM

Thread Tools



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