From 8743d3fbfafe51a7aa3847663f6f6120438eb772 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 25 Nov 2013 23:13:46 +0100 Subject: demux_lavf: disable genpts by default, remove the builtin genpts hack This was needed to determine PTS from DTS, but the previous commits make it unnecessary. The builtin genpts hack was used for DVD, because libavformat's genpts essentially went amok on DVD timestamp resets. See commit 65d87091 for details. --- DOCS/man/en/options.rst | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'DOCS/man/en') diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index 386f0fdf76..02be5b86f4 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -627,15 +627,11 @@ OPTIONS ``--demuxer-lavf-format=`` Force a specific libavformat demuxer. -``--demuxer-lavf-genpts-mode=`` +``--demuxer-lavf-genpts-mode=`` Mode for deriving missing packet PTS values from packet DTS. ``lavf`` - enables libavformat's ``genpts`` option. ``builtin`` enables equivalent - code in mpv. ``auto`` will enable either lavf (normal playback) or builtin - (DVD playback) in correct-pts mode. The difference between them is that - the builtin code will not potentially read until EOF trying to derive the - PTS (which is very bad for DVD playback). On the other hand, builtin might - give up too early, which is why lavf is preferred normally. ``no`` disables - both. + enables libavformat's ``genpts`` option. ``no`` disables it. This used + to be enabled by default, but then it was deemed as not needed anymore. + Enabling this might help with timestamp problems, or make them worse. ``--demuxer-lavf-o==[,=[,...]]`` Pass AVOptions to libavformat demuxer. -- cgit v1.2.3