diff options
author | wm4 <wm4@nowhere> | 2013-12-29 14:07:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-29 14:19:22 +0100 |
commit | 392856ed4d86c71ecfb9b8036351ba2acd825a32 (patch) | |
tree | 60983b1bfb29a0ee6838364d068c6e52ae719761 /DOCS/man | |
parent | 15f38b89eeb7cbb72a84dabc19b706ede455399c (diff) | |
download | mpv-392856ed4d86c71ecfb9b8036351ba2acd825a32.tar.bz2 mpv-392856ed4d86c71ecfb9b8036351ba2acd825a32.tar.xz |
vd_lavc: by default, output all frames, even corrupted ones
Set the flag CODEC_FLAG_OUTPUT_CORRUPT by default. Note that there is
also CODEC_FLAG2_SHOW_ALL, which is older, but this seems to be ffmpeg
only.
Note that whether you want this enabled depends on the user. Some might
prefer that only good frames are output, while others want the decoder
to try as hard as possible to output _anything_. Since mplayer/mpv is
rather the kind of player that tries hard instead of being "clever", set
the new default to override libavcodec's default.
A nice way to test this is switching video tracks. Since mpv doesn't
wait for the next key frame, it'll start feeding the decoder with a
packet from the middle of the stream.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/options.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst index b2f9d30b68..7803e98b5c 100644 --- a/DOCS/man/en/options.rst +++ b/DOCS/man/en/options.rst @@ -2631,6 +2631,11 @@ OPTIONS ``--vd--lavc-o=debug=pict`` +``--vd-lavc-show-all=<yes|no>`` + Show even broken/corrupt frames (default: yes). If this option is set to + no, libavcodec won't output frames that were either decoded before an + initial keyframe was decoded, or frames that are recognized as corrupted. + ``--vd-lavc-skiploopfilter=<skipvalue> (H.264 only)`` Skips the loop filter (AKA deblocking) during H.264 decoding. Since the filtered frame is supposed to be used as reference for decoding |