X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fffmpeg-formats.texi;h=1dce6e7584b53f4d51cb138949e0b55875ab0d0c;hb=464f94b206b041fa383ab4257226cb3f18dfb550;hp=30cf415d14f9a46ce34f807875d6889794fe73d2;hpb=849f015406e77921a2adbe05e58b0e65cbf035c5;p=ffmpeg diff --git a/doc/ffmpeg-formats.texi b/doc/ffmpeg-formats.texi index 30cf415d14f..1dce6e7584b 100644 --- a/doc/ffmpeg-formats.texi +++ b/doc/ffmpeg-formats.texi @@ -140,8 +140,22 @@ Consider things that a sane encoder should not do as an error. Use wallclock as timestamps. @item avoid_negative_ts @var{integer} (@emph{output}) -Shift timestamps to make them positive. 1 enables, 0 disables, default -of -1 enables when required by target format. +Shift timestamps to make them positive. A value of 1 enables shifting, +a value of 0 disables it, the default value of -1 enables shifting +when required by the target format. + +When shifting is enabled, all output timestamps are shifted by the +same amount. Audio, video, and subtitles desynching and relative +timestamp differences are preserved compared to how they would have +been without shifting. + +Also note that this affects only leading negative timestamps, and not +non-monotonic negative timestamps. + +@item flush_packets @var{integer} (@emph{output}) +Flush the underlying I/O stream after each packet. Default 1 enables it, and +has the effect of reducing the latency; 0 disables it and may slightly +increase performance in some cases. @end table @c man end FORMAT OPTIONS