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

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st August 2007, 18:01   #1  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
deinterlacing & hdragc issues

hi guys,

i'm having problems properly deinterlacing & using hdragc on a terrible source (movie: Vivah ...2006 release...dvd9 region free)

i'm attaching my script below & also links for dvd9 sample & my test output.

DVD9 sample: http://maxupload.com/0753B0AF

test # 2 output: http://maxupload.com/853F7B86

script:

SetMemoryMax(1024)

DGDecode_mpeg2source(MOVIE,cpu=2,info=3)

ord = last.getparity() ? 1 : 0
leakkernelbob(order=ord,threshold=5,map=false)
RePal()

Vinverse()

...other script here
HDRAGC(min_sat=0.0,max_sat=2.0,coef_sat=1.15,min_gain=0.0,max_gain=1.0,coef_gain=.1)
...other script here related to HDRAGC

crop( 2, 62, -6, -62)
Lanczos4Resize(704,304)

aux=DeGrainMedian(mode=0, limity=7, interlaced=true)
VagueDenoiser(auxclip=aux,wiener=true)

...sharpening...

------------------

in the test output, you'll see green frames...then regular output...i'm scratching my head as to why.

if i can get some suggestions, would really be helpful. - Farooq

Last edited by EuropeanMan; 1st August 2007 at 18:26.
EuropeanMan is offline   Reply With Quote
Old 1st August 2007, 18:03   #2  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
Also this source (dvd9) has colour bleeds & blending problems...which i think i've tried to rectify to NO real end
EuropeanMan is offline   Reply With Quote
Old 2nd August 2007, 02:50   #3  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
Just serving with DGDecode and no other filters...I get no green frames. So start adding the filters one-by-one until the problem occurs. Then you will know which one is at fault. I can't help you with the blended fields because I hate that damn stuff and won't spend even a second bothering with it.
Guest is offline   Reply With Quote
Old 4th August 2007, 21:43   #4  |  Link
yimmie
Registered User
 
Join Date: Jul 2007
Posts: 4
About deinterlacing, in the past I used SmartDeinterlacer filter, but the threshold needed to be only 7 and even then the picture had those typical small left-behinds on some places, especially darker ones, and also, the overall picture was not 'calm' - i.e. an always present 'background' clutter.

So at some point, I used the filter only for stills, and used the common deinterlacer, blending the two fields together.
But sometimes, the 'interlacing' is restorable, the telecide filter.
Alot series/movies can so be deinterlaced without any vertical resolution loss.

But, I see alot material that seem to have occasional (ex 1 out of 5) intact frames (no artefacts), and where the telecide filter works for more, but still outputs so many interlaced ones that it is still far from an option to use it for video.

Also, it occurs (but very very rare) that, playing with Smart Deinterlacer's Advanced Processing settings, restores the original frame everytime, sometimes even in combination with telecide.

So I started to wonder: when frames regularly have no interlacing artefacts, would it be possible that some more complex field/frame manipulation (with Avisynth) can reconstruct all frames to original?

And if that is the case, are there known manipulation sequences that are likely to reconstruct most material?
Or are there so many possible messing up reasons and ways that it's mostly a waste of time or the amount manual work to try to find it out isn't worth it?
yimmie is offline   Reply With Quote
Old 5th August 2007, 01:24   #5  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,901
There are no recipes that work for everything. You have to study the specific source material by stepping through the fields to determine the required treatment.
Guest is offline   Reply With Quote
Old 6th August 2007, 18:15   #6  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
Ok I think I have solved the deinterlacing issues now.

However, I am using a different HDRAGC command line now with different parameters that is refusing to work because:

HDRAGC(B,avg_lum=1078,mode=2,passes=4,shift_u=-15, shift_v=6,protect=2,coef_gain=0.22,max_gain=4.0,corrector=0.8,reducer=1.1,avg_window=30,black_clip=0.3,min_sat=0.4, max_sat=16, coef_sat=1.0)

passes, shift u & v, reducer are NOT recognised for whatever reason...it errors out in AVSp. Why? I have version 1.8.7...of agc!
EuropeanMan is offline   Reply With Quote
Old 7th August 2007, 11:22   #7  |  Link
~bT~
н∂-ƒαиαтι¢
 
Join Date: May 2006
Location: Bedfordshire, UK
Posts: 1,005
Quote:
Originally Posted by EuropeanMan View Post
Ok I think I have solved the deinterlacing issues now.

However, I am using a different HDRAGC command line now with different parameters that is refusing to work because:

HDRAGC(B,avg_lum=1078,mode=2,passes=4,shift_u=-15, shift_v=6,protect=2,coef_gain=0.22,max_gain=4.0,corrector=0.8,reducer=1.1,avg_window=30,black_clip=0.3,min_sat=0.4, max_sat=16, coef_sat=1.0)

passes, shift u & v, reducer are NOT recognised for whatever reason...it errors out in AVSp. Why? I have version 1.8.7...of agc!
Whats the bit in red?
~bT~ is offline   Reply With Quote
Old 7th August 2007, 11:30   #8  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
B, is a variable...

B=last
this is part of a 4-line script...
EuropeanMan is offline   Reply With Quote
Old 7th August 2007, 11:32   #9  |  Link
~bT~
н∂-ƒαиαтι¢
 
Join Date: May 2006
Location: Bedfordshire, UK
Posts: 1,005
^ should it be there..
~bT~ is offline   Reply With Quote
Old 8th August 2007, 00:19   #10  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
i have a 4 line script, it will NOT work with or without 'B'.
the list of called arguments for AGC refuse to work.
EuropeanMan is offline   Reply With Quote
Old 8th August 2007, 03:14   #11  |  Link
superuser
Registered User
 
Join Date: Sep 2006
Posts: 84
Quote:
Originally Posted by ~bT~ View Post
^ should it be there..
If he is not modifying the clip thab "B" is not needed and will perform on "last"

Quote:
Originally Posted by EuropeanMan View Post
i have a 4 line script, it will NOT work with or without 'B'.
the list of called arguments for AGC refuse to work.
hmm, it works for me fine. R u using Vista or some special environment? I m using avisynth 2.5.6, no MT plugin and works as champ on XP.
superuser is offline   Reply With Quote
Old 8th August 2007, 04:41   #12  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
I am on Vista Ultimate, with MT plugins 2.5.6avisynth
EuropeanMan is offline   Reply With Quote
Old 8th August 2007, 04:48   #13  |  Link
superuser
Registered User
 
Join Date: Sep 2006
Posts: 84
^ u should pose this question in the hdragc thread itself. not sure how compatible are hdragc and mt are? may be rfmmars or peviko can help you out on this!
superuser is offline   Reply With Quote
Old 8th August 2007, 04:50   #14  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 660
thanks superuser...will do.

i so really badly want to see this work
EuropeanMan is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:02.


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