PDA

View Full Version : Scanlines/ghosting? in progressive dvd


amgeex
2nd January 2009, 18:44
I'm having this problem:

http://img168.imageshack.us/img168/8238/nuevaimagennn7.th.png (http://img168.imageshack.us/my.php?image=nuevaimagennn7.png)

I assume its ghosting, but I'm not sure. The source is progressive, so I don't know why I'm getting these scanlines. I encoded the same dvd with handbrake and didn't have any of these problems.

Here's my avs script:
mpeg2source("resident.d2v")
Import("LimitedSharpenFaster.avs")
source = last

# Color Correction#
source = source.Tweak(sat=2.0, bright=-15.0, cont=1.5, hue=0.0)

# Denoising
backward_vectors2 = source.MVAnalyse(isb = true, lambda = 1000, delta = 2)
backward_vectors1 = source.MVAnalyse(isb = true, lambda = 1000, delta = 1)
forward_vectors1 = source.MVAnalyse(isb = false, lambda = 1000, delta = 1)
forward_vectors2 = source.MVAnalyse(isb = false, lambda = 1000, delta = 2)
source = source.MVDenoise(backward_vectors1, backward_vectors1, forward_vectors1, \
forward_vectors2, tht = 10, thsad = 300)

# Sharpening
source = source.LimitedSharpenFaster(Smode=4, soft=-1, wide=true)

return source

Here's the log from DGIndex:
Stream Type: MPEG2 Program
Profile: main@main
Frame Size: 720x480
Display Size:
Aspect Ratio: 16:9 [3]
Frame Rate: 29.970030 fps
Video Type: Film 99.79%
Frame Type: Progressive
Coding Type: B
Colorimetry: BT.470-2 B,G*
Frame Structure: Frame
Field Order:
Coded Number: 138306
Playback Number: 2
Frame Repeats: 0
Field Repeats: 1
VOB ID: 1
Cell ID: 29
Bitrate:
Bitrate (Avg):
Bitrate (Max):
Audio Stream: 80: AC3 3/2 384
Timestamp: 1:36:05
Elapsed: 0:14:24
Remain: FINISH
FPS:
Info:


I attached the handbrake log, don't know if it may be useful.

I want to know how to fix ir or if something is wrong with my script... Thanks in advance!

neuron2
2nd January 2009, 19:03
The DGIndex log indicates possible soft pulldown. I don't know Handbrake, but did you enable some IVTC? If the repeat flags are honored then your combed output is not unexpected.

amgeex
2nd January 2009, 19:50
I tried decombing and sure enought it looks fine now, except that some tearing is present. This is how my script looks now:

mpeg2source("resident.d2v")
Import("LimitedSharpenFaster.avs")

# Decombing
AssumeTFF()
Telecide(guide=1,post=2,vthresh=25)
Decimate()

source = last

# Color Correction
source = source.Tweak(sat=2.0, bright=-15.0, cont=1.5, hue=0.0)

# Denoising
backward_vectors2 = source.MVAnalyse(isb = true, lambda = 1000, delta = 2)
backward_vectors1 = source.MVAnalyse(isb = true, lambda = 1000, delta = 1)
forward_vectors1 = source.MVAnalyse(isb = false, lambda = 1000, delta = 1)
forward_vectors2 = source.MVAnalyse(isb = false, lambda = 1000, delta = 2)
source = source.MVDenoise(backward_vectors1, backward_vectors1, forward_vectors1, \
forward_vectors2, tht = 10, thsad = 300)

# Sharpening
source = source.LimitedSharpenFaster(Smode=4, soft=-1, wide=true)

return source

neuron2
2nd January 2009, 20:19
What do you mean by "tearing"?

If it has soft telecine it's better (and faster) to use Forced Film in DGIndex rather than external IVTC via Telecide/Decimate.

amgeex
2nd January 2009, 20:36
The effect you get when the computer doesn't sync video with the refresh rate of the screen. Like when you don't enable v-sync in games.

amgeex
2nd January 2009, 21:27
Ok I tried forced film in DGIndex, and it looks fine, but the tearing is still present. I don't know if it is because I'm previewing it with vdub, could that be it?

neuron2
2nd January 2009, 22:06
Yes. You can try a common solution called ReClock.

amgeex
2nd January 2009, 22:34
I tweaked some settings in vdub's preferences and its all good now, thanks for all the help neuron2! ;0)

neuron2
2nd January 2009, 22:37
To help others, what settings did you tweak?

amgeex
3rd January 2009, 00:45
Go into Options > Preferences > Display:

Check Use Direct3D (Requires DX9)
Check Avoid tearing (enable vsync)

Press Save and then OK. Now there should be no tearing.