PDA

View Full Version : My video has progressive and interlaced frames at the same time :S


sigma2x
13th February 2008, 14:45
Hi, this is my first post here, but i've been lurking for some time now, learning about avisynth and virtualdub.

As the title states, i have a video which i ripped this morning which is in NTSC format, and i cant deinterlace it properly because it has 2 interlaced frames and then 3 progressive frames etc etc.
I've read up a bit on pulldown and such, but didnt fully understand it.


could anyone help me in this matter?

Cheers!

neuron2
13th February 2008, 15:28
Apply inverse telecine (IVTC). First try just Force Film in DGIndex. If that doesn't work, try the Decomb package, i.e., Telecide() + Decimate().

sigma2x
13th February 2008, 15:50
Hi, i have tried force film, but that didnt work, maybe because the dvd isnt actually a film, but a live performance by a band, should i have said that in my first post?

I have also tried the decomb package and followed the tutorial document but that isnt working either, its showing the interlaced frames in the way a regular deinterlacer does. The progressive frames look fine though.
here is a screenshot from virtualdub using the script.
http://i17.photobucket.com/albums/b91/twittx/doom9/deinterlace_problem_1.jpg


this is the script i am using.
AviSource("C&C_few-frames_example_1.avi")
AssumeTFF()
Telecide(guide=0,post=2,vthresh=25)
Decimate()


cheers.

neuron2
13th February 2008, 18:46
Please post a link to an *unprocessed* source clip. Use DGIndex to demux a clip that can be used to duplicate your issue.

Open the VOB in DGIndex, set a range around the desired area, then do Save Project and Demux Video. Upload the resulting M2V to a sharing site and post the link here. Give us about 20MBytes of a segment with a lot of motion.

sigma2x
13th February 2008, 19:56
I have just demuxed a small portion of the vob file as directed, and it have lots of small green/multicoloured blocks in every frame and it also has horizontal rows of stationary frames.

cheers.

edit: nevermind, i didnt pull it off the dvd properly.


edit2: playing any of the vob files straight from the disc with vlc player result in the same blocking, yet playing it as a dvd its all normal, am i doing somthing wrong?
sorry for my noobish questions, i dont usually rip the vob files, just straight to avi.

Adub
13th February 2008, 20:11
It has to do with CSS encryption. Just decrypt the disk to your harddrive and do as neuron2 suggested.

sigma2x
13th February 2008, 20:56
Thanks for the help :)
heres the .m2v

http://www.divshare.com/download/3776311-bcc

cheers.

edit: i dont think divshare likes .m2v files, is it downloading properly?

sigma2x
13th February 2008, 21:50
Me again, i think ripping to vob has solved my first problem, but has also created another, mvbob, securbob and all the other bobs are deinterlacing to 59.94fps which is taking a long long long time to export.

Cheers.

neuron2
13th February 2008, 21:53
I can't look at this until this evening, because my corporate firewall blocks sharing sites.

neuron2
14th February 2008, 03:41
The clip you posted is hard-telecined 3:2 pulldown. You can process it nicely with this:

MPEG2Source("VTS_02_1_demuxed.d2v")
telecide(guide=1)
decimate()

You're messing it up by "ripping" to AVI. Your screenshot above shows resizing before deinterlacing, which is a terrible no-no.

Decrypt the VOBs to your hard disk, make a project with DGIndex, and then apply the script above.

sigma2x
14th February 2008, 09:53
Thankyou very much :thanks:
it works perfectly, and while im here, is there anyway to speed up fft3dgpu()?
At the moment i keep it as is, but its a little bit slow denoising even that ntsc sized video on my 8800gt, i ask because i am also using blackmanresize(1280,854,taps=16) and thats quite slow in itself.

Cheers.

neuron2
14th February 2008, 15:15
The best way to speed it up is to remove it. The video looks pretty clean to me. Why do you think you need a heavy duty filter like that? And 16 taps for a resizer is gross overkill.

sigma2x
14th February 2008, 15:52
i have just finished exporting the video now with fft3dgpu and blackmanresize settings, it took just under 30mins.

Why do you say 16-taps is overkill?
i once did a test with default 4 taps against 8 and 16 taps and i could see a difference in quality, i did zoom in 200% to check, but there was a difference, even from a youtube quality video.

Cheers.

Sagekilla
14th February 2008, 22:19
Any reason you're resizing to 1280x854? If your source is a DVD, it wouldn't make any sense to resize past perhaps 864x480 if it's a 16:9 DVD.

sigma2x
15th February 2008, 11:29
My reason was to see how clean an image i could get upsizing from dvd to HD is, and with the help deinterlacing from neuron2, it did a good job :D very smooth indeed.
There are still some deinterlacing atifacts though and the obvious signs of compression from the dvd original, but fft3dgpu sorts some of the compression artifacts out before upscaling :), it doesnt smooth out much that sharpish noise just at the edges of moving objects though.