NEW Guides and AmvApp BETA

This forum is for video and audio help and discussion.

2 Pass useful names for the file

Postby Tiiscool » Mon May 26, 2008 7:19 am

Hi,

what do you think about his idea ?

Basic idea: also the .d2v file has a unique name
and you see what files belong to the.d2v


source = "C:\source\blah"
MPEG2Source (source+".d2v")

#FIRST PASS
TFM(slow=2, output=source+".tfm")
TDecimate(mode=1, output=source+".dec")
Crop(0,0,4,2)

#SECOND PASS
#TFM(input=source+".tfm")
#Tdecimate(input=source+".dec")
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

CheckFieldOrder()

Postby Tiiscool » Mon May 26, 2008 10:42 am

Analysing Your DVD Footage -> 2. Checking the Field Order
file: http://www.animemusicvideos.org/guides/ ... etb2a.html

DGIndex:
I do not trust DGIndex, because I had once a wrong fieldorder.
This problem was made by bad encoding.

CheckFieldOrder()
I think we don 't need this any longer ?


AviSynth:
What do you think about info()
It also tells the fieldorder

Ti
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Re: question for tfm() and order

Postby Zarxrax » Mon May 26, 2008 10:51 am

Tiiscool wrote:Hi,

why is there nor order= or use of d2v= ?

TFM()
TDecimate()


I thought it should be this way ?

TFM(order =1) #for top field
TDecimate()


Dgdecode knows the field order or the original stream, and it can pass this information along to TFM, thus there is no reason to manually specify it.

Tiiscool wrote:Basic idea: also the .d2v file has a unique name
and you see what files belong to the.d2v

I don't understand what you are talking about in this post.

Tiiscool wrote:DGIndex:
I do not trust DGIndex, because I had once a wrong fieldorder.
This problem was made by bad encoding.

CheckFieldOrder()
I think we don 't need this any longer ?


AviSynth:
What do you think about info()
It also tells the fieldorder

I would be interested in seeing a source where dgindex told you the wrong field order. It could also have been a bug in an old version of dgindex, maybe?

CheckfieldOrder() can still be used if you dont trust dgindex. I've never had a problem with dgindex though.

Info() doesn't know the field order. It only reports either what mpeg2source tells it, or what you tell it (using commands AssumeTFF or AssumeBFF).
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

TFM can check if .d2v is right ?

Postby Tiiscool » Mon May 26, 2008 10:57 am

Hi,

I read that with: TFM(d2v="C:\...\xx.d2v") you can check, if the d2v is alright.
When not, it creates a xx-FIXED.d2v version.

Maybe this is useful information at the end of: Making DGIndex Project Files
file: http://www.animemusicvideos.org/guides/ ... getb2.html

What do you think about this ?
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

misisng code line ?

Postby Tiiscool » Mon May 26, 2008 11:00 am

Making your footage Progressive ->
I plan to edit the AviSynth files directly (method 2) ->
Telecined Footage -> 2-Pass IVTC (Advanced)

file: http://www.animemusicvideos.org/guides/ ... ssive.html

first pass with post-processing
MPEG2Source ("C:\yourfolder\blah.d2v")
TFM(cthresh=4, slow=2, clip2=deint, output="C:\yourfolder\something.tfm")
TDecimate(mode=1, output="C:\yourfolder\something.dec")
Crop(0,0,4,2)


Can it be that this line is missing ?
deint = TDeint(mode=2, mtnmode=3, blim=100)
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Re: question for tfm() and order

Postby Tiiscool » Mon May 26, 2008 11:19 am

Zarxrax wrote:
Tiiscool wrote:Basic idea: also the .d2v file has a unique name
and you see what files belong to the.d2v

I don't understand what you are talking about in this post.


I think this is an easy system to get good names for the files:
Example:
myvideo.d2v
myvideo.tfm
myvideo.dec

You can use the script for other files too. Only one line has to be changed.
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Re: question for tfm() and order

Postby Tiiscool » Mon May 26, 2008 11:28 am

Zarxrax wrote:Dgdecode knows the field order or the original stream, and it can pass this information along to TFM, thus there is no reason to manually specify it.

So it works also without d2v= ?
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Re: TFM can check if .d2v is right ?

Postby Scintilla » Mon May 26, 2008 12:18 pm

Tiiscool wrote:Hi,

I read that with: TFM(d2v="C:\...\xx.d2v") you can check, if the d2v is alright.
When not, it creates a xx-FIXED.d2v version.

Maybe this is useful information at the end of: Making DGIndex Project Files
file: http://www.animemusicvideos.org/guides/ ... getb2.html

What do you think about this ?

That's only in the case of DVDs encoded with illegal field order transitions (see: Love Hina, Excel Saga, and possibly anything encoded by M.O.F.C. if I'm remembering correctly), but it should be mentioned somewhere, yes.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

not good d2v

Postby Tiiscool » Mon May 26, 2008 12:23 pm

When I remember it right, I have two DVDs that have this problem.

One is Gravitation US Version.
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

filter: Fluxsmooth

Postby Tiiscool » Mon May 26, 2008 3:10 pm

Hello,

can it be that there is a filter missing in the AMVapp ?
(3 beta)

I tried to use Fluxsmooth, but it did not work.
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Postby LivingFlame » Mon May 26, 2008 4:37 pm

Try FluxSmoothST()
... yea ...
User avatar
LivingFlame
 
Joined: 28 May 2005
Location: Closer than you think...

Maybe typing error: filter

Postby Tiiscool » Tue May 27, 2008 1:39 pm

Thanks LivingFlame.


Is this a typing error ?
LimitedSharpenFaster(stength=200)
strength ?

Improving Visual Quality and Compressibility -> Sharpening
file: http://www.animemusicvideos.org/guides/ ... tqual.html
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

Postby LivingFlame » Tue May 27, 2008 3:28 pm

Yea, that's definitely a typo in the guide. It should be Strength. You catch lots of little things. :O
... yea ...
User avatar
LivingFlame
 
Joined: 28 May 2005
Location: Closer than you think...

Re: TFM can check if .d2v is right ?

Postby Zarxrax » Tue May 27, 2008 3:41 pm

Scintilla wrote:
Tiiscool wrote:Hi,

I read that with: TFM(d2v="C:\...\xx.d2v") you can check, if the d2v is alright.
When not, it creates a xx-FIXED.d2v version.

Maybe this is useful information at the end of: Making DGIndex Project Files
file: http://www.animemusicvideos.org/guides/ ... getb2.html

What do you think about this ?

That's only in the case of DVDs encoded with illegal field order transitions (see: Love Hina, Excel Saga, and possibly anything encoded by M.O.F.C. if I'm remembering correctly), but it should be mentioned somewhere, yes.


I've only ever come across one dvd which had an illegal field order transition, and using the "fixed" d2v file actually resulted in broken ivtc, while using the original d2v worked perfectly. I've tried finding out more about this but I can't get any answers.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

AVS Template to compare filter effects

Postby Tiiscool » Thu May 29, 2008 2:10 pm

Hello,

what do you think about a nice avs template, that will help to compare the effects of the filters ?

I found one and changed it. Now it is possible to see also difference with MPEG2Source and cpu. I use usually also Exception Handling. Maybe this is too much for beginner ?

How to use:
* MPEG2Source: you can change cpu for video2 and see the differences
* Other deringing deblocking filter: make sure MPEG2Source is cpu=0
* after "Start of the filters" you can add every filter you want.
video2 will be changed by this filter
* Use comments # to comment a filter
this is easier as delete and rewrite it
* you want wo compare two filter settings ?
of course it is possible also to use filter with video1
be careful with the commands: video1 = DeRainbow(video1,10)
First argument in the bracket is video1 and be sure to save the changes in video1
*PAL video: make sure to comment these lines
#video1 = TDecimate(video1, mode=1)
#video2 = TDecimate(video2, mode=1)


Try
{
#Deblocking & deringing mit MPEG2Source, cpu = 0, 4 or 6
video1 = MPEG2Source("S:\FruitsBasket\01\FruitsBasket_01.d2v", cpu=0)
video2 = MPEG2Source("S:\FruitsBasket\01\FruitsBasket_01.d2v", cpu=0)

#IVTC
video1 = TFM(video1)
video1 = TDecimate(video1, mode=1)
video2 = TFM(video2)
video2 = TDecimate(video2, mode=1)

last = video2

#Start of the filters

#Note: deringing & deblocking
#when you test deringing and deblocking set MPEG2Source cpu=0

#Example
DeRainbow(10)

video1 = video1.crop(0,0,360,0)
video2 = last.crop(0,0,360,0)

StackHorizontal(video1,video2)

}
Catch(err_msg)
{
Blackness.Subtitle(err_msg)
}


What do you think ?
User avatar
Tiiscool
 
Joined: 14 Nov 2004
Location: Alstätte, Germany

PreviousNext

Return to Video & Audio Help

Who is online

Users browsing this forum: No registered users and 1 guest