Le 07/04/2020 à 6:42 pm, Nicolas George a écrit :
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,


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Hello,

you mean AV_OPT_TYPE_DURATION ?

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).

Best

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to