PDA

View Full Version : 1/2 D1 processing questions


dosdan
19th February 2005, 06:47
I'm doing PAL VHS -> miniDV passthrough -> 1/2 D1 -> TMPEGenc -> DVD on a XP1800 Athon with 1GB.

1. Is Bilinear resizing the best resize to use when doing a simple 704x576 -> 352x576 resize considering speed, compressibility and visual artifacts?

2. In TMPGenc, I'm using 2-pass VBR and want to fit about 160 mins on a DVD. My last VHS transfer was 183 mins and it came out OK at 1/2 D1 resolution. I think the avg bitrate will be around 3300kbps but, with 1/2 D1, should the max bitrate allowed be around 8000 (I know you can go higher if you compress the audio more but I want to maintain compatibility) or 4000?


SetMemoryMax (512)
LoadPlugin("f:\windows\system32\Convolution3d.dll")
# PAL VHS -> S/AV input passthrough on a miniDV -> AVI2
# splitting automatically after every 12000 frames
# (8 mins at 25fps).

SegmentedAviSource("Y:\Movie.avi")
#SegmentedDirectShowSource("Y:\Movie.avi",25)
# Using Panasonic codec, colourspace is RGB32
# With SegmentDirectShowSource, Codec is MS
# and colourspace is already YUY2, but it
# seems much slower to load.
# Now 720x576

ConvertToYUY2(interlaced=true)

#Crop(L,T,R,B)
Crop(12,4,-4,-12)
# Remove VHS switching noise & dark areas
# Now 704x560

SeparateFields()
odd=SelectOdd.Convolution3D(0, 32, 128, 16, 64, 10, 0)
# same as vhsBQ preset
even=SelectEven.Convolution3D(0, 32, 128, 16, 64, 10, 0)
Interleave(even,odd)
Weave()

BilinearResize(352,560)

#AddBorders(L,T,R,B)
#Try and keep each a multiple of 16 for compressibility
AddBorders(0,0,0,16)
#Now 352x576

scharfis_brain
19th February 2005, 13:49
use horizontalreduceby2()

btw.: you should look for some of the newer denoisers.
- removegrain of kassandro
- mvdenoise of manao
- depan as preprocessor for denoising (global motion compensation etc.)

dosdan
19th February 2005, 21:54
Thanks for that tip.

Do you know if you can go up to 8000kbps approx. max with 1/2? If so, wouldn't that make 1/2 D1 better than D1 for analog sources where the max of 8000 with D1 wasn't high enough to prevent blockiness?

tedkunich
20th February 2005, 17:21
Originally posted by dosdan
Thanks for that tip.

Do you know if you can go up to 8000kbps approx. max with 1/2? If so, wouldn't that make 1/2 D1 better than D1 for analog sources where the max of 8000 with D1 wasn't high enough to prevent blockiness?

Bitrate is bitrate... it has nothing to do with the actual video size... use a bitrate calculator and plug in your duration and final file size and use that bitrate....

T

jggimi
20th February 2005, 19:15
This has nothing to do with analog capture; moved to TMPG forum.