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

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Nov 4 16:43:20 CET 2014


On 11/4/2014 1:36 PM, Mario *LigH* Rohkrämer wrote:
> ffprobe recognizes AR flags correctly, both in raw output and multiplexed  
> into MP4 by MP4Box.

[...]

> Some tools (like VLC) may prefer container flags and don't find any if  
> MP4Box doesn't use any, possibly because it doesn't analyze HEVC streams  
> detailed enough. VLC can't play raw HEVC anyway. MPC-HC respects raw HEVC  
> AR flags, but reports SAR 1.0 always for MP4, so MP4Box is probably  
> another factor here. MediaInfo reports SAR 1.0 for both HEVC raw and in  
> MP4.

It's possible that MP4Box writes a broken (1.0) par box, or a broken display res.

Maybe you can try muxing to MP4 with libavformat (ffmpeg) or L-SMASH?

I'll probably try tomorrow and see.

- Derek


More information about the x265-devel mailing list