digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: 16:9 from dvd sources and overscan? (http://www.digitalfaq.com/archives/avisynth/9738-avisynth-169-dvd.html)

jorel 05-19-2004 10:54 AM

Avisynth: 16:9 from dvd sources and overscan?
 
hy all!
:wink:

doubts,doubts.... :?

first
if my dvd source is anamorphic 16:9, and if i use overscan(1,2 or 3) it give more compression and i can see more in the left/right of the image but...
(always have "but")...it encrease the size of the blackborders on the top/bottom, then....
:arrow: what's the real gain if we loose more in the top/bottom then gain in right/left :?:

second
encoding that source 16:9 without any resize but using only filters in the script, it will show like the original aspect radio dvd or "egg head" in tv :?:

incredible 05-19-2004 11:36 AM

I "think" we can have in here a clear suggestion for diff. movie sources:

So IMHO the best compromise would be:

- In case of a 1.77:1/1.85:1 movie a "resized" overscan by 2(16px) for those movies with a width's down to 480 and a resized overscan by 1(8px) for those movies with a width of 352 .... no matter if PAL or NTSC.

- In case of a 2.35:1 (widescreen/Cinemascope) movie an "overlayed" overscan by 2(16px) also here for those movies with a width's down to 480 and also an "overlayed" overscan by 1(8px) for those movies with a width of 352 .... no matter if PAL or NTSC.

Because EVERY stream on Tv will be resized to 768x576 at PAL (625 Lines@50Hz) and to 640x480 at NTSC (525 Lines@~60Hz) .... thats called TV "Pixel"-AR.

So u can assume: the smaller a encoded stream size is (no matter if width or height) the more it will be sized up finally and by this also its applied overscan area IN THE SAME RELATION! So as a 352x480 stream will be resized on TV by 200% to each direction to become the needed 640x480 ... then also a 8px overscan Border will become its double size on your TV set afterwards! Youe see? ;-)

For assurance you can do a safety test by temporary! applying at the very end of your generated Avisynth script a "bicubicresize(640,480)" and preview it in Vdub, that will be the sate then how it will look on your NTSC TV set .... in case of PAL, well as expl. above do add temporary! "bicubicresize(768,576)".
If everything is ok ... delete that just added last Bicubicresize line ;-)


According to your second question ... I hope I did understand it well.
IF you encode an ANAMORPH movie still ANAMORPH then the setted flag "16:9" at encoding settings will add the needed information to be played back well on your SAP afterwards :D

jorel 05-19-2004 05:28 PM

great hints ink:
"applying at the very end of your generated Avisynth script a "bicubicresize(640,480)" and preview it in Vdub, that will be the sate then how it will look on your NTSC TV set .... " :wink:
i understodd your explanations and follw to see the preview in vdubmod before encode little samples to watch in tv!

then i encode a sample without overscan:
MPEG2Source("D:\DVD\toy story1.D2V")
LanczosResize(720, 366, 6, 0, 708, 480) # no overscan
AddBorders(0, 57, 0, 57) # no overscan
trim(10000,150000)

and another with overscan:
MPEG2Source("D:\DVD\toy story1.D2V")
LanczosResize(672, 334, 0, 1, 720, 478)# overscan 3
AddBorders(24, 73, 24, 73)# overscan 3
trim(10000,150000)

results in all tvs: correct aspect radio but with overscan i get more details
in the right/left but got BIG blackborders on top/bottom.
:arrow: i have gain in the right/left on the image but
:arrow: loose the image size in top/bottom more than i gain in left/right cos the blackborders top/bottom are too big :!: no matter if overscan is 1, 2 or 3!!!

in the preview in vdubmod show the same proportional differences in sizes with and without overscan but in tv is really big differences!
i can't see advantages in get 2 cms in right/left and loose ~10 cms in the image top/bottom 8O
what is the real gain!?!?!?

the second answer i don't understood and i encode a sample without resize:
the result is anamorphic(egg head) in tv....please ink be patience and explain me again! :oops:
thanks !
:wink:

Dialhot 05-19-2004 06:40 PM

Quote:

Originally Posted by jorel
the second answer i don't understood and i encode a sample without resize:
the result is anamorphic(egg head) in tv....please ink be patience and explain me again! :oops:
thanks !
:wink:

First, we must be precise on the words.

There is only ONE definition for "anamorphic" : this is a 4:3 "egg-head" picture compressed vertically during the play (by the TV set or by the DVD standalone when it reads a DVD only :!:) to be 16:9.

Knowing taht, if you want to have a correct picture on your TV you must have :

1/ A KVCD in MPEG1 or MPEG2 *but* you MUST have a anamorphic compatible TV ! That means a TV that can do this vertical compression.

or

2/ A KDVD encoded in MPEG2 *but* you must ask to tmpgenc to set the "anamorphic" flag ON. This flag will tell to the TV that it has to compress the picture.
To activate the flag, you must chose "16:9 display" in the "destination aspect ratio" setting of tmpgenc.

jorel 05-19-2004 08:21 PM

:bawl:
oh my God,please,give me better english!

Phil,
i did this samples in CCE and not in tmpgenc
i know that you know but do me a favor:
load this 2 scripts in vdubmod and see the size of blackborders on top/bottom:

LanczosResize(720, 366, 6, 0, 708, 480) # no overscan
AddBorders(0, 57, 0, 57) # no overscan
and
LanczosResize(672, 334, 0, 1, 720, 478)# overscan 3
AddBorders(24, 73, 24, 73)# overscan 3

see how the black borders encrease in size using overscan?
this is what i'm trying to show!
the gain on left/right is small comparing with the loose in top/bottom.

see that "fantastics" ilustrations:

with script 1 in vdub or tv:
---------------> blackborder top
---------------> blackborder top
no overscan


--------------> blackborder bottom
--------------> blackborder bottom



with script2 in vdub or tv
--------------> blackborder top
big blackborder
--------------> blackborder top
overscan

--------------> blackborder bottom
big blackborder
--------------> blackborder bottom

i'm still unclear? :?

Dialhot 05-19-2004 08:36 PM

Quote:

Originally Posted by jorel
see how the black borders encrease in size using overscan?

Yes, but taht is normal :-)

Quote:

this is what i'm trying to show!
I hope you noticed that overscan 3 is TOO MUCH. You take thios only for your demonstration, do you ?

Quote:

the gain on left/right is small comparing with the loose in top/bottom.
But you do not loose anything. The picture is smaller (black borders are bigger) but you still have all the pixels.

Qhat do you mean by "the loose" ?


Quote:

see that "fantastics" ilustrations:

with script 1 in vdub or tv:
---------------> blackborder top
---------------> blackborder top
no overscan


--------------> blackborder bottom
--------------> blackborder bottom



with script2 in vdub or tv
--------------> blackborder top
big blackborder
--------------> blackborder top
overscan

--------------> blackborder bottom
big blackborder
--------------> blackborder bottom

i'm still unclear? :?
A lot ! I didn't understand anythign to those lines !

jorel 05-19-2004 09:41 PM

Quote:

Originally Posted by Dialhot
A lot ! I didn't understand anythign to those lines !

suspeitei desde o principio...(i knew) :lol:

see that sizes inside this 2 "quotes":
Quote:

Originally Posted by jorel
this is the size of the blackborders without overscan(paint it black like rolling stones)

Quote:

Originally Posted by jorel

this is the size of the blackborders with overscan(paint it black like rolling stones)

Quote:

Originally Posted by Dialhot
I hope you noticed that overscan 3 is TOO MUCH.

yes Phil, this is only ilustrative but no matter if we choose 1, 2 or 3, the blackborders are always bigger than without overscan!

Quote:

Originally Posted by Dialhot
But you do not loose anything. The picture is smaller (black borders are bigger) but you still have all the pixels.

of course we loose,we still have all pixels but :arrow: the picture is smaller :arrow: and the blackborders encrease.
we see more of picture in left/right but the total (area)size(x,y) of the PICTURE :arrow: is smaller with overscan!
:arrow: we see less PICTURE inside the same size of the screen!

this is what i'm talking about, this means "loose" for me :!:
what is the real gain if get centimeters on the right/left but loose much more in the top/bottom of the PICTURE?
:?
i was a liitle clear now?

and more:
"egg-head" is where my brain try to live!
:rotf:

Dialhot 05-19-2004 10:11 PM

Quote:

Originally Posted by jorel
:arrow: we see less PICTURE inside the same size of the screen!

Jorel I really do not see your point !
You just discover what is the overscan or what :?: :?:

Overscan 1 = a border of 8 pixels IN ADDITION TO THE ONE THAT ALREADY EXIST.

overcan = 2 -> 16 pixels. overscan = 3 -> 24...

As the resolution of the TOTAL picture must be 704*480, the more you add pixels to the border, the less you have for the picture itself !

I really do not see what is new or complicate in this.

Quote:

this is what i'm talking about, this means "loose" for me :!:
what is the real gain if get centimeters on the right/left but loose much more in the top/bottom of the PICTURE?
The gain is that this centimeters that you gain on the left/rigt are centimeters of PICTURE that you lost before.

This is YOU that always wanted to NOT lose ANY PIXELS of the picture ! I always told you than you should use OVERLAP that is A LOT BETTER than overscan when doing DVD -> DVD jobs.

Dodn't you remember this thread we already had ?

:?
i was a liitle clear now?

and more:
"egg-head" is where my brain try to live!
:rotf:[/quote]

jorel 05-19-2004 10:54 PM

changing the target:
yes Phil i remeber that thread but i only see more black border on right/left using overlap(2) like in this sample:

LanczosResize(720, 366, 6, 0, 708, 480)
AddBorders(0, 57, 0, 57)
LetterBox(0, 0, 16, 16) # overlap only put this line that give blackborders and take part of the picture then i loose 32 pixels on right/ left! why is better?

turning worse?

Crackhead 05-20-2004 07:26 AM

the actual frame size on tv is 768x576(Pal)/640x480(Ntsc), but you won't see all these 768/640 horizontal pixels because some of them fall into the overscan area of the tv.
So why should you keep these pixels, when you won't see them?
the real intention of overscan/overlap is to cut the area of the movie which you won't see on tv and add black borders instead. That saves bitrate for the visible movie area.

just downsizing the movie won't give you any advantages, but having a smaller picture and bigger black borders top and bottom...
so you have to crop more of the left/right in your script to get the wanted effect!

i'm not an expert, so plz don't blame me when anything is wrong, just correct me :P

jorel 05-20-2004 08:30 AM

:arrow: crackhead wrote:
"just downsizing the movie won't give you any advantages, but having a smaller picture and bigger black borders top and bottom... "
:encore: exact what i wrote :!:

we got wrong informations about aspect radios,ntsc and pal,borders,etc.
if you all want a good reading,please follow that links (too big):
http://www.uwasa.fi/~f76998/video/conversion/

:arrow: see the last picture in the bottom of that page....is exact what i try to show...to see -270 pixels you need a big blackborder to got a perfect AR:
http://www.hometheaterhifi.com/volum...vember-99.html

and more:
ntsc and pal differences are always posted wrong!
B,G/PAL - 625 - 50 (Europe)
M/NTSC - 525 - 59,94 (and have differences in Japan)
M/PAL - 525 - 59,94 (Brasil)
N/PAL - 625 - 50 (Argentina.Uruguai,Paraguai)
see that PAL is the color system and not the STANDARD and in STANDARD M we call as 60 but the truth is 59,94..then our reference is wrong.
the differences between PAL and NTSC are the STANDARDS and the COLORS SYSTEMS!

take a look here:
4.5 It still does not make any sense. For starters, all the 525/59.94 equipment I have only works in 720×480, not in 720×486 (and definitely not in 711×486)! How do you explain that?
http://www.uwasa.fi/~f76998/video/conversion/#4.7

:arrow: then we always got wrong informations but what i really want is in the next post!!!

jorel 05-20-2004 08:43 AM

@ Phil,ink, Kwag,Boulder, V(gold star), ....all,

help me please....tv was my work and i understand all like in the links that i posted....i can read(i knew it all a long time) but i can't write, understand me?
:oops:

what i really want is a script that show the exact blackborders in tv
:arrow: exact like i see the dvd source in tvs, no more or less blackborders
...nothing more!

of course...one script for 4:3 and another for 16:9 to do my KDVDS :!:

can you :?: ..please?

Dialhot 05-20-2004 09:44 AM

Quote:

Originally Posted by jorel
what i really want is a script that show the exact blackborders in tv
:arrow: exact like i see the dvd source in tvs, no more or less blackborders
...nothing more!

So do NOT use ANY resize, crop or add border line of any kind !

Remove all lines concerning that points and you will have EXACTLY the same picture that with your DVD.

Thats exactly what I told you since WEEKS in telling you to just use overlapping ! The overlap is just to put black borders on the part that AREN'T DISPLAYED by the TV. Thats DOES NOT MAKE YOU LOSE ANYTHING as this part is never saw on your DVD but you will gain in compression.

jorel 05-20-2004 11:55 AM

Phil wrote:
" The overlap is just to put black borders on the part that AREN'T DISPLAYED by the TV."
(ˇEs exactamente lo que iba yo a decir!) :lol:
and
"Thats DOES NOT MAKE YOU LOSE ANYTHING as this part is never saw on your DVD ..."
this i knew . (ˇLo sospeche desde un principio!)

"...but you will gain in compression."
:arrow: this i don't knew !!! :wink:

Phil wrote:
"So do NOT use ANY resize, crop or add border line of any kind !
Remove all lines concerning that points and you will have EXACTLY the same picture that with your DVD. "
ok..i encode samples loading only source to watch in tv.
( ˇNo contaban con mi astucia! )

the toy story2 (4:3) show perfect AR without resize in tv:!:

the toy story1 (16:9) show WRONG AR without resize in tv :!:
the original dvd HAVE blackborders and in the encodes without resize is "egg head" without blackborders.
(ˇTodos mis movimientos están fríamente calculados!)

:arrow: this is the point Phil, what i do in this case :?: :?:
:?

incredible 05-20-2004 12:40 PM

Quote:

Originally Posted by jorel
we got wrong informations about aspect radios,ntsc and pal,borders,etc.
if you all want a good reading,please follow that links (too big):
http://www.uwasa.fi/~f76998/video/conversion/
and more:
ntsc and pal differences are always posted wrong!
B,G/PAL - 625 - 50 (Europe)
M/NTSC - 525 - 59,94 (and have differences in Japan)
M/PAL - 525 - 59,94 (Brasil)
N/PAL - 625 - 50 (Argentina.Uruguai,Paraguai)
see that PAL is the color system and not the STANDARD and in STANDARD M we call as 60 but the truth is 59,94..then our reference is wrong.
the differences between PAL and NTSC are the STANDARDS and the COLORS SYSTEMS!

Jorel, jorel ,jorel 8)

We DID NOT GET wrong informations when doing our resizing and as you see No matter if you call it NTSC or PAl ... what counts is the ACTIVE PIXEL AREA of the movie! And that active pixel area of the movie is defined ALSO by mainly the frequency the TV set builds sthe lines and in your case it is approx. 60hz = 60 fields = approx. 30fps which is correct said 30 fps at 525 lines @ 60hz by 1000/1001 = 29.97 fps!

You cant say we did wrong as Moviestacker AND fitCD took THAT site above as reference!

SO what mainly counts is the PixelAR and NOT the Movie AR, cause the resizing (if the Movie AR is keeped) will base totally on these Pix AR's

So as said a 768x576 or 640x480 got a Pix AspectRatio of 1:1 means it will be shown as it is as the pixels at 1:1 state are in TV square pixels state, that means you can just resize that 768x576 to 702x576 which does make the image QUADRA Pixel based and that at a Pix AR of NOT 1:1 but therefore 128/117 (in case of PAL i.E.) ... check that in your quoted link and you'll understand.
So example:

768x576 = 1:1

702x576 = 128/117 (=1,09401)
so the TV does the following ... 702 x (128/117) = 768!

Nope I didnt mistyped the 702! as that would be most correctly but as mpeg bases non MOD sizes it was MODrounded up to 704 ;-)

Now lets do another calculation:

480x576 gots a Pix AR or 128/78 !

So IF you resize from 768 width to SVCD size, the ACTIVE pixel area wont be 480x576 !!!!! Nope ..:
768 / (128/78 ) = 468 !!!

So the EFFECTIVE PIXEL area of a PAL SVCD Stream IS 468x576 ! (proofed in the link you posted above) Means you got 6+6 Pix in the Width which wont be seen on TV no matter if overscan setted or not (even if a PAL tv wouldnt have an overscan area) cause these will go out of the 768 width, means they will out off TV size offset!

If you would take a stream of 480x576 (whole width gots movie info)
Then the movie info of that stream would be resized on tv like this:

(480 x (128/78 )) x 576 = 787 x576 ... you see 6px on each width border/edge encoded movie information for NOTHING!
:lol:

So you would ask ... "Why can FIT CD or Moviestacker do output in case of SVCD Target 480x576!!!"

Very easy ... the stream resizing calculation is like this:

First resize (internal, not inavisynth as we talk about claculation in here ) to Correct Pix AR, means to 468x576 .... so the user WANTS the 480 width, ... means calculating the image PROPORTINAL to 480x592 and cropping then the top and bottom so it gets 480x576 again ;-)

Means in case of a captured PAL 704x576 input:

DO use 468x576 incl. 6px+6px black borders if no overscan is choosen cause THIS AVOIDS vertical scale interpolation! And even with all this you still would see only the 468x576 ... so its NOT worth!

Now you say whats about 720x576 (PAL DVD Sources) ...
ok, lets calculate

720x576 gots a Pix AR of also 128/117

So lets get that baby to final 1:1 Square Tv pixels:

720 x (128/117) = 787,69 means 788 x 576 8O
And as our PAL Tv only can display 768x576 .... you can assume why it DOESNT make sense to re-encode at 720x576 for TV purposes!

And thats also the reason WHY a direct simple rescaling to 480x576 out od the 720x576 does NOT output a wrong AR. But still these 6+6 px in your SVCD Stream wont be seen defenitely even if your TV wouldnt have an overscan area!

So a total correct "effective" resizing from 720x576 to 480x576 would be:

taking the 720 and crop on each side 8px as you saw above that these px will be OUT OF TV area. So that would end up in 704x576 by keeping the correct 128x117 Pixel AR. Then we do simple resize these 704x576 to 468x576 and add 6+6 px black borders at the side, voilá.

You can compare all that using the link above you posted AND for shure if doing these resizing in FitCD. But should set (only for testing) "No Cropping" and modify the resized height that much till the "error:XXX" will be as small as possible ... then you really see how it resizes internally AND WHAT will be cropped in effective ;-)


Now my fingers do hurt!!!! :lol:

Dialhot 05-20-2004 02:02 PM

Quote:

Originally Posted by jorel
the toy story1 (16:9) show WRONG AR without resize in tv :!:
the original dvd HAVE blackborders and in the encodes without resize is "egg head" without blackborders.

Jorel, read again my post from 4:11 am. I explained you all there.

You missed that point :
Quote:

1/ A KVCD in MPEG1 or MPEG2 *but* you MUST have a anamorphic compatible TV ! That means a TV that can do this vertical compression.
I explain again :

- you have a TV that is 4:3 and you are playing a DVD that is anamorphic . Then the DVD PLAYER compresses vertically the picture, adds borders , and send to the TV a picture with a correct A/R.

- when you want to play it ON A KVCD the player DOES NOT ADDS THE BORDER because these feature works ONLY when you are playing a DVD, not a VCD.

If you do not have a TV that can do the job that is not done by the DVD player then YOU CAN'T have a KVCD that respect exacly what you see on your original DVD.

See the post of Inc to understand the reason of this impossibility.

jorel 05-20-2004 03:22 PM

in parts cos your post is too big ink:
you wrote:
"We DID NOT GET wrong informations..."
i was not talking about "ACTIVE PIXEL AREA" but was talking about AR!
from the link that i posted:
1.1 The dirty little secret revealed

Tutorials and manuals usually tend to keep very quiet and secretive about the finer technical details of digital video, particularly when it comes to the topic of (pixel) aspect ratios and image geometry.

Even if converting (resampling) video clips to other resolutions is discussed, the accompanying explanation is usually troublingly simplistic and vague – often inaccurate and misleading – and sometimes the suggested methods are just plain wrong. It is not uncommon that the examples only deal with arbitrarily chosen ("x pixels by y pixels") frame dimensions and use ideal frame aspect ratios such as 16:9 or 4:3 as the basis for calculations – not the actual pixel aspect ratios – which is usually a good indicator that the writer may not actually take the real image geometry into account at all.

It is almost as if the whole aspect ratio issue was considered some sort of dirty little secret of the video industry; black magic you could not even begin to explain to mere mortals in reasonable terms. This is a shame. In this case, there is really more to it than meets the eye. Confusing people with incomplete and watered-down explanations does not do any good to the industry.

Now that you have read this far, it is time to reward your effort with The Third Big Revelation about aspect ratios and frame sizes - the one that is usually left unsaid:
:arrow: Not a single one of the commonly used digital video resolutions exactly represents the actual 4:3 or 16:9 image frame.
Shocking, isn't it? 768×576, 720×576, 704×576, 720×480, 704×480, 640×480...
:arrow: none of them is exactly 4:3 or 16:9; not even the ones you may conventionally think as "square-pixel" resolutions.

So there. Now you finally know the truth. Let's find out what it actually means.

end of the "copy"

this is one of the "things" ink ! more will come ,let me read all in your post

:arrow: ink, seems OT but take a look:
using the same source (toy story 1 - 16:9) and the scripts from:

MovieStacker
mpeg2source("D:\ts1\1.D2V")
BicubicResize(720, 366, 0, 0.6, 6, 0, 708, 480)#from moviestacker
AddBorders(0, 57, 0, 57)#from moviestacker

FitCD
mpeg2source("D:\ts1\1.D2V")
BicubicResize(720,368,0,0.6,8,0,704,480)# from fitcd
AddBorders(0,56,0,56)# from fitcd

what script is wrong,what is right (if any) and why :?:

kiddin:
from my signature...
you have more than problems,
you have jorel questions :lol:

incredible 05-20-2004 07:16 PM

Quote:

Not a single one of the commonly used digital video resolutions exactly represents the actual 4:3 or 16:9 image frame.
Shocking, isn't it? 768×576, 720×576, 704×576, 720×480, 704×480, 640×480...
none of them is exactly 4:3 or 16:9; not even the ones you may conventionally think as "square-pixel" resolutions.

The SQUARE Pixel TV state resolutions got EXATCLTY 4:3! So no shocking at all :D

768/576 = 1.333333....
640/480 = 1.333333...
------------------------
4/3 = 1.333333...


16/9 = 1.7777777...

So 576x1.777777 = 1024! at 1:1 Square Pixel Aspect Ratio!... Means an Anamorph 720 DVD Source on a 16:9 Tv will have 1024x576 pixels ... thats the resolution freaky Divx backup makers do use in case of archiving max divx Movieresolutions at 1:1 PixelAspectratio.

576/1.3333 = 432 = the new height of an anamorph to non anamorph resized stream where 72+72 px borders will be added (letterboxing).

Jorel, to me it seems you still misunderstand the difference between Movie AR and Pixel AR

Movie AR is how the Movie will have its proportion afterwards on Tv, so just Fullscreen 4:3 (1.33:1 filled out), or in a VIEWABLE 16:9 (1.78:1 / 1.85:1) proportion (black bars top/bottom) ... or even Cinemascope (2.35:1 .. within a 4:3 Tv Set means even bigger Borders).

ALL other Resolutions you showed above do have a different PIXEL AspectRatio compared to 1:1 square Pixels, but as Phil explained, the SAP will "stretch" them to correct 1:1 .... and by this you will get that squeezed KsVCD shown correctly on your TV.

;-)

According to your scripts... did you performed in DVD2AVI a cropping of the orig black borders??? As the resized Movie height where borders will be added to me on the first (fast) view seems to be a bit confusing.

:wink:

jorel 05-20-2004 08:14 PM

ink wrote:
"Jorel, to me it seems you still misunderstand the difference between Movie AR and Pixel AR "
no,i don't ...maybe my english show it but i know the differences! :wink:
and your explanations are cool!
:D

ink wrote more...and this is important:
"did you performed in DVD2AVI a cropping of the orig black borders...
...on the first (fast) view seems to be a bit confusing. "

for me is more than confuse ink...... 8O
:arrow: the vobs in dvd2avi DON'T have black borders( is egg head)
:arrow: but the original dvd in tv HAVE big black borders(no egg head).
script without resizes don't have blackborders(are egg head) like the vobs in dvd2avi
scripts from fitcd/moviestacker(little differences between progs) show the blackborders like(seamless) the original dvd(no egg head).
than my big doubt is if i use the script With resizes to show the image in tv like the original dvd OR without resizes like the preview in dvd2avi that don't have blackborders!?!?!?
it's not a question of my "taste" and this is driving me crazy!!! :?
i'm lost and don't know where i am, don't know where to go and don't know what i choose.....resize or not resize?
i'm in the middle of "don't know what to do".....not kiddin!
what i'm missing ink :? thanks in advance .

Dialhot 05-20-2004 08:57 PM

Quote:

Originally Posted by jorel
:arrow: the vobs in dvd2avi DON'T have black borders( is egg head)

Because the movie in the theater was originally in 1.85. Even if it should have a little border (16 pixel) but perhaps they cut it to do the DVD in 1.77 (true 16:9 A/R).
Quote:

:arrow: but the original dvd in tv HAVE big black borders(no egg head).
Because the DVD player adds it :!:
Did you read my posts or only Inc's ones ?

Quote:

script without resizes don't have blackborders(are egg head) like the vobs in dvd2avi
grrrrrrrrrrrrrr..............

Quote:

than my big doubt is if i use the script With resizes to show the image in tv like the original dvd OR without resizes like the preview in dvd2avi that don't have blackborders!?!?!?
Do you have a TV that can add the borders itself
YES OR NOT ?
In other words, does your TV handle anamorphic pictures or not ?
In other simpler words : can you force your TV in 16:9 mode or not ?

If not, for sure you MUST add these borders during encoding because they won't appears by god wish.

Quote:

i'm lost and don't know where i am,
Because you don't read all the answers you received !

Quote:

what i'm missing ink :?
My two previous posts :!:

jorel 05-20-2004 10:09 PM

Phil...
first:
:lol:

second....you wrote:
"Did you read my posts or only Inc's ones ?"
and
"Because you don't read all the answers you received ! "
i read everything that you wrote and not only on this thread but in everywhere
(less in French forum) and it not means that my poor english understand all!

more...you wrote:
"....because they won't appears by god wish. "
:rotf:

ending..you wrote:
"Do you have a TV that can add the borders itself YES OR NOT ?
In other words, does your TV handle anamorphic pictures or not ?
In other simpler words : can you force your TV in 16:9 mode or not ?"
YES and NO :!: :hihi:
one of my tvs can do that, the others don't!
THEN it's not a question of taste but a question of doubt !

see in my FIRST POST on this thread:
http://www.kvcd.net/forum/viewtopic.php?t=11053&start=0
Quote:

Originally Posted by jorel
encoding that source 16:9 without any resize but using only filters in the script, it will show like the original aspect radio dvd or "egg head" in tv :?:

:arrow: if you had posted that questions/answers for me there:
"Do you have a TV that can add the borders itself YES OR NOT ? ...
If not, for sure you MUST add these borders during encoding..."
......then i will got the solution from you in your first post on this thread!!!.
now is a question of my personal taste cos i see the movies in all tvs!
Phil,you was very clear ! ...and i(am clear now)?
:lol:
thank you very very much my friend!
:D
thank you too ink!
:wink:

jorel 05-21-2004 04:38 PM

what is anamorphic & anamorphic widescreen
 
what is anamorphic & anamorphic widescreen

magnific links posted by gerti67 in doom9:

http://www.dvdweb.co.uk/information/anamorphic.htm

http://gregl.net/videophile/anamorphic.htm

8)

Prodater64 10-16-2004 04:18 PM

Neither 528*576, nor 528-544/480 are showed in http://www.uwasa.fi/~f76998/video/co...nversion_table
What are the PARs for those resolutions?

Prodater64 10-16-2004 04:52 PM

But if movies in DVDs haven't black borders, what is the real heigh of movies.
For example, when I load "The Matrix" anamorphic PAL in VDMmpeg2 (i se it like egg-head in cropping window) I need to crop 78 pixels from top and bottom for get the "film pixel".
How can I know before loading a vob in any software tool, what is a DVD "film pixel" size.
I want to know this value to encode it at full screen. Do I need it? or there is another way?

And another 2 questions: 1 - Why when we select overscan in Moviestacker or Mencalc, it is setted all around the frame and not only on both sides?
2 - Why, agree with talked in this thread, crop is not always to 704*576? but to values don't showed in linked table.

Prodater64 10-19-2004 07:19 AM

@Incredible: Maybe you missed my last 2 post. Do you have an answer for that?

incredible 10-19-2004 09:50 AM

As you see in PAL 544x576 gots an active px area of 526.5 ... the same relation to ...

720x576 where 702 is the active px area.

So as 702 wont match MOD4 its encoded at 704.

... as 526.5 wont match MOD4 so here also its encoded to mod4 means 528.

So 544*(512/351) = 793px shown & overlapping on a PAL 768 screen
... 528*(512/351) = 770px shown & overlapping on a PAL 768 screen

... 526.5*(512/351) = NON MOD8 but matched 768 !!!

Means BOTH (528 and 544) got a PAR of 512/351

Recalculation using the mhz and µs values:

544x576 will be played back using 10.125mhz at 53.7284µs
Full PAL is 768x576, means 14.75mhz at 52.000µs

(53.7284/52.000) = 1.0332

So ... 768*1.0332 is 793.49 which is 544 desqueezed to PAR 1:1 PAL.
So 544/1.0332 = 526,51 !!!! The active Pict. Area of a 544 Stream.

PAR: 793.49/544= 1.4586
Also: 768/526,51= 1.4586

BOTH 544 and 526.5(528) do have 1.4586 as PAR value


Lets do the same in NTSC


544x576 will be played back using 10.125mhz at 53.7284µs
Full NTSC is 648x486, means 12.306mhz at 52.65556µs

(53.7284/52.65556) = 1,02037
648 * 1,02037 = 661,2028
661,2028 / 544 = 1,21544 = PAR of 544 at NTSC

648/ 1,21544 = 533.14 is the active picture Area of 544 at NTSC (also PAR 1,21544 )

incredible 10-19-2004 10:01 AM

Quote:

How can I know before loading a vob in any software tool, what is a DVD "film pixel" size.
You cant as you never will match the exact filmpixels as most times the real active moviesize wont match 100% the 2.35:1 or 1.85:1 or 1.778:1

4:3 Tv (1.333:1):

768/1.333 = 576 = no resizing the height to get a Fullscreen one ;-)


16:9 Tv (1.778:1):

768/1.778 = 432 = resize height from 576 to 432



--------- below just for explanation but NOT real available as sources! -----

Widescreen (1.85:1)
768/1.85 = 432 = resize height from 576 to 416


Cinemascope (2.35:1)
768/2.35 = 326 = resize height from 576 to 326

Because! Theres no encoding AR Flag in mpeg1/2 at 1.85 or 2.35, so they do let it anamorph (1.778) and add the needed black borders to match 576

incredible 10-19-2004 10:06 AM

Quote:

And another 2 questions: 1 - Why when we select overscan in Moviestacker or Mencalc, it is setted all around the frame and not only on both sides?
Because a) it would end up in an AR error and also b) cause the TV gots not only an overscan at the sides

Quote:

2 - Why, agree with talked in this thread, crop is not always to 704*576? but to values don't showed in linked table.
??? I dont catch what you mean

Prodater64 10-19-2004 01:13 PM

Quote:

Originally Posted by incredible
Quote:

2 - Why, agree with talked in this thread, crop is not always to 704*576? but to values don't showed in linked table.
??? I dont catch what you mean

Me neither.
But don't worry, I clarified all my doubts reading this trhead, the uwasa link and the pdf guide that you point me in another thread.
Thank you very much for your invaluable answers.

incredible 10-20-2004 03:11 AM

De nada :)

jorel 10-20-2004 03:23 AM

Quote:

Originally Posted by incredible
De nada :)

i thank you too ink. it's very cool and deserve a sticky
or as another input(a rich input) in this great sticky
"Interlaced / Progressive ... and what it means:"

http://www.kvcd.net/forum/viewtopic.php?t=9808

:D this was great and don't deserve to fade in a long thread.

Anerboda 10-20-2004 05:44 AM

Hi

So far so good.
All mpeg2 for DVD is encoded in 4:3, and then during encode added a playback flag, either 4:3 or 16:9, right?

That made me think:

A movie encoded with 16:9 flag will be "resized + added borders" by the DVD player to a 4:3 TV set to get right AR, right?
And if I buy a 16:9 TV set in the future the DVD player will send the movie to the TV with the right AR again?

So what's the point of encoding in letterboxed 4:3?
And how would that encode look in a 16:9 TV set? Would I have to redo all my backups again to match a 16:9 TV?

Just some thoughts. :)

-Anerboda

incredible 10-20-2004 06:20 AM

Quote:

Originally Posted by Anerboda
Hi

So far so good.
All mpeg2 for DVD is encoded in 4:3, and then during encode added a playback flag, either 4:3 or 16:9, right?

Almost! The encoder "just" encodes the pictureinformation in the given Framesize, for instance 720x576. The encoder doesnt see if the input is squeezed (anamorph) or not he just recognises pixels in a mathematical order. So the "pure" encoding itself is not 4:3 neither 16:9, its just 720x576 or in NTSC 720x480.
Quote:

That made me think:
A movie encoded with 16:9 flag will be "resized + added borders" by the DVD player to a 4:3 TV set to get right AR, right?
right!
Quote:

And if I buy a 16:9 TV set in the future the DVD player will send the movie to the TV with the right AR again?
shure!
Quote:

So what's the point of encoding in letterboxed 4:3?
a) You gain from more compression in case of more Data stored on one DVD-R as the active Movietreatment is "smaller".
b) As VCD specs (and 352x288 DVD specs) don't allow anamorph encodings, you dont have a choice other than encoding letterboxing.
Quote:

And how would that encode look in a 16:9 TV set? Would I have to redo all my backups again to match a 16:9 TV?
It will be positioned like a simple 4:3 TV Broadcasting, means a 4:3 Rectangled screen within the 16:9 proportion, where Borders will be added at the sides to compensate the 16:9 to 4:3 difference.
BUT: You can do enlarge that 4:3 letterboxed stream within the 16:9 in a proportional way so you wont have any borders at the sides and a perfect proportinal correct full 16:9 view.... but then the main goal of a 16:9 encoding ON a 16:9 TV Set is blown away as you would enlarge by this the height, means a blurrier view on your 16:9 TVset

Anerboda 10-20-2004 06:26 AM

Thanks Inc.

Very nice explanation :D

I'm only doing KDVD so I think I will be doing a lot of my future backups with the 16:9 flag...just in case I'll suddenly get a 16:9 TV set :wink:

-Anerboda

incredible 10-20-2004 06:31 AM

The biggest gain you will recognise is when playing back your anamorph 16:9 KDVDs on a (maybe) future xVGA (1024x768!) Beamer Device via a progressiveScan SAP Device as that Beamer does "enlarge" the final view extremely and any kind of artifacts/blurriness will let your eyes suffer. ;-)

nicksteel 10-20-2004 09:41 AM

Setting anamorphic flag.
 
Quote:

Originally Posted by Anerboda
Hi

So far so good.
All mpeg2 for DVD is encoded in 4:3, and then during encode added a playback flag, either 4:3 or 16:9, right?


-Anerboda

When using TMPGEnc to encode (KDVD template and Kwag's optimal script with gripfit) a 16:9 NTSC as anamorphic, how do I set the flag?

Am asking as I intend to purchase a widescreen HDTV in a few months and would like the output to work with my present standard tv now and the future one later. I understand how anamorphic works, but not how to set the flag itself in TMPGEnc. My present encodes are all 4:3 non-anamorphic. As I don't have the widescreen TV yet, I cannot determine by testing, other than seeing if the encode plays properly with the standard TV. I do understand that one can "zoom" the 4:3 to fit the widescreen, but would rather make anamorphic in the beginning.

I would appreciate an answer from someone who is currently doing this with TMPGEnc successfully. I've asked this before, but never received a simple answer for setting flag in TMPGEnc.

Thanks as usual,

Boulder 10-20-2004 09:47 AM

Just encode as 16:9. The basic rule is to use the same flag the source has.

Dialhot 10-20-2004 09:57 AM

I'm not sure if Boulder last post will be fully understood by Nicksteel so I prefer to re-word it :

- if you want to encode in 4:3 in tmpgenc, you put "4:3"
- if you want to encode in anamorphic mode, in other words if you want to have the anamorphic flag to be set in the mpeg, you put "16:9".

:arrow: The state of the flag in the mpeg stream generated is the only diff between this two options in tmpgenc.

Boulder 10-20-2004 10:05 AM

I should have used quote, I answered the question that was on the first line of nick's post and exactly what Phil says as well. If you don't use 16:9 for anamorphic encodes, you'll be watching eggheads on your TV unless you switch to 16:9 manually.

nicksteel 10-20-2004 10:36 AM

Quote:

Originally Posted by Dialhot
I'm not sure if Boulder last post will be fully understood by Nicksteel so I prefer to re-word it :

- if you want to encode in 4:3 in tmpgenc, you put "4:3"
- if you want to encode in anamorphic mode, in other words if you want to have the anamorphic flag to be set in the mpeg, you put "16:9".

:arrow: The state of the flag in the mpeg stream generated is the only diff between this two options in tmpgenc.

In TMPGEnc I should choose Video/Aspect Ratio/16:9?

In TMPGEnc I should choose Advanced/Video source setting/Source aspect ratio/ 4:3 or 16:9?

Sorry about all the questions, but I want to be certain. I will use:

GripCrop(704, 480, dest_anamorphic=true)
GripSize(resizer="BicubicResize")

in avs script.


All times are GMT -5. The time now is 08:40 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.