Quantcast BlindPP Mod 16 Error - digitalFAQ.com Forums [Archives]
  #1  
01-27-2004, 02:52 AM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
I kept getting error mod16 error so i went back and read that sources have to divisible by 16, But then did math and my source(720x28 (as well as template 508x480) can divided by 16

I check script and the only thing that seems out the norm is the add borders(cause I did it ) line(but oddly enough line 3 is the 1 that gives me the porblems).

Can't really get it (left,top,?,? what are those numbers represent) I took guess and thought it was orginal res.

So here is my mess(oh yeah this v4 script for all wondering):

Code:
AviSource("C:\Documents and Settings\Big2HD\My Documents\My Videos\.avi",false) 
AddBorders(45,18,720,288)
BlindPP(cpu=4) 
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1) 
Convolution3D(1, 6, 12, 6, 8, 2.8, 0) 
GripCrop(508, 480, overscan=1, source_anamorphic=false) 
GripSize(resizer="LanczosResize") 
Undot() 
TemporalSoften(2,7,7,3,2) 
DCTFilter(1,1,1,1,1,1,0.5,0) 
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623) 
GripBorders()
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
  #2  
01-27-2004, 03:51 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:
Code:
AviSource("C:\Documents and Settings\Big2HD\My Documents\My Videos\.avi",false) 
AddBorders(45,18,720,288) 
BlindPP(cpu=4)
WOW! You did addborders in a mega wrong way and a wrong place in the script!
I assume you meant Crop(x,y,xx,yy) ???!!!
Because your avi should be cropped to mod 16 in height and width.

So do tell us the effectve size of your avi source "untouched" in original state.
Reply With Quote
  #3  
01-27-2004, 04:14 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 Big2hd
Can't really get it (left,top,?,? what are those numbers represent) I took guess and thought it was orginal res.
I guess you can read ?
Quote:
you can use "Addborders(left,top,0,0)" to adjust the size (the idea is to reach the next value that is divisible by 16).

Example : source is 636 * 477, you need to change it to 640 * 480 (640/16 = 40; 480/16 = 30). So just add this after the line Avisource :
Code:
AddBorders(4,3,0,0)
Here your source is already mod 16 (as you said) so you do not need any addborders line.

In fact you had a wise thought but didn't follow it :
Quote:
the only thing that seems out the norm is the add borders(cause I did it )
Everything is in the bold part.

Note: 508x480 ?
Reply With Quote
  #4  
01-27-2004, 02:04 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
a simple remove add borders would of been cool (guess I should of suspect that from you ) but thx anyways.

But now I'm getting my orginal error(the reason I came here read problems about V4 and V3 scripts cause did two movies perfect yesterday) and it is :

Code:
BlindPP: Work in YV12 workspace
I added YV12 to it (worked for convoluntion3d awhile back, but i know why now ) but a no go

Quote:
Note: 508x480 ?
what tha heck does that mean dude, it is the res for kvcdx3 template, is it bad or what? just say it dude you already know I'm near the point of retardation
Reply With Quote
  #5  
01-29-2004, 01:56 AM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
uhhh you still haven't answered question there dialhot(you did make this script by yourself right?), so let me rewind situation(cause now I have new source with same problem 480x360 is orginal res):

In little sticky above it says if source is not divisible by 16, you have to add borders to avisource like so:

Code:
AddBorders(4,3,0,0)
What do numbers represent( I think 1st 2 or the divsion answer of res, the last 2 have no clue), and where exactly do you put the add borders command

Here is my script as where it stands now:

Code:
AviSource("C:\Documents and Settings\Big2HD\My Documents\My Videos.avi",false) 
AddBorders(2,23,480,368)
BlindPP(cpu=4) 
Blockbuster(method="noise",detail_min=1,detail_max=3,variance=0.1,seed=1) 
Convolution3D(1, 6, 12, 6, 8, 2.8, 0) 
GripCrop(352, 480, overscan=1, source_anamorphic=false) 
GripSize(resizer="LanczosResize") 
Undot() 
TemporalSoften(2,7,7,3,2) 
DCTFilter(1,1,1,1,1,1,0.5,0) 
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623) 
GripBorders()
Reply With Quote
  #6  
01-29-2004, 02:24 AM
Critter Critter is offline
Free Member
 
Join Date: Jun 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
360/16=22,5 => 23x16=368 => 368-360=8 => 8/2=4

Now add top 4 and bottom 4 then you get command:
AddBorders(0,4,0,4)

Am I right ?
Reply With Quote
  #7  
01-29-2004, 04:46 AM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
awesome, thx critter

I know you got forumla posted there, but it is beyond me dude!

Can post how you did that I still don't understand, in case(most likely will) comes up again.

thx in advance

edit nevermind lol i got ya I think didn't say above subtract both thx again, however you mind telling what all four numbers represent?
Reply With Quote
  #8  
01-29-2004, 05:51 AM
Critter Critter is offline
Free Member
 
Join Date: Jun 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Big2hd
however you mind telling what all four numbers represent?
AddBorders(left,top,right,bottom)

Couple of examples:

If I have video which is 480x480 and I add
AddBorders(1,0,1,0)
My video will be 482x480.
This will add black border left and right with the specified widths (in pixels).

If I have video which is 480x480 and I add
AddBorders(0,1,0,1)
My video will be 480x482.
This will add black border top and bottom with the specified widths (in pixels).

You got the point ?
Reply With Quote
  #9  
01-29-2004, 06:13 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 Big2hd
however you mind telling what all four numbers represent?
RTFM

C:\program files\avisynth25\doc
or http://www.avisynth.org/index.php?page=AviSynthManual

All is there.
Reply With Quote
  #10  
01-29-2004, 10:18 AM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd


thx critter for exp very helpful
Reply With Quote
  #11  
02-09-2004, 03:20 PM
jonny_eh jonny_eh is offline
Free Member
 
Join Date: Jan 2004
Location: Canada
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
You should seriously thank dialhot too, I thought he was being quite helpful. You seem very ungrateful. You should learn to learn on your own a bit too. If you have questions about a common function (that most people seem to know how to use) look it up in the manual. These are busy and brainy dudez here and can't hold EVERYONEs hand (as much as I'm sure they'd love to). I bet they've answered this same question 30 times already.

Oh well, good luck!
Reply With Quote
  #12  
02-10-2004, 11:15 PM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
is it possible to have the max width without losing
left,right of the picture?

this avi is 480X280
so i put AddBorders(0,4,0,4) in v4 script.
target 352x240.
how about
LanczosResize(336, 192, 0, 4, 480, 272)
AddBorders(8, 24, 8, 24)
instead of gripcrop?
thnks
Reply With Quote
  #13  
02-11-2004, 04:26 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 wgamer
how about
LanczosResize(336, 192, 0, 4, 480, 272)
AddBorders(8, 24, 8, 24)
instead of gripcrop?
We always give the scripts here with gripcrop because as you can see few post above some are too slow to understand how to add one and one.
But, in our personnal conversions, we never use gripcrop. So go for using lanczosresize directly

Note: the prob. is that without croping of the sides, you probabaly screw up a little more the A/R (see the error % given by Moviestacker).
Reply With Quote
  #14  
02-13-2004, 09:58 AM
wgamer wgamer is offline
Free Member
 
Join Date: Jan 2004
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
u guys rock

finished off two kvcds (approx 700 mbs with cq 90) using dialhot's script


just a question-can i use
the noise filter in tmpeg
Reply With Quote
  #15  
02-13-2004, 10:50 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 wgamer
the noise filter in tmpeg
Nom It sucks compared to avisynth filters.

The script is already full of denoiser !
Reply With Quote
  #16  
02-25-2004, 02:58 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
Quote:
You should seriously thank dialhot too
uhh why? critter response was better and more informative then read the F!@#ing manual , not saying answer wasn't there but alot different then some1 giving well designed example so if when another problem exists like this i don't have have my "hand holded" like you put it

Quote:
You seem very ungrateful.
yeah i'm so ungrateful that 90% of the time thx is the last thing I say

Quote:
These are busy and brainy dudez
probably but had enough time to "reply"

Quote:
I bet they've answered this same question 30 times already.
Uhh no actually 1 time, There no debate that question was explained, its that i wanted further explanation cause i didn't quite understand some aspects.(if you actually read around i was talking about v4 script were it gives minor explanation of problem)

But hey thanks for the manual Phil "give a fish to man he'll eat for a day, teach him to fish he'll eat forever"
Reply With Quote
  #17  
02-25-2004, 03:20 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Big2hd
Quote:
These are busy and brainy dudez
probably but had enough time to "reply"
Because maybe, just MAYBE you should really
R.T.F.M.
Or did you miss the title of this forum:
Advanced Video Conversion



I think dialhot's answer was just perfect and to the point, and if you do a little "search", you will actually find answers to just about every question you've asked over and over again

-kwag
Reply With Quote
  #18  
02-26-2004, 01:10 AM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
Well as if i care(this was sooo long ago it's funny) anymore, the point is simple: A brief explanation was more helpful than read "rtfm" i don't think anyone can argue with that (i'm sure would not like if they had "simple" question like mine got read rtfm). It's really not hard ignore some1 if you really didn't want to answer/reply.

We be kidding ourselves if it wasn't fueled by another incident, so just drop it cause I apologize more than enough.

Btw i made over 50 standard vcds and probably twice as many kvcds so spare your "Advanced Video Conversion". I may not be as "Advanced" as you or tha great minds in here but I can hold my own, just sometimes like all you hit bump in tha road I come here for detour, don't wanna help get your a!@ of tha road!

Btw again didn't say thank you for f!@king manual(need to read a lil bit)!!! You know what f!@k it I promise ya'll this will be last place i come if I need help with problem cause this is ridiculous!!
Reply With Quote
  #19  
02-26-2004, 03:58 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 Big2hd
Well as if i care(this was sooo long ago it's funny) anymore, the point is simple: A brief explanation was more helpful than read "rtfm" i don't think anyone can argue with that (i'm sure would not like if they had "simple" question like mine got read rtfm).
Your question :
Quote:
Code:
Code: AddBorders(4,3,0,0)
What do numbers represent( I think 1st 2 or the divsion answer of res, the last 2 have no clue)
My answer :
Quote:
What manual says :
Quote:
AddBorders
AddBorders(clip clip, int left, int top, int right, int bottom [, int color])

AddBorders adds black (or specified color) borders around the image, with the specified widths (in pixels). YV12/YUY2 format only stores color information for every two pixels horizontally, so if you're processing in YV12/YUY2 mode, left and right must be even.
So, even if it gives you pain in the ass, "RTFM" was really the answer to your question. That's a fact.

But as usual you are too lazzy to do things by yourself and you expected for someone to click on the link I pointed and copy/paste for YOU the part of the manual there. That's also a fact.

Sorry we are here to help people, not to make things for them. You have a problem with that ? It'll be a pleasure to never see you again so. We can live without your dumb posts. And you, will you live without our answers ? Not sure...
Reply With Quote
  #20  
02-26-2004, 01:00 PM
Big2hd Big2hd is offline
Free Member
 
Join Date: Jul 2003
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Big2hd
Quote:
And you, will you live without our answers
some1's on a powertrip , i will cause you know what they're are a few people here that are nice(can take a joke as well) and don't hold grudges, so question here is "Can I live without Your answers" the answer is yes pal.

Quote:
So, even if it gives you pain in the ass, "RTFM" was really the answer to your question. That's a fact
for the third time cause it seems no one wants to read I said the d!@n manual was helpful!!!

Quote:
But as usual you are too lazzy to do things by yourself and you expected for someone to click on the link I pointed and copy/paste for YOU the part of the manual there. That's also a fact
i swear you have filter on the brain, for second time i think, i just wanted a example of the thing so i can better understand it so if problem came up again, You know how in math problem gives explanation of rule or problem and shows example.(they do have math there in france )

Quote:
Sorry we are here to help people, not to make things for them. You have a problem with that ? It'll be a pleasure to never see you again so
really?, plain and simple i didn't have problem with you saying "rtfm"
I just like critter's explanantion cause it was get this it was "more helpful". And why reply when he already answer anyways now that i think of it.

I think you need to stop living in past and go on with future dude, I made mistake get over it I said all the sry's I'm gonna. I think you ounce again misread my post, I'm only gonna come and question here unless it is an absolute needed. Some gonna debate whether I've been doing that but all i can do is live in the now peace out.

thx for all that continue to help I plan earn your trust by helping out in everyway I can do. It's not much but it's the least i can do.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Error with DVD2SVCD BlindPP: Need mod 16 width eugenioturco Video Encoding and Conversion 3 03-03-2006 04:37 PM
Avisynth: Blindpp error? vdk_au Avisynth Scripting 43 04-08-2004 09:26 AM
BlindPP Error Aielman Video Encoding and Conversion 1 02-24-2004 08:25 PM
BlindPP error - mod16 height? zes Video Encoding and Conversion 8 10-10-2003 10:07 AM
Blindpp en script optimo avi envia error ginger_c0918 Convertir y Codificar Video (Español) 0 09-25-2003 11:49 PM

Thread Tools



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