Log in

View Full Version : my Deinterlacing is jerky


TheFrenchDumb
1st August 2011, 20:28
Hi!

I'm trying to deinterlace Dvd Anime , sample video without sound could be found here :
http://dl.free.fr/bS0HkWiQ3 (ddl)
or http://www.megaupload.com/?d=IBMLCPCF

or http://www.mirorii.com/fichier/54/422171/VTS_01_1-demuxed-m2v.html


I'm trying do deinterlace with this avisynth script :

d2vpath = "i:\frps\01.d2v"

V = mpeg2source(d2vpath)
interp = V.separatefields().eedi2(field=-2)
deint = V.tdeint(mode=2,edeint=interp)
V=V.tfm(d2v=d2vpath,clip2=deint)
V=V.crop( 0, 0, 0, 0)

A= DirectShowSource("i:\frps\VTS_01_1 Ta0 48K 16bit 2ch.wav") # adjust fps if necessary

AudioDub(V, A)


Problem :

My video has an excelent quality, but the video is litle jerky and my example contains a passage with traveling who show this problem.

I'm litle noob, so could you give me a way to obtain the same quality and without this jerky thing

I tried YadifMod (saw on http://forum.doom9.org/archive/index.php/t-154726.html), but quality seems lower and i cant make work the mod withe same fps ( i obtain 59 fps lol)










Media info on my vob :

General
Complete name : I:\frps\VTS_01_1.VOB
Format : MPEG-PS
File size : 1 024 MiB
Duration : 14mn 56s
Overall bit rate : 9 586 Kbps

Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Default
Format settings, GOP : M=3, N=12
Duration : 14mn 56s
Bit rate mode : Variable
Bit rate : 7 859 Kbps
Nominal bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.759
Stream size : 840 MiB (82%)



:thanks::thanks::thanks:

poisondeathray
2nd August 2011, 02:06
Content is not interlaced, so don't deinterlace it


MPEG2Source()
AssumeTFF()
TFM()
TDecimate()

TheFrenchDumb
2nd August 2011, 04:19
hi, ok i tested your code, and it worked lik a charm (faster lol). I got some bugs at some place i presume it comes from the original stream.

Few questions :

1) Why i saw it like interlaced video? is it telecine thing?
2) is there any option to increase quality or is it pointless? ("mode=" for example?)

thx.

poisondeathray
2nd August 2011, 04:45
hi, ok i tested your code, and it worked lik a charm (faster lol). I got some bugs at some place i presume it comes from the original stream.


What bugs? can you be more descriptive?



1) Why i saw it like interlaced video? is it telecine thing?


Yes, telecine



2) is there any option to increase quality or is it pointless? ("mode=" for example?)


If it's simple telecine, no.

All you are doing is recovering the original progressive 23.976 FPS stream.

If there are cadence breaks or some other non standard things going on in other sections, post a sample

TheFrenchDumb
2nd August 2011, 19:32
What bugs? can you be more descriptive?

no, its after the sample i posted, we can see a cat for 1 frame, i think it's bad montage(pretty sure)
your solution is ok at 100%

thx again