Log in

View Full Version : Correct AR From 720 To 576


Pages : 1 [2]

sneaker_ger
6th March 2009, 15:46
Ok, found it:

The reason is because CRF weights frame quantizers by overall frame complexity.

Having large black areas in a frame makes it simpler, so CRF lowers the quantizer.

Thus, the only valid way to measure the effect of the black areas on compression is constant-quantizer encoding, or qcomp=1 encoding with CRF.

/edit:
Found another post, saying it doesn't add black borders:
x264 doesn't mirror, it pads with repeated lines. Mirroring makes more sense for JPEG and intra-only formats in general.

I'll think it's still possible that is has something to do with the way CRF works, but I don't have enough knowledge to be of any help here. Perhaps some x264 pro can elaborate on this.

2Bdecided
6th March 2009, 15:59
sneaker_ger,

I suspect I know less x264 than you - but just to clarify - I was using 704x576 (a mod16 resolution) throughout - I was just moving the letterboxed image up and down so that the letterbox fell on mod16, mod8, mod4, and mod2 boundaries.

Cheers,
David.

sneaker_ger
6th March 2009, 16:37
Ah, OK, sorry. I didn't read your post properly. It still may have to something with CRF vs. CQ but I don't know enough about how it works. Just remembered the post I quoted above and thought it might an explanation.

SeeMoreDigital
7th March 2009, 13:00
For those of you who wish to experiment with PAR (aspect ratio signalling) values, I dug out this old 720x480 (NTSC) Snell and Wilcox (http://www.snellwilcox.com/) test card for you to play with: -

http://rapidshare.de/files/45904727/00_Snell_Wilcox__MXFa003a__NTSC_Test_Card.7z.html


Cheers

2Bdecided
7th March 2009, 23:59
For those of you who wish to experiment with PAR (aspect ratio signalling) values, I dug out this old 720x480 (NTSC) Snell and Wilcox (http://www.snellwilcox.com/) test card for you to play with: -
http://rapidshare.de/files/45904727/00_Snell_Wilcox__MXFa003a__NTSC_Test_Card.7z.html
Ooo, I like that one. Do you have the equivalent "PAL" one?

Cheers,
David.

SeeMoreDigital
8th March 2009, 12:42
Ooo, I like that one. Do you have the equivalent "PAL" one?Sadly no :(

mikeytown2
9th March 2009, 11:03
Once you figure this all out, plug in the numbers into ZoomBox() (http://forum.doom9.org/showthread.php?p=1111789#post1111789). It Resizes clip Keeping the Aspect Ratio. Can set Source/Target PAR/DAR, option to zoom in/out in order to hide/show black borders.

Very Simple Example

Width=704
Height=480

ColorBars(640,480) #Source PAR of 1/1
ZoomBox(Width, Height, TargetDAR=16.0/9.0, align=-5)