[MPlayer-users] How to pass -strict -2 to ffmpeg hevc

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Oct 17 20:52:49 CEST 2013


On Thu, Oct 17, 2013 at 07:48:20PM +0100, Andy Furniss wrote:
> Reimar Döffinger wrote:
> >On Thu, Oct 17, 2013 at 06:15:44PM +0100, Andy Furniss wrote:
> >>Is it possible to pass -strict -2 to ffmpegs hevc codec.
> >>
> >>ffplay -strict -2 bbb_1080p_c.ts
> >>
> >>works OK but I can't find a way with mplayer.
> >
> >-lavdopts o=strict=-2
> 
> Thanks, that does the trick.
> 
> Maybe a bit early to be be reporting minor issues I guess - but
> here's one anyway :-)
> 
> If I play with -lavdopts o=strict=-2 in the output I see just once
> 
> FFmpeg bug: Invalid aspect
> 
> but after a while I am too slow so I use -
> 
> -lavdopts threads=4:o=strict=-2
> 
> The file plays fine but the output is spammed with many
> 
> FFmpeg bug: Invalid aspect
> A:   4.2 V:   4.2 A-V:  0.000 ct:  0.125   0/  0  1%  6%  0.4% 0 0
> FFmpeg bug: Invalid aspect
> A:   4.2 V:   4.2 A-V:  0.000 ct:  0.125   0/  0  1%  6%  0.4% 0 0

Yes, that is not unexpected. We "fix" the invalid aspect, but the
way the threading code works it means it gets overwritten with the
broken value again and again.
FFmpeg needs to be fixed to not put a broken value into the aspect
field, I'll try to look into that.
But did it actually work? The one sample I tried was full of artefacts,
more than minor issues.


More information about the MPlayer-users mailing list