Quantcast Avisynth: MA Script for a one-Movie DVD ? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
02-24-2004, 07:34 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Nick you should watch a bit in DVD2AVI to figure out its functions.
There you find an option "crop and resize" or so.
Check the checkbox and move the top/bottom Scrollbars to figure out the boders hights.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
02-24-2004, 06:04 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
1.66:1 widescreen

How do you get the ratio(which program)
Reply With Quote
  #23  
02-25-2004, 04:56 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I use my eyes and look at the back cover of the DVD and then I check if it is correct by checking border size in DVD2AVI (that is the only important think indeed, the A/R is not important).

If you see borders of 32 pixels insted of 16 or 72 as I report, just change my script according to what you find for your source.
Reply With Quote
  #24  
08-31-2004, 08:07 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
As I do all my targets in anamorphic, and all my source are anaporphic, I don't have even to do any resising. I just crop the black borders and put them back at the end of the process.

The borders (top, bottom) are always the same (you can check that in DVD2AVI:

(0,0) when the movie is fullscreen
(16,16) when it is 1.85
(72,72) when it is 2.35.

And the script is :
Code:
mpeg2Source("xxxxxxxxxxxxxxx.d2v")
Crop(8,0,704,576) # for full screen
#Crop(8,16,704,544) # for 1.85
#Crop(8,72,704,432) # for 2.35

Fluxsmooth()
TemporalCleaner(5,10)
Undot()
DCTFilter(1,1,1,1,1,1,0.5,0)

AddBorders(0,0,0,0) # for fullscreen
# AddBorders(0,16,0,16) # for 1.85
# AddBorders(0,72,0,72) # for 2.35

Letterbox(16,16,16,16) # overscan=2
That's all.

Note: I only did clean sources for the moment; Badly noisy ones can be processed with a spacial like deen, as inc suggested.
Phil, for one dvd to one dvd, both source and target anamorphic:

What would crop/add borders values be for NTSC?

What settings for each do you use for TMPGEnc/Video/Aspect ratio?

What settings for each do you use for TMPGEnc/Advanced/Video source setting/Source aspect ratio?

Are you using TMPGEnc's "DVD (NTSC).mcf" or KWAG's "KDVD-720x480-Full-D1-_NTSC_.mcf".

Thanks as always,
Reply With Quote
  #25  
08-31-2004, 08:15 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by nicksteel
What would crop/add borders values be for NTSC?
Open the vobs in DVD2AVI and control by yourself the values of the borders to use insteed of 0, 16 or 72 that we use in PAL.

Quote:
What settings for each do you use for TMPGEnc/Video/Aspect ratio?
I guess you have to put "16:9" in order to have tmpgenc to generate the "16:9" flags in the mpeg stream. But I'm not sure so do a short sample to control that point !

Quote:
What settings for each do you use for TMPGEnc/Advanced/Video source setting/Source aspect ratio?
Nothing changes here (the source is always an avisynth script and they produce 4:3 frame, anytile), use 4:3 or 4:3 525 lines NTSC

Quote:
Are you using TMPGEnc's "DVD (NTSC).mcf" or KWAG's "KDVD-720x480-Full-D1-_NTSC_.mcf".
I am using CCE . And by the way i NEVER use any template, I had set all my parameters by hand one for once and never change them (fortunally TMPGENC remembers the settings from the previous encoding).

Else of course you must use a KDVD template else you wont have the correct matrix !
How can you ask such question after to much time on the site ?
Reply With Quote
  #26  
08-31-2004, 10:29 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
With one movie per disc, I'd ditch all the noise reducing filters except maybe UnDot(), though I would replace it with RemoveGrain(mode=2)
Reply With Quote
  #27  
08-31-2004, 10:36 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
With one movie per disc, I'd ditch all the noise reducing filters except maybe UnDot(), though I would replace it with RemoveGrain(mode=2)
For sure this thread is old and I changed my script since then.

Currently : Undot().Deen()
That's all !

(note: still didn't have time to try RemoveGrain nor RemoveDirt )
Reply With Quote
  #28  
08-31-2004, 10:39 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
I do underline boulders statement.
I wouldn't even use Deen in case of rebuilder as one movie is the target to one DVD-R, ok if the source is mega worth a special filtering is inevitable, but most dvds just got a bit noise.
MA and every adaptive sharpener blurrer do get very deep into the source and better compression in case of one DVD 4.3GB is no issue


Boulder, did you try to get Removedirt() working with dvdrebuilder???
In that rebuilder Process it doesnt work but an avisynth error comes up something like "Removedirt() doesnt got the prameter mthreshold" the parameter does exist, maybe now in here I quoted wrong as Im at work.
Ill try just a blank removedirt() and see if it works.

BTW: How was your marriage party?

@ Phil

You should try them out, .... maybe not for every purpose, but in case of a bit noise I do prefer them compared to temporalsoften.
I do all my captures treat with them and the result is just nice!
Reply With Quote
  #29  
08-31-2004, 10:51 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Boulder, did you try to get Removedirt() working with dvdrebuilder???
In that rebuilder Process it doesnt work but an avisynth error comes up something like "Removedirt() doesnt got the prameter mthreshold" the parameter does exist, maybe now in here I quoted wrong as Im at work.
Ill try just a blank removedirt() and see if it works.
I've seen that error too, I sometimes (but not often) get it with QCCE. I've not tried DVD-RB yet, but I think I got rid of the problem by moving RemoveDirt before any cropping, i.e. I feed it with a 720x576 source.

Quote:
BTW: How was your marriage party?
We sure had a ball..I had some home-brewed ale which was simply delicious. The day went by very fast, before we even noticed it was already time to leave the place. Now we are just waiting to get to our honeymoon trip to Madeira on the 14th of September
Reply With Quote
  #30  
08-31-2004, 11:04 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Quote:
Originally Posted by nicksteel
What would crop/add borders values be for NTSC?
Open the vobs in DVD2AVI and control by yourself the values of the borders to use insteed of 0, 16 or 72 that we use in PAL.

Quote:
What settings for each do you use for TMPGEnc/Video/Aspect ratio?
I guess you have to put "16:9" in order to have tmpgenc to generate the "16:9" flags in the mpeg stream. But I'm not sure so do a short sample to control that point !

Quote:
What settings for each do you use for TMPGEnc/Advanced/Video source setting/Source aspect ratio?
Nothing changes here (the source is always an avisynth script and they produce 4:3 frame, anytile), use 4:3 or 4:3 525 lines NTSC

Quote:
Are you using TMPGEnc's "DVD (NTSC).mcf" or KWAG's "KDVD-720x480-Full-D1-_NTSC_.mcf".
I am using CCE . And by the way i NEVER use any template, I had set all my parameters by hand one for once and never change them (fortunally TMPGENC remembers the settings from the previous encoding).

Else of course you must use a KDVD template else you wont have the correct matrix !
How can you ask such question after to much time on the site ?
I thought KDVD should be used, but another post from SansGrip mentioned not using the notch matrix for high bitrate encodes. Just making sure.

Thanks, Phil
Reply With Quote
  #31  
08-31-2004, 11:05 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Boulder
I've seen that error too, I sometimes (but not often) get it with QCCE. I've not tried DVD-RB yet, but I think I got rid of the problem by moving RemoveDirt before any cropping, i.e. I feed it with a 720x576 source.
BOTH do base in their prediction method on SelectrangeEvery() ... maybe theres a memorypointer conflict or so??!
Quote:
Now we are just waiting to get to our honeymoon trip to Madeira on the 14th of September
Cool! Enjoy it!
Reply With Quote
  #32  
08-31-2004, 11:20 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
I do underline boulders statement.
I wouldn't even use Deen in case of rebuilder as one movie is the target to one DVD-R, ok if the source is mega worth a special filtering is inevitable, but most dvds just got a bit noise.
I still don't understand why you all consider Deen as a denoiser. Deen is a ST filter ! And 1 movie or not that is not the matter. Filters are tied to the sourcen not to the target. ALL SOURCES need to be temporaly filtered.

Temporal noise is introduced by rouding in the MPEG2 decoding. So unless you use a 128 bits CPU, you have it

Do a 1-to-1 comparison if you want to be convinced.
Reply With Quote
  #33  
08-31-2004, 11:32 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Dialhot
I still don't understand why you all consider Deen as a denoiser. Deen is a ST filter !
Ok, a Spatio/Temporal denoiser ...
as its based on 2d and 3d convolutions:
http://ziquash.chez.tiscali.fr/
Quote:
Originally Posted by MarcFDs Site
Deen
(a set of denoisers)
Deen is a set of assembly-optimised denoisers,
like various 3d and 2d convolutions.
requires a iSSE capable cpu.
Quote:
Temporal noise is introduced by rouding in the MPEG2 decoding. So unless you use a 128 bits CPU, you have it
? Do you mean rounding errors? during the RLE routine while decompressing?
Reply With Quote
  #34  
08-31-2004, 11:38 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Ok, a Spatio/Temporal denoiser ...
I wanted to say that in your mind Deen seems to be a spatial only filter, that it is not.

Quote:
? Do you mean rounding errors? during the RLE routine while decompressing?
Yes it is.
(btw the error is probably introduced during encoding, not decoding... but the result is the same : all sources need a temporal filtering)
Reply With Quote
  #35  
08-31-2004, 11:54 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Quote:
Originally Posted by Boulder
I've seen that error too, I sometimes (but not often) get it with QCCE. I've not tried DVD-RB yet, but I think I got rid of the problem by moving RemoveDirt before any cropping, i.e. I feed it with a 720x576 source.
BOTH do base in their prediction method on SelectrangeEvery() ... maybe theres a memorypointer conflict or so??!
I'll post a bug report in the RemoveDirt thread at D9 the next time I see the problem. I'm sure kassandro will be interested in fixing it if it just can be reproduced easily.
Reply With Quote
  #36  
08-31-2004, 12:23 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
@ Phil

You should know me about knowing deen a2d c3d etc

Related to temporal needed-anyway handling:
I hope I do understand you well but a well setted BlindPP, also using the quant!!!=x parameter does almost handle those "during encoding happening"-dct-artifacts. Yep, these artifacts arent only spatial as IBP is a sequence which results in temporal changing pixel 8x8 contents.
But "IF" the PP engine at mpeg2source() from MarcFDs Mpeg2dec3 does handle the source right, its also capable to recognise the used encoding-Quantizer on a sequence, ... but I dont trust it (BTW: the standalone vers. BlindPP isnt able to do that.)
Anyway when using a detailed deblocking in mpeg2source like using a setup "xxxxox" (just a value) and determined moderate_h, moderate_v Settings, this can avoid an extra temporal filtering. And les Temp-Artifacts will result

Again I hope I did understand you well but related to 128bit CPU and mpeg encoding ....

The DCT routine ITSELF is theoretically lossless! BUT as you only can allocade integer numbers to the DCT 8x8 Block Architecture and also by the DC Prec.8/9/10 bit those rounding errors are inevitable No matter which CPU is used.

@ Boulder

I already had an exchange with Kassandro. But I hadnt time to reply with the EXACT Quote of that error as I hadnt time to do rebuilder jobs the last 2 days (5 captured movies had to be treaten/encoded that time )
Reply With Quote
  #37  
08-31-2004, 12:35 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Anyway when using a detailed deblocking in mpeg2source like using a setup "xxxxox" (just a value) and determined moderate_h, moderate_v Settings, this can avoid an extra temporal filtering. And les Temp-Artifacts will result
I really don't understand this "fight" to try to have something "temporal-like' with a non temporal filter just to avoid to use a real temporal one

Quote:
Again I hope I did understand you well but related to 128bit CPU and mpeg encoding ....
You do.

Quote:
The DCT routine ITSELF is theoretically lossless! BUT as you only can allocade integer numbers to the DCT 8x8 Block Architecture and also by the DC Prec.8/9/10 bit those rounding errors are inevitable No matter which CPU is used.
The 128bits sentence was a joke. For sure you will always have an error whatever the CPU.
Reply With Quote
  #38  
08-31-2004, 03:03 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Originally Posted by Dialhot
I really don't understand this "fight" to try to have something "temporal-like' with a non temporal filter just to avoid to use a real temporal one
Keeping your way of jokes and also your smiley in positive mind ...

no "fight", just a "discussion" with maybe new experiences and results from you and me.
As it always was the spirit in our past discussions and real tests.
Reply With Quote
  #39  
09-01-2004, 11:09 AM
nicksteel nicksteel is offline
Free Member
 
Join Date: Nov 2002
Posts: 863
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
mpeg2Source("xxxxxxxxxxxxxxx.d2v") 
Crop(8,0,704,576) # for full screen 
#Crop(8,16,704,544) # for 1.85 
#Crop(8,72,704,432) # for 2.35 

Fluxsmooth() 
TemporalCleaner(5,10) 
Undot() 
DCTFilter(1,1,1,1,1,1,0.5,0) 

AddBorders(0,0,0,0) # for fullscreen 
# AddBorders(0,16,0,16) # for 1.85 
# AddBorders(0,72,0,72) # for 2.35 

Letterbox(16,16,16,16) # overscan=2
In DVD2AVI for NTSC Widescreen, I get

Left 0
Right 8
Top 58
Bottom 62
Width 712
Height 360

What should the Crop and AddBorders lines look like?
Reply With Quote
  #40  
09-01-2004, 11:12 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I already told you to read the manual !

http://www.avisynth.org/Crop
http://www.avisynth.org/AddBorders

Don't you think that using A LITTLE of your time to read it will prevent everyone here to spent some of their to answer to such "simple" questions ?

(note : your values are strange : DVD2AVI should cut on values divisible by 16 or 32).
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ant Movie Cataloge script problems black prince Computers 1 07-20-2004 07:17 PM
Avisynth: Movie was too blue? Bilal Avisynth Scripting 10 08-26-2003 08:55 AM
DVD2SVCD: Script to convert entire movie? TheDJ Video Encoding and Conversion 21 08-07-2003 11:57 AM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM
KVCD: AVS script much worse than the straight movie Bigswaffo Video Encoding and Conversion 47 06-26-2002 10:24 AM

Thread Tools



 
All times are GMT -5. The time now is 12:43 PM  —  vBulletin © Jelsoft Enterprises Ltd