Log in

View Full Version : No deinterlacing correctly, leave wrong frames


Overdrive80
18th August 2010, 12:31
Hi, i trying deinterlacer video of anime, specifically Dragon Ball. When you insert the code of avisynth, produce this type of frames

http://img204.imageshack.us/img204/4678/capturad.png
Link to file http://rapidshare.com/files/413682376/VTS_01_1.demuxed.m2v.html

Thanks.

My code is: #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#MERGE
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

DGDecode_mpeg2source("E:\DB_1\Opening\NF\ope.d2v", info=3)+\
DGDecode_mpeg2source("E:\DB_5\26\26.d2v", info=3)

ColorMatrix(hints=true, interlaced=true, threads=0)

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#DEINTERLACED
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

tfm(order=1).tdecimate()

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#CROOPING&RESIZE
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

D0=trim(0,34721).Crop(4,0,0,0).Spline64Resize(720,480)
D1=trim(34722,0).Crop(4,0,-2,0).Spline64Resize(720,480)

UnalignedSplice(D0,D1)

Tweak(sat=1.1)

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#FILTERED RENDERING
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

I hope that you help me. ^^

2Bdecided
18th August 2010, 12:35
I think you need to share a small clip of the source to be sure what's going on.

My best guess would be that the deinterlacing is fine (though I don't believe the next part of your script even works), but the interlaced source you have is encoded with progressive chroma, or broken chroma.

Anyway, post a clip, then someone can say for sure.

Cheers,
David.

Overdrive80
18th August 2010, 13:43
I dont know hot cut the vob files, could I upload a mpeg2 file if you can use it.

Guest
18th August 2010, 13:59
Open the VOB in DGIndex. Set a project range using [ and ]. Then do save project and demux video. Upload the resulting M2V file to a host and post a link to it here.

Overdrive80
18th August 2010, 14:02
Ok, thanks i will do it.

Overdrive80
18th August 2010, 15:16
I link to file http://rapidshare.com/files/413682376/VTS_01_1.demuxed.m2v.html

Thanks.

pandy
18th August 2010, 17:30
Open the VOB in DGIndex. Set a project range using [ and ]. Then do save project and demux video. Upload the resulting M2V file to a host and post a link to it here.

Ok, thanks i will do it.

I link to file http://rapidshare.com/files/413682376/VTS_01_1.demuxed.m2v.html

Thanks.

over 200MB file - even 2-5 MB sample should be enough...

Overdrive80
19th August 2010, 19:54
Hi, i preview project d2v without deinterlacing, and this effect no appear in the movie chapter. I tried bob deinterlacing and after decimate, but the effect appear again.

Somebody could say me any possible solution? Thanks

Didée
19th August 2010, 20:12
What solution? It's the source that is already broken!

But wait ... I remember this problem has been brought up before, and if I remember correctly, user MOmonster had come up with a (partial?) fix for the artifacting. It could have been in the Srestore thread ... or it could've been somewhere else.

Happy searching! :)

Overdrive80
19th August 2010, 20:23
What solution? It's the source that is already broken!

But wait ... I remember this problem has been brought up before, and if I remember correctly, user MOmonster had come up with a (partial?) fix for the artifacting. It could have been in the Srestore thread ... or it could've been somewhere else.

Happy searching! :)

Ok thanks, i hope that a hard task ^^.

Overdrive80
20th August 2010, 10:40
With this code... get admissible result. Thanks Didée.

Load_StdCall_plugin("C:\Program Files (x86)\AviSynth 2.5\plugins\yadif.dll")

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#SPLIT
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

DGDecode_mpeg2source("E:\DB_1\Opening\NF\ope.d2v", info=3)+\
DGDecode_mpeg2source("E:\DB_5\26\26.d2v", info=3)


ColorMatrix(hints=true, interlaced=true, threads=0)

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-
#DE-FIELDBLENDED
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-

QTGMC( Preset="Super Fast", Tuning="DV-SD" )

srestore(frate=23.976)

Motenai Yoda
22nd August 2010, 03:18
c=last
telecide(chroma=false,post=2,blend=true)#or tfm
mergechroma(c)
srestore(24000/1001)#or tdecimate(mode=1) or decimate

with it remain some chroma artifacts on scenechanges...
maybe mergechroma(c.convertfps("ntsc_film")) after srestore or tdecimate or decimate helps.

i think colormatrix is unecessary on this clip...

Overdrive80
22nd August 2010, 03:23
c=last
telecide(chroma=false,post=2,blend=true)#or tfm
mergechroma(c)
srestore(24000/1001)#or tdecimate(mode=1) or tdecimate

with it remain some chroma artifacts on scenechanges...
maybe mergechroma(c.convertfps("ntsc_film")) after srestore or tdecimate or decimate helps.

i think colormatrix is unecessary on this clip...

If I use the command telecide of decomb, green bands appear in the underside of the screen and do not know why. Proved with the ITVC tfm, although with the bobber has given me a more than acceptable result. I very much appreciate your comment and dedication of your time. Regards

Guest
22nd August 2010, 12:56
If I use the command telecide of decomb, green bands appear in the underside of the screen Please post a link to a source file that does this and your script.

Overdrive80
22nd August 2010, 14:19
Please post a link to a source file that does this and your script.

Screenshot

http://img822.imageshack.us/img822/4431/capturazva.png

Source file:

1. http://rapidshare.com/files/413682376/VTS_01_1.demuxed.m2v.html 200mb
2. http://www.megaupload.com/?d=RZSVWF72 60 mb

DGDecode_mpeg2source("E:\DB_5\VTS_01_1.d2v", info=3)

ColorMatrix(hints=true, interlaced=true, threads=0)

AssumeTFF().Telecide(guide=1).Decimate()

Upload script too.

EDIT: Version avisynth 2.6 B2, Decomb version 5.2.3, winOS 7 x64

Guest
22nd August 2010, 15:43
I'm not able to duplicate it with your stream 1 and the exact same script. I have Avisynth 2.57 however. Please try that and report back.

Overdrive80
22nd August 2010, 18:20
I'm not able to duplicate it with your stream 1 and the exact same script. I have Avisynth 2.57 however. Please try that and report back.

Hi, i test script with avisynth 2.57 and 2.58. The effect no appear with both versions, should be a bug in 2.60 avisynth version.

Thanks