digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Incorrect screen format using MA script!! (http://www.digitalfaq.com/archives/avisynth/5986-avisynth-incorrect-screen.html)

mistermickster 10-06-2003 04:33 AM

Incorrect screen format using MA script!!
 
I have tried the MA script to convert The Matrix to 2 Cd's as SVCD.

When encoding just using the d2v file created by DVD2AVI, the screen is OK, i.e., the width fills the black area in TMPGEnc, and therefore fills the TV screen correctly.

When using the MA script however, the screen only occupies a small rectangle in the centre of TMPGEnc, and therefore only shows as a small area on TV.

The Matrix is 16:9 widescreen, so I set my GripCrop filter to read GripCrop(480,576, overscan=2, dest_anamorphic=true) . Is this correct, or is it causing my problem, if so, what do I need to put to cure it?

Cheers for any help anybody can give.

incredible 10-06-2003 05:28 AM

I hope I understood you correctly.

The MA Script does the complete resizing and Letterboxing for you.
So the only you have to do in TmpgEnc is to set the Video to 4:3 and Video Arrange Method to "Center"... thats all.

mistermickster 10-07-2003 05:49 AM

Quote:

Originally Posted by incredible
So the only you have to do in TmpgEnc is to set the Video to 4:3 and Video Arrange Method to "Center"... thats all.

Tried what you said, but although the picture is bigger in TMPEnc, it still doesn't fill the screen in Media Player or TV :(

What have I done wrong?

If I remember, I'll post my script later.

incredible 10-07-2003 06:01 AM

Use...

Code:

GripCrop(480,576, overscan=2, source_anamorphic=true, dest_anamorphic=false)
This gives you a kompatible KsVCD/ SVCD Letterboxed output.
TmpgEnc settings still set to Video arr. Method "center".

Hope this helps, cause you encoded also an anamorphic 480x576 Stream with the settings you choosed as mentioned in your first Post.

Boulder 10-07-2003 06:08 AM

You can't turn a widescreen movie into a fullscreen movie w/o borders without cropping a huge amount of pixels off or having a huge aspect ratio error. Live with the borders and be happy :D

Try overscan=0, this will result in a slightly larger film pixel area but you'll also lose some compression there.

incredible 10-07-2003 06:50 AM

Oh sorry I forgot to mention that after the GripCrop line there has to be the

GripBorders()

to give you exactly the mentioned borders on top and bottom.
But I think his script already contains this at the end ;-)

mistermickster 10-07-2003 08:25 AM

Quote:

Originally Posted by Boulder
You can't turn a widescreen movie into a fullscreen movie w/o borders without cropping a huge amount of pixels off or having a huge aspect ratio error. Live with the borders and be happy :D

Try overscan=0, this will result in a slightly larger film pixel area but you'll also lose some compression there.

I don't want to turn widescreen to fullscreen :!: My problem is, that with using the MA script, the picture only occupies a small area in the centre of media player or my widescreen TV. The aspect ratio is correct, just too small :?

What would happen if I removed the GripCrop() and GripBorders() lines :?:

jorel 10-07-2003 08:34 AM

mistermickster,

i was encoding "spirit" and the movie is just like you wrote:
"picture only occupies a small area in the centre"
yes, too big black borders on top/botton!

than i change to:
...(source and filters)
GripCrop(720, 480)
GripSize(resizer="BicubicResize")
...(more filters)
GripBorders()
...

and got what i wanted!
ok it's a little "egg head" but is ok!
encode a sample to try!

:wink:

incredible 10-07-2003 09:37 AM

@ Jorel

It seems to me that he doesn't like the Widescreen Letterboxing, maybe he would love to have 16:9 Letterboxing just to receive smaller borders on top and bottom by still keeping the aspect ratio right.
So he should perform a Pan-Scan using Moviestacker without GripFit by rising the vertical size and also "accurate cropping" choosed.

Could this be? Or didn't I understand him well?

In your example it seems that you encode anamorphic 16:9 based KVCDs?
Correct?

@ Mistermickster

http://www.digitalfaq.com/archives/error.gif

Is that what you mean?
(this is an example of a 16:9 Movie Panscanned to 4:3 but you can also PanScan from Widescreen to 16:9 just to receive a bigger movie-area, in such a "Wide to 16:9" case you will receive a movie area size as shown on the left).
But you have to keep in mind that this will crop movie informations on the sides as shown here!

jorel 10-07-2003 07:23 PM

well,
i did it ONLY with the anime "spirit" (16:9 encoded as 4:3)
cos have big black borders:
in dvd2avi project:
Force Film activated
Framerate: 23976

using CQMatic/CalcuMatic got CQ57,67!
Tmpgenc:
video tab:
mpeg2 video
720 x 480
4:3 display
ntsc
3:2 puldown when playback

advanced tab:
no interlaced (progressive)
botton field first (field B)
4:3 525 line (NTSC, 704x480)
full screen

this give the aspect radio wanted:
not too "wide" and not too "egg head"!
little black borders on top/botton!

script:
Mpeg2Source("D:\DVD\spirit.d2v")
Undot()
GripCrop(720, 480)
GripSize(resizer="BicubicResize")
Levels(0,1.02,255,0,255)
deen("a3d",3,4,0,4)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()

nothing more!

ps:
i have the "normal" encode for my (future) wide screen
i encode as 704x480 too!
now i have 2 "versions"!
:wink:

mistermickster 12-03-2003 08:05 AM

I've cured it now.

Set Video Arrange method to Full Screen (keep aspect ratio). That seems to do the trick.

I would still like to master the Letterbox filtering though, as I believe I'm encoding the top and bottom borders unnecessarily with not using Letterbox. Is my understanding correct:?: or is that what GripCrop does:?:

kwag 12-03-2003 08:14 AM

Hi mistermickster,

Use "Full Screen". Don't use Full Screen ( Keep aspect ).
Get your resizing and border parameters from MovieStacker, and edit your script with these values This way, your aspect will always be correct.

-kwag

mistermickster 12-03-2003 10:00 AM

Thnx Kwag,

But where in MovieStacker do I get/set my borders and letterboxing :?

Does this then only encode the visible picture and not the border area :?:


All times are GMT -5. The time now is 09:11 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.