Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th August 2008, 10:37   #1  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
Deinterlacing-problem

Hello!

I have a problem with interlace in one anime, immediately come to things. The interlacing using commands such as:

DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v", info=3)
ColorMatrix(hints=true,interlaced=true)
tfm(order=1).tdecimate()
LanczosResize(640,480)

I also trying something like this:

DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v", info=3)
Telecide.Decimate(5)

A result of this configuration is an error, only appears on this line kanji:



I have tried to improve filters:
AAA()
LimitedSharpenFaster()


But it did not help anything. Also tried Yatta, The result worse.


I would like to ask you to help with configuration interlacing, in top sorry for my poor English.

Link to m2v Sample:
>>>http://www.megaupload.com/pl/?d=382DWPTM<<<

Link to d2v
>>>http://www.megaupload.com/pl/?d=YVTZYCX2<<<

Last edited by Benus_MinO; 24th August 2008 at 15:47.
Benus_MinO is offline   Reply With Quote
Old 24th August 2008, 10:42   #2  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
provide a m2v sample
egrimisu is offline   Reply With Quote
Old 24th August 2008, 14:34   #3  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
it is the link given in the subject
Benus_MinO is offline   Reply With Quote
Old 24th August 2008, 16:00   #4  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
I ran it through animeivtc() in mode 1 and everything looks fine.
__________________
AnimeIVTC() - v2.00
-http://boinc.berkeley.edu/-
Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p)
thetoof is offline   Reply With Quote
Old 24th August 2008, 16:13   #5  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
something like this?:
AnimeIVTC(mode=1, aa=2)

then looks terrible, and why I want to do this filter 4 belts after two crashes and error?

Sample:

>>>http://www.megaupload.com/pl/?d=ZQYCCZ18<<<

Last edited by Benus_MinO; 24th August 2008 at 16:35.
Benus_MinO is offline   Reply With Quote
Old 24th August 2008, 17:01   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
It's soft telecined. Your clip looks just fine with Forced Film in DGIndex. Is there some reason you can't use Forced Film?

Also, you have to select Yes for the field order correction on your sample clip.

For external IVTC, I used this simple script:

telecide()
decimate()

and everything was fine. I don't understand why you obtained a bad frame using that. Please try again with the field order correction.

Last edited by Guest; 24th August 2008 at 17:09.
Guest is offline   Reply With Quote
Old 24th August 2008, 20:19   #7  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
I can give, but after that in megui can not detect the type of interlacing
Benus_MinO is offline   Reply With Quote
Old 24th August 2008, 20:29   #8  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Your response is unintelligible to me.

If you use Force Film, the output will be progressive, so there's no need to try to determine type of interlacing.

Last edited by Guest; 24th August 2008 at 21:07.
Guest is offline   Reply With Quote
Old 24th August 2008, 21:01   #9  |  Link
Comatose
Registered User
 
Join Date: Dec 2007
Posts: 639
Benus, where are you from?
Comatose is offline   Reply With Quote
Old 24th August 2008, 21:02   #10  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
Poland

I tried something like this:
DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
telecide()

Sample:
>>>http://www.megaupload.com/pl/?d=1LLRX9ZE<<<

or

DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
decimate()

but here you can see the pixels around subtitles
Sample:
>>>http://www.megaupload.com/pl/?d=6UFRW8Y0<<<


and an attempt to improve the quality:

Import("C:\Program Files\AviSynth 2.5\plugins\AAA.avs")
DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
decimate()
trim(2300,5000)
LimitedSharpenFaster()
LanczosResize(640,480)
Undot()

Sample:
>>>http://www.megaupload.com/pl/?d=NJTSG0EX<<<


but it does not work, you can see that in opening interlacing is not done in 100%
you have any ideas?

Last edited by Benus_MinO; 24th August 2008 at 23:24.
Benus_MinO is offline   Reply With Quote
Old 25th August 2008, 18:44   #11  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
No, no, no.

What neuron2 said is this:
Quote:
DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true, interlaced=true)
telecide()
decimate()
However, when I noticed frame 564, (right after the scenechange, after inverse telecining) I tried animeivtc(mode=1, aa=0) (which you can change if you want, I was just running through it real fast), and it cleared everything right up.

In short, a good, working script is this:
Quote:
DGDecode_mpeg2source("C:\Documents and Settings\DWORAA\Desktop\VTS_01_1.demuxed.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
AnimeIVTC(mode=1, aa=0)
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo

Last edited by Adub; 25th August 2008 at 19:40.
Adub is offline   Reply With Quote
Old 25th August 2008, 22:15   #12  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
Doesn't detect hints...

edit//It's allright now, but why it have 19.18fps?

Last edited by Benus_MinO; 25th August 2008 at 23:51.
Benus_MinO is offline   Reply With Quote
Old 25th August 2008, 22:17   #13  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
What do you mean? Make sure that you're DGDecode line contains the "info=3" option.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 26th August 2008, 01:47   #14  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Quote:
Originally Posted by Benus_MinO View Post
Doesn't detect hints...

edit//It's allright now, but why it have 19.18fps?

You need to do ONE of the following. NOT both.

A) Enable force film in DGIndex
B) Perform external IVTC with Telecide/Tecimate or TFM/TDecimate.

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 26th August 2008, 08:50   #15  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
I used this:


DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.demuxed.d2v")
animeivtc(mode=1,aa=2)
crop( 4, 0, -4, 0)
LanczosResize(640,480)
LimitedSharpenFaster()
dedot()
Undot()

Last edited by Benus_MinO; 26th August 2008 at 10:34.
Benus_MinO is offline   Reply With Quote
Old 26th August 2008, 16:30   #16  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
So, it works for you now, yes?

If so good. But also, I would recommend this instead. It should allow you to keep proper colors when converting using xvid or x264.

Quote:
DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.demuxed.d2v", info=3)
Colormatrix(hints=true,interlaced=true)
animeivtc(mode=1,aa=2)
crop( 4, 0, -4, 0)
LanczosResize(640,480)
#dedot().undot() #Try using Removegrain(mode=2) instead, like this
RemoveGrain(mode=2)
LimitedSharpenFaster()
Also, instead of undot and dedot, try using Removegrain(mode=2)
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo

Last edited by Adub; 26th August 2008 at 16:51.
Adub is offline   Reply With Quote
Old 26th August 2008, 16:45   #17  |  Link
egrimisu
Registered User
 
egrimisu's Avatar
 
Join Date: Jan 2008
Location: Romania - neighbor of Dracula
Posts: 327
shoul removegrain and other grain removers like mvdegrain be used after limitedshapenfaste?
__________________
I7 920 @ 3.60GHz + Thermalright Ultra 120 Extreme
Asus P6T Deluxe, 6GB Corsair XMS3 1600MHZ 8-8-8-24
2x1TB Samsung + 1x500GB Samsung,
Corsair 520W, Thermaltake Soprano DX
GeForge GTX280
egrimisu is offline   Reply With Quote
Old 26th August 2008, 16:50   #18  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
No, you are right. It should be before. No sense in having limitedsharpenfaster enhance noise. I'll edit my post.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 26th August 2008, 22:20   #19  |  Link
Benus_MinO
Registered User
 
Join Date: Aug 2008
Posts: 22
DGDecode_mpeg2source("C:\DVD_VIDEO\VIDEO_TS\VTS_01_1.d2v", info=3)
ColorMatrix(hints=true,interlaced=true)
animeivtc(mode=1,aa=0)
crop( 4, 0, -4, 0)
LanczosResize(640,480)
dedot()
undot()
RemoveGrain(mode=2)
LimitedSharpenFaster()


Sample:
http://www.megaupload.com/pl/?d=SNXHD4KV

How I can improve quality?

Last edited by Benus_MinO; 27th August 2008 at 10:25.
Benus_MinO is offline   Reply With Quote
Old 26th August 2008, 23:12   #20  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
I don't get it. That is a pretty freakin' clean source. The only thing you can do is encoder wise, such as increase reference frames, b-frames, bitrate, etc.

Frankly I think, excluding encoder artifacts from that compressed clip, it is clean as can be, and any more filtering would be too much. You have to know when to stop.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.