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

Mario *LigH* Rohkrämer contact at ligh.de
Mon Nov 3 11:19:24 CET 2014


Converting foreman_cif.y4m, the Y4M reader in x265 analyzes the header and  
reports its results including a SAR.

Y4M header:

+----
YUV4MPEG2 W352 H288 F30000:1001 Ip A128:117
+----

x265 console output:

+----
y4m  [info]: 352x288 fps 30000/1001 i420p8 sar 128:117 frames 0 - 299 of  
300
+----

But during playback, this SAR appears to be ignored. Even MediaInfo 0.7.70  
(-f) seems not to recognize it.

And MediaInfo does not recognize a custom SAR either if I add it as  
command line option "--sar 128:117", same result:

+----
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.222
Display aspect ratio                     : 1.222
+----

So I wonder if the SAR flag is written into the HEVC output at all.

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:contact at ligh.de
 


More information about the x265-devel mailing list