diff options
author | wm4 <wm4@nowhere> | 2018-04-12 22:08:56 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-15 23:11:33 +0300 |
commit | 7bfb240309225fa6fb4e51a0deda8fd8e34953e0 (patch) | |
tree | 7c912d645a3e786e8713d93cbbaf3b9b73a65885 /DOCS/man/af.rst | |
parent | 3ca0a7fd4d6615e438fdc80192dca951fff74ff1 (diff) | |
download | mpv-7bfb240309225fa6fb4e51a0deda8fd8e34953e0.tar.bz2 mpv-7bfb240309225fa6fb4e51a0deda8fd8e34953e0.tar.xz |
f_lavfi: add an option to use old audio PTS handling for af_lavfi
The fix-pts option basically uses the old af_lavfi's (before filter
rewrite) timestamp logic. The rest is explained in the manpage.
Diffstat (limited to 'DOCS/man/af.rst')
-rw-r--r-- | DOCS/man/af.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 93a25cd4bb..4e806d482e 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -245,3 +245,16 @@ Available filters are: ``o=<string>`` AVOptions. + + ``fix-pts=<yes|no>`` + Determine PTS based on sample count (default: no). If this is enabled, + the player won't rely on libavfilter passing through PTS accurately. + Instead, it pass a sample count as PTS to libavfilter, and compute the + PTS used by mpv based on that and the input PTS. This helps with filters + which output a recomputed PTS instead of the original PTS (including + filters which require the PTS to start at 0). mpv normally expects + filters to not touch the PTS (or only to the extent of changing frame + boundaries), so this is not the default, but it will be needed to use + broken filters. In practice, these broken filters will either cause slow + A/V desync over time (with some files), or break playback completely if + you seek or start playback from the middle of a file. |