[FFmpeg-devel] avformat/libsrt: Change latency option to milliseconds

Nicolas George george at nsup.org
Tue Apr 7 20:50:27 EEST 2020


pkv (12020-04-07):
> you mean AV_OPT_TYPE_DURATION ?

Exactly.

> what's the reason for keeping these options in microseconds ?
> 
> (to the extent the unit is documented it does not really matter, in truth;
> it's just more convenient in ms).

Some timings do require a better accuracy, more will do as computers get
more powerful, and consistency is convenient.

In this instance, AV_OPT_TYPE_DURATION is undoubtedly the proper type
for this option, and it is defined in microseconds.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200407/89bbd2f1/attachment.sig>


More information about the ffmpeg-devel mailing list