Quote:
A 720x576 gots an active pixelarea of 702x576 at PAR 128/117(=1,094) (I do round these 702 to mod8 704!) 720x576 resized correct to PAR 1:1 square pixels TV state will become: 788x576! And as PAL only gots 768x576 the rest will "be out of bounds", means: Cropped. Quote:
And thats why I told that my next toDo will be 2 option checkboxes (2.35:1 and 1.85:1) for the resizing routine. Quote:
And I give you the answer that a simple resize from 720 width to 352 width (without cropping by 8 before) is wrong and will be endup in a wrong AR! Thats a fact. As 352 width is PAR 128/117 so it bases on an original "cropped to" 704 width ( PAR 128/117 ) ... so you defenitely have only two choices: a) The MS/FitCD way: Crop 720 to 704 and scale down to 352 b) Mencalc Scale 720 to 360 and Crop to 352 same result, same time, same quality ;-) And as you had a nice lunch Ill give you a nice aperitif: http://www.uwasa.fi/~f76998/video/co...nversion_table :) PS: Quote:
"strong spech" and therfore a resulting "argumentation" as I dont need to defend myself but the little rules as shown in the link above :D The relaxing thing is that we both know each other a bit "behind the wall" :lol: |
I use the Incredible's MenCalc scale, crop and expand values in the script of my KSVCD Express method.
Code:
:: ------ Aspect Ratio y Overscan ------- And I obtain allways good aspect ratio and good quality. I hope to be using the correct values... :) What is yours opinions? Thanks. -Maurus |
Quote:
That's always 4 values you won't have to change everytime :-) |
Yep, right .....
these calculated values are still results from the time when I did force vertical Macroblock alignment, but in a case of overscan=1 and 352x288/240 this would cause an ugly big border below at 16px height. So now they will be alignet vertically centered and that also be don by "-1" values in crop and expand as mentioned by Phil. |
I use only KSVCD PAL at 480x576 and my overscan factor is 2 (16 pixels), not 1.
This values are obtained in MenCalc. Are they correct? If no, what are the good values for my PAL KSVCD overscan=2? Not is correct still Mencalc? The correct values are the sames that I am using, but -1:-1 in the center values instead of 16:16? How about of position of noise filter? -Maurus |
All filters seem to be in good place IMHO.
|
If you cose an overscan of 2 wich is 16 than everytime its vertical & horizontal macroblock aligned cause of 16 pix borders added to each side and thats macroblock based.
Your Syntax would be: Code:
scale=480:576::0:9,crop=448:544:-1:-1,expand=480:576:-1:-1 |
Quote:
And for 4:3 LetterBoxed, I have this settings: Code:
scale=480:432::0:9,crop=448:432:16:0,expand=480:576:16:72 Thanks for all. -Maurus |
Why they shouldnt be correct?
Thats what I thought that THIS thread could cause confusing. ;-) In generall they are totally correct. And according to black borders they are totally correct for a 1.778:1 Source ... as we deal with overlayed overscan, so only overscan at the sides will be applied as in case of letterboxing already black bars are present on top/bottom. And the correct replacings to "-1" you can see on the example above. where at crop/expand the x and the y (from XXX,YYY,x,y) at "-1" do just say "centered". But I dont know the BIG DEAL about these -1,-1 as you already use MenCalc (copy&paste) and the x,y Settings are correct values, so the effective result will be the same. |
Ok, I'm here, but a little late :D
I guess I missed all the fun :lol: I think Phil was indeed a little tired to understand that I was doing 2 overscan blocks ;) Anyway, as already has been verified, this last crop (or we can call it a final black "MASK"), will indeed kill any noise or filtering that is out of bounds. I can't see any speed difference, by adding or removing the "crop" before the final expand. But even with a noise=3th, which is just a very small value, the sample file size (video stream) was a tad smaller with the final crop. 5,038KB with final crop, 5,042KB without. -kwag |
Quote:
Inc explained that is just a feature not yet implemented but you seems to say that for you this is a normal situation and I can't agree :wink: Note: You are answering to Inc about speed but for sure the speed will be better if you cut out everything since the begining (as the working area for the filters will be smaller). Even if the speed gain won't be really big actually. |
Quote:
Please ignore the values I used, and try to focus on the problem. The problem is that if you don't do the final crop, you have stray noise OUTSIDE the film pixels area. That's a fact :!: I don't think that's too hard to understand, as you can clearly see it on the last screenshots I posted :roll: If you don't add the final crop, you will have noise outside the true film pixel area, causing a loss of final quality, because of additional noise being encoded outside the real movie area. Quote:
I also re-created the problem, by encoding with and without the final crop, and verifying that indeed, it's superior quality with the final crop, and the final aspect ratio is also identical. What's wrong with that :?: Quote:
-kwag |
Quote:
Quote:
And the results are perfect ;) -kwag |
I think Phil doesnt still meant the "overscan" situation, ...
He told that it would be more senseful if FIRST a cropping would delete all unneeded black parts OR not wanted picture area and then via scale and expand the process as a whole seems more elegant/logic. Well .. in relation to "cosmetic" I do agree that a second crop is not elegant, BUT till a new resizing routine is written for Mencalc and as Kwag proofed that NO speed or Quality loss is the result, ... I think the solution is ok (for now, ... so I still see your point Phil! ). I do think there are much more other problems on mencoder so that THIS issue related to 2 times cropping is one of the tyniest problems. According to speed .... well Even if that 2nd cropping will cause 1/2 fps loss in speed .... I think there are so many users which dont use a CPU optimized build ... and that REALLY causes speed loss. I really see your Point Phil and its an issue we have to work on (and for shure me on Mencalc) .... but for now ... lets see the thing as a whole and therefore its speed/quality. |
So does this mean that we all have to watch a "noisy" black border area :?:
Because I can clearly see it in my TVs :!: I rather loose 1/2 FPS, and watch a clear picture without any noise outside the film area, than having very dim black bars shown. Is it only me that can see this effect :roll: Because it IS clearly visible, specially on a 60" TV set :!: -kwag |
Speed correction!
Correction, speed IS FASTER with the final "crop" :!:
Seems that the extra noise on the complete screen does slow down the process, so adding the last crop to mask around the FILM area, does speed up the encoding, at least by 1 to 2 FPS. Try it :D -kwag |
Another very sensible point in case of MencodeME/Packshot/ManualCommandline - Mencoder usage.
In here many users want "more than fast" the 100% of the potential of that encoder "mencoder". Lets see it like that .... CCE (and also its fast speed) is EVERYtime used via Avisynth .... and for SHURE avisynth even lets CCE going down to its knees if heavy routines are used. CCE doesnt got an internal resizer so Avisynth is more than needed. Conclusion ... even if a second crop is used .... the capability of internal resizing of mencoder makes it avs independand and thats causes speed advantage! So I dont see in here the situation why something should be "stupid" we're doing here .... all our techniques are approaches. Show me another place where that "mencoder" subject is treaten that intensive as in here ;-) No matter if some apps are build by me or VM .... seen as a "whole" we in here do made many experiences, build apps ... and so on. And if I do see the situation ACTUALLY .... Im very happy with the things we "all" already made now and how the things do work. The rest is a matter of time :) This post was not adressed to someone, its something general do I think. ;-) |
Quote:
But I also do see that it "could" be more elegant to find a resizing solution where the picture will be pre-processed more elegant, so the noise also in such a case would be added optimal (like now). But ... I do now have other things in "ToDo" wich are more importend to solve than cosmetics related to a commandline which wouldnt give a final difference ;-) ot adressed to someone! but said as my point of view. BUT ... as it works and we do not suffer from speed loss or quality (the last one for shure) ... its ok. Thats what I meant: As both ways give correct outputs ... for now we can "live" with that ;-) |
Quote:
I just verified that with the last crop, the final size in a 1-pass is smaller, meaning that on a full 2-pass encode, there are more bits available to the film area, that are not being wasted on the black bars :!: Quote:
Do you remember the issue that SansGrip recommended using LegalClip() before and after the filters :?: Well, this is exactly the same, as the first crop takes care of the initial cropping, and the last crop removes anything that is outside the film area. Just as LegalClip() removed any levels faults that any filter could have introduced. I see it as a "PRE" and a "POST condition, which indeed is a VERY "elegant" programming practice :) (At least on Eiffel language. Called "Programming by contract" ;) ) -kwag |
Quote:
-kwag |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.