View Full Version : Problem - Interlaced
Fah10
1st December 2011, 13:01
Hello, first of all I'm Portuguese and excuse me for the bad English.
When I try to deinterlace the following video, looks like this:
It seems like ghosts when the characters move.
Original:
http://www.mediafire.com/?jseydgmb6t4qcom
With encode:
http://www.mediafire.com/?k2b6qjm4w126yla
Script im using:
video = MPEG2Source("DORAEMON RIP 1.d2v", cpu=0, info=3)
audio = BassAudioSource("DORAEMON RIP 1 Tc0 L2 2ch 48 224 DELAY -232ms.mp2")
AudioDub(video,audio)
ColorMatrix(interlaced=true, d2v="DORAEMON RIP 1.d2v")
Spline36Resize(720,540,9,0,-23,0)
#Deinterlace
QTGMC( Preset="Slower", NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=2 )
SRestore(25)
AssumeFPS(25000,1000)
SpressoX()
NirMalam()
HQDering().DeHalo_Alpha_MT(darkstr=0.3, ss=1.0)
rainbow_smooth(2)
eDeen(7,7,14,1,2)
#VagueDenoiser(threshold=6, method=3, nsteps=6, chromaT=2.0)
naa3mod()
MSharpen(threshold=8, strength=10,mask=false, highq=true)
unsharpmask(strength=8,radius=3,threshold=2)
ColorYUV(gain_y=0,cont_y=0,gain_v=0,gain_u=-0,off_u=-0,off_v=-0).levels(16,1.0,240,0,255)
hello_hello
1st December 2011, 13:10
I'm far from an expert on de-interlacing, but it did occur to me you might be better off supplying a sample of the original video rather than the encode.
Fah10
1st December 2011, 13:18
I'm far from an expert on de-interlacing, but it did occur to me you might be better off supplying a sample of the original video rather than the encode.
I already add the original
Thanks :D
Gavino
1st December 2011, 17:41
Spline36Resize(720,540,9,0,-23,0)
What is the height of your source?
Any vertical resizing must be done after deinterlacing.
Fah10
1st December 2011, 18:14
What is the height of your source?
Any vertical resizing must be done after deinterlacing.
The source is 720x576 (original video).
Asmodian
1st December 2011, 18:57
As Gavino said, a resize before deinterlacing is amazing in how much damage it can do.
video = MPEG2Source("DORAEMON RIP 1.d2v", cpu=0, info=3)
audio = BassAudioSource("DORAEMON RIP 1 Tc0 L2 2ch 48 224 DELAY -232ms.mp2")
AudioDub(video,audio)
ColorMatrix(interlaced=true, d2v="DORAEMON RIP 1.d2v")
Crop(9,0,-23,0)
#Deinterlace
QTGMC( Preset="Slower", NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=2 )
SRestore(25)
AssumeFPS(25000,1000)
SpressoX()
NirMalam()
HQDering().DeHalo_Alpha_MT(darkstr=0.3, ss=1.0)
rainbow_smooth(2)
eDeen(7,7,14,1,2)
#VagueDenoiser(threshold=6, method=3, nsteps=6, chromaT=2.0)
naa3mod()
MSharpen(threshold=8, strength=10,mask=false, highq=true)
unsharpmask(strength=8,radius=3,threshold=2)
ColorYUV(gain_y=0,cont_y=0,gain_v=0,gain_u=-0,off_u=-0,off_v=-0).levels(16,1.0,240,0,255)
Spline36Resize(720,540)
Fah10
1st December 2011, 19:41
As Gavino said, a resize before deinterlacing is amazing in how much damage it can do.
video = MPEG2Source("DORAEMON RIP 1.d2v", cpu=0, info=3)
audio = BassAudioSource("DORAEMON RIP 1 Tc0 L2 2ch 48 224 DELAY -232ms.mp2")
AudioDub(video,audio)
ColorMatrix(interlaced=true, d2v="DORAEMON RIP 1.d2v")
Crop(9,0,-23,0)
#Deinterlace
QTGMC( Preset="Slower", NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=2 )
SRestore(25)
AssumeFPS(25000,1000)
SpressoX()
NirMalam()
HQDering().DeHalo_Alpha_MT(darkstr=0.3, ss=1.0)
rainbow_smooth(2)
eDeen(7,7,14,1,2)
#VagueDenoiser(threshold=6, method=3, nsteps=6, chromaT=2.0)
naa3mod()
MSharpen(threshold=8, strength=10,mask=false, highq=true)
unsharpmask(strength=8,radius=3,threshold=2)
ColorYUV(gain_y=0,cont_y=0,gain_v=0,gain_u=-0,off_u=-0,off_v=-0).levels(16,1.0,240,0,255)
Spline36Resize(720,540)
Thank you very very much :D it worked.
here it is:
http://www.mediafire.com/?4nj7u6xlse9k9vx
Another thing is to remove small macro blocks, you can explain who to remove them?
Thx
Gavino
2nd December 2011, 00:52
Thank you very very much :D it worked.
I'm surprised this worked:
Crop(9,0,-23,0)
I would have expected an error: "Crop: YUV images can only be cropped by even numbers".
Fah10
2nd December 2011, 10:29
I have another "solution" with this you have no bad deinterlaçe and you can crop without errors. Put the Spline36Resize(720,540,9,0,-23,0) in the last part of the script... thanks
video = MPEG2Source("DORAEMON RIP 1.d2v", cpu=0, info=3)
audio = BassAudioSource("DORAEMON RIP 1 Tc0 L2 2ch 48 224 DELAY -232ms.mp2")
AudioDub(video,audio)
ColorMatrix(interlaced=true, d2v="DORAEMON RIP 1.d2v")
#Deinterlace
QTGMC( Preset="Slower", NoiseProcess=1, NoiseRestore=0.0, Denoiser="dfttest", DenoiseMC=true, NoiseTR=2, Sigma=2 )
SRestore(25)
AssumeFPS(25000,1000)
SpressoX()
NirMalam()
HQDering().DeHalo_Alpha_MT(darkstr=0.3, ss=1.0)
rainbow_smooth(2)
eDeen(7,7,14,1,2)
#VagueDenoiser(threshold=6, method=3, nsteps=6, chromaT=2.0)
naa3mod()
MSharpen(threshold=8, strength=10,mask=false, highq=true)
unsharpmask(strength=8,radius=3,threshold=2)
ColorYUV(gain_y=0,cont_y=0,gain_v=0,gain_u=-0,off_u=-0,off_v=-0).levels(16,1.0,240,0,255)
Spline36Resize(720,540,9,0,-23,0)
Asmodian
2nd December 2011, 20:55
I should probably have looked at it more, I just moved the resize but left the crop as it can be done before deinterlacing.
I didn't do any other sanity checks. :o
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.