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

Nicolas George george at nsup.org
Tue Apr 7 19:42:57 EEST 2020


pkv (12020-04-07):
> The latency option (and related options) are currently in microseconds in
> FFmpeg (avformat/libsrt.c).
> The libsrt API documents them in milliseconds while FFmpeg doc does not
> specify any unit.
> This patch changes these options to milliseconds and updates the FFmpeg doc.
> 
> The microsecond implicit unit has caused confusion for both FFmpeg and
> obs-studio users:
> - https://github.com/Haivision/srt/issues/1223
> - https://obsproject.com/mantis/view.php?id=1617

I think it should stay in microseconds but be declared as a DURATION
option.

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/2f5a1ae7/attachment.sig>


More information about the ffmpeg-devel mailing list