1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-25 04:38:01 +00:00
mpv/DOCS/man
wm4 46e3dc27af screenshot: change details of --screenshot-format handling
This is just a pointless refactor with the only goal of making
image_writer_opts.format a number.

The pointless part of it is that instead of using some sort of arbitrary
ID (in place of a file extension string), we use a AV_CODEC_ID_. There
was also some idea of falling back to the libavcodec MJPEG encoder if
mpv was not linked against libjpeg, but this fails. libavcodec insist on
having AV_PIX_FMT_YUVJ420P, which we pretend does not exist, and which
we always map to AV_PIX_FMT_YUV420P (without the J indicating full
range), so encoder init fails. This is pretty dumb, but whatever. The
not-caring factor is raised by the fact that we don't know that we
should convert to full range, because encoders have no proper way to
signal this. (Be reminded that AV_PIX_FMT_YUVJ420P is deprecated.)
2017-03-18 15:03:05 +01:00
..
af.rst man: fix PDF build 2016-10-06 21:49:14 +02:00
ao.rst options: remove deprecated sub-option handling for --vo and --ao 2016-11-25 21:17:25 +01:00
changes.rst manpage: mention the client API/interface change logs 2016-09-02 09:48:35 +02:00
encode.rst man: fix grammar issues 2015-12-19 09:26:41 +01:00
input.rst manpage: slightly improve screenshot-raw description 2017-03-18 14:15:34 +01:00
ipc.rst client API: turn mpv_suspend() and mpv_resume() into stubs 2016-11-22 15:54:44 +01:00
libmpv.rst manpage: define stricter rules for C plugin return values 2017-01-14 17:41:04 +01:00
lua.rst lua: allow unregistration of idle handlers 2017-01-15 17:02:21 +01:00
mpv.rst stream_lavf: add support for data URIs 2017-01-25 15:40:56 +00:00
options.rst screenshot: change details of --screenshot-format handling 2017-03-18 15:03:05 +01:00
osc.rst osc: add seekbarstyle=knob 2016-11-09 05:51:20 +00:00
vf.rst manpage: adjust description of libva deinterlacer ref direction mess 2017-03-07 09:10:37 +01:00
vo.rst image_writer: remove useless formats 2017-03-18 14:24:53 +01:00