[FFmpeg-devel] [PATCH 1/1] [RFC] ffprobe: report DAR even if SAR is undefined

Nicolas George george at nsup.org
Tue Apr 17 12:28:00 EEST 2018

Hendrik Leppkes (2018-04-17):
> Internally we have been using 0/1 for undefined aspect ratios since
> like forever, I'm not sure why that was chosen, but maybe to avoid an
> accidental division by zero?

There is the need for two special values: unknown/undefined and

Possible magic values are 0/1, x/0.

I think 0/1 is fine for unknown/undefined and 0/0 for invalid/broken.
But I am too lazy to check what is implemented right now.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180417/20fcbc51/attachment.sig>

More information about the ffmpeg-devel mailing list