[x265] x265 ignores SAR (derived from Y4M header or as CLI flag)

Steve Borho steve at borho.org
Mon Nov 3 19:23:41 CET 2014


On 11/03, Mario *LigH* Rohkrämer wrote:
> Am 03.11.2014, 11:19 Uhr, schrieb Mario *LigH* Rohkrämer <contact at ligh.de>:
> 
> >And MediaInfo does not recognize a custom SAR either if I add it as
> >command line option "--sar 128:117", same result:
> 
> Adding "--sar 2" (for 12:11 as next similar ratio to 128:117) doesn't change
> the output either, according to MediaInfo (still recognizes SAR 1.000).

If I add --sar 2 to any command line, and open the resulting bitstream
in a stream analyzer, I see:

SPS->VUI->aspect_ratio_info_present = 1
SPS->VUI->aspect_ratio_idc = 2

That should be all x265 is required to do.

-- 
Steve Borho


More information about the x265-devel mailing list