Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] mac: add support to set color space for layer and macOS transformation (EDR/HDR) #8485

Closed
wants to merge 1 commit into from

Conversation

Akemi
Copy link
Member

@Akemi Akemi commented Jan 19, 2021

this is an alternative to #8404

some of the color spaces are probably useless (for now) and can be removed. this should be discussed probably.

there are a lot of color spaces that expect component values below 0.0 and above 1.0. those are currently useless because we only do ranges from 0.0 to 1.0. they are still defined in the enum and need to be removed (same for useless comments):
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3191859-extendedlineardisplayp3
https://developer.apple.com/documentation/coregraphics/cgcolorspace/1644735-extendedsrgb
https://developer.apple.com/documentation/coregraphics/cgcolorspace/1690961-extendedlinearsrgb
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3191861-itur_2020_hlg
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3191862-itur_2020_pq_eotf
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3191860-extendedlinearitur_2020
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3684560-extendeddisplayp3
https://developer.apple.com/documentation/coregraphics/cgcolorspace/3684561-extendeditur_2020

following things are set as default and they most likely change nothing without the color space setting. though if they do, we need to move those to the updateICCProfile call and only conditionally activate it:

wantsExtendedDynamicRangeContent = true
wantsExtendedDynamicRangeOpenGLSurface = true

By default utilises the color space of the screen on which the window is
located. If a specific value is defined, it will be instead be utilised.

Depending on the chosen color space the macOS EDR (HDR) support is
activated and that OS's transformation is used.

Fixes mpv-player#7341
@DavidSchechter
Copy link

@Akemi any progress on this?

@Akemi
Copy link
Member Author

Akemi commented Mar 20, 2021

it's basically done, just needs some clean ups. though i am not able to test it because of the lack of the proper hardware (and software). i programmed it the way i think it's done but it still needs proper testing. especially the old case of none HDR and if still looks like it is supposed to with the extended flags set to true by default.

@Robot-DaneelOlivaw
Copy link

Robot-DaneelOlivaw commented Apr 7, 2021

I built and tested it with some SDR and HDR videos. --macos-output-csp=display_p3_pq and --target-trc=pq successfully triggered EDR. The color didn't look correct at first. With EDR gradually kicked in, it looked normal. However, remember I mentioned in #7341, when I toggle system brightness to maximum, EDR kind of kicks out a bit? It happened this time as well, the video became overexposed when the brightness was set to maximum.

SDR videos work as intended.

./mpv --no-config --macos-output-csp=display_p3_pq --target-trc=pq:
Screenshot isn't in HDR so it's not reflecting what's on my screen. As described above, picture looks normal when brightness isn't set to maximum. When brightness is maximum, it looks closer to this screenshot. But screenshots look the same in different brightness.
Screenshot with new configs

./mpv --no-config:
Screenshot without new configs

The settings are a bit confusing. I'm supposed to choose color primaries and transfer characteristics according to the video. But most HDR videos are usually BT.2020 PQ, which is not provided because its range is above 1.0. And --macos-output-csp=auto will set the color space to the icc profile of the screen, not the video. Should --target-trc be the same transfer characteristics as --macos-output-csp? Also, target-peak doesn't seem to work with these configs. Is it handled automatically?

Here are Mediainfo and log files, hope that these simple tests could help:

HDR Mediainfo
General
Unique ID                                : 235391669311912798024135103752959719340 (0xB116C9555BABC13595F17174131C77AC)
Complete name                            : /Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/01. skintones.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 108 MiB
Duration                                 : 6 min 30 s
Overall bit rate                         : 2 331 kb/s
Encoded date                             : UTC 2017-09-13 08:36:07
Writing application                      : mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
Writing library                          : libebml v1.3.5 + libmatroska v1.4.5

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 6 min 30 s
Bit rate                                 : 2 113 kb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.011
Stream size                              : 98.3 MiB (91%)
Title                                    : HDR10 HEVC 23.976 fps
Writing library                          : x265 2.4+90-67dcf6e79090:[Windows][GCC 6.2.1][64 bit] 10bit
Encoding settings                        : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=5 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=2 / keyint=120 / bframes=0 / b-adapt=2 / no-b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=8 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=0 / limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=0.00 / no-rd-refine / analysis-reuse-mode=0 / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=21.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,5) / max-cll=240,150 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / no-hdr-opt / no-dhdr10-opt / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0005 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 240 cd/m2
Maximum Frame-Average Light Level        : 150 cd/m2

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : A_AC3
Duration                                 : 6 min 16 s
Bit rate mode                            : Constant
Bit rate                                 : 224 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 10.1 MiB (9%)
Title                                    : AC-3 DD Gary Moore The prophet
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
HDR log file
[   0.004][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       56.51.100
[   0.004][v][cplayer]    libavcodec      58.91.100
[   0.004][v][cplayer]    libavformat     58.45.100
[   0.004][v][cplayer]    libswscale      5.7.100
[   0.004][v][cplayer]    libavfilter     7.85.100
[   0.004][v][cplayer]    libswresample   3.7.100
[   0.004][v][cplayer] FFmpeg version: 4.3.2
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: ./waf configure
[   0.004][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.004][v][cplayer] Command line options: '--no-config' '--macos-output-csp=display_p3_pq' '--target-trc=pq' '/Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/01. skintones.mkv' '--log-file=/Users/R-DO/Library/Logs/mpv/mpv-hdr.log'
[   0.004][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       56.51.100
[   0.004][v][cplayer]    libavcodec      58.91.100
[   0.004][v][cplayer]    libavformat     58.45.100
[   0.004][v][cplayer]    libswscale      5.7.100
[   0.004][v][cplayer]    libavfilter     7.85.100
[   0.004][v][cplayer]    libswresample   3.7.100
[   0.004][v][cplayer] FFmpeg version: 4.3.2
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: ./waf configure
[   0.004][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.004][d][global] config path: '' -> '-'
[   0.004][d][global] user path: '~~home/' -> ''
[   0.004][d][global] user path: '~~old_home/' -> ''
[   0.004][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'macos-output-csp' = 'display_p3_pq' (flags = 8)
[   0.004][v][cplayer] Setting option 'target-trc' = 'pq' (flags = 8)
[   0.004][v][cplayer] Setting option 'log-file' = '/Users/R-DO/Library/Logs/mpv/mpv-hdr.log' (flags = 8)
[   0.028][d][global] user path: '/Users/R-DO/Library/Logs/mpv/mpv-hdr.log' -> '/Users/R-DO/Library/Logs/mpv/mpv-hdr.log'
[   0.196][v][osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0
[   0.196][v][libmpv_render] GL_VERSION='4.1 INTEL-16.1.12'
[   0.196][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.196][v][libmpv_render] GL_VENDOR='Intel Inc.'
[   0.196][v][libmpv_render] GL_RENDERER='Intel(R) Iris(TM) Plus Graphics 650'
[   0.196][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.196][d][libmpv_render] Combined OpenGL extensions string:
[   0.198][d][libmpv_render]  GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
[   0.198][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.198][v][libmpv_render] GL_*_swap_control extension missing.
[   0.198][d][libmpv_render] Texture formats:
[   0.198][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.198][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.198][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.199][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.199][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.199][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.199][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.199][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.199][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.199][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.199][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.199][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.199][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.199][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.199][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.199][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.199][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.199][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.199][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.199][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.199][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.200][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.200][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.200][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.200][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.200][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.200][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.200][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16 16 16}
[   0.200][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.200][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.200][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.200][d][libmpv_render]  LF = linear filterable
[   0.200][d][libmpv_render]  CR = can be used for render targets
[   0.200][d][libmpv_render]  ST = can be used for storable images
[   0.200][d][libmpv_render] Image formats:
[   0.200][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.200][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.200][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.200][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.200][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.200][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.200][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.200][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.200][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.200][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.200][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.200][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.200][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.201][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.201][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.201][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.201][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.201][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.201][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.201][d][libmpv_render]   pal8
[   0.201][d][libmpv_render]   vdpau
[   0.201][d][libmpv_render]   d3d11
[   0.201][d][libmpv_render]   dxva2_vld
[   0.201][d][libmpv_render]   mmal
[   0.201][d][libmpv_render]   mediacodec
[   0.201][d][libmpv_render]   drm_prime
[   0.201][d][libmpv_render]   cuda
[   0.201][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.201][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.201][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.201][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.201][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.201][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.201][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.201][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.201][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.201][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.201][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.201][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.201][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.201][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.202][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.202][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.202][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.202][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.202][d][libmpv_render]   vdpau_output
[   0.202][d][libmpv_render]   vaapi
[   0.202][d][libmpv_render]   videotoolbox
[   0.202][d][libmpv_render]   yuyv422
[   0.202][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   monow
[   0.202][d][libmpv_render]   monob
[   0.202][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   uyyvyy411
[   0.202][d][libmpv_render]   bgr8
[   0.202][d][libmpv_render]   bgr4
[   0.202][d][libmpv_render]   bgr4_byte
[   0.202][d][libmpv_render]   rgb8
[   0.202][d][libmpv_render]   rgb4
[   0.202][d][libmpv_render]   rgb4_byte
[   0.202][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.202][d][libmpv_render]   gray16be
[   0.202][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.202][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.203][d][libmpv_render]   rgb48be
[   0.203][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.203][d][libmpv_render]   rgb565be
[   0.203][d][libmpv_render]   rgb555be
[   0.203][d][libmpv_render]   rgb555
[   0.203][d][libmpv_render]   bgr565be
[   0.203][d][libmpv_render]   bgr565
[   0.203][d][libmpv_render]   bgr555be
[   0.203][d][libmpv_render]   bgr555
[   0.203][d][libmpv_render]   vaapi_moco
[   0.203][d][libmpv_render]   vaapi_idct
[   0.203][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.203][d][libmpv_render]   yuv420p16be
[   0.203][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.203][d][libmpv_render]   yuv422p16be
[   0.203][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.203][d][libmpv_render]   yuv444p16be
[   0.203][d][libmpv_render]   rgb444
[   0.203][d][libmpv_render]   rgb444be
[   0.203][d][libmpv_render]   bgr444
[   0.203][d][libmpv_render]   bgr444be
[   0.203][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.203][d][libmpv_render]   bgr48be
[   0.204][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.204][d][libmpv_render]   yuv420p9be
[   0.204][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   yuv420p10be
[   0.204][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   yuv422p10be
[   0.204][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   yuv444p9be
[   0.204][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   yuv444p10be
[   0.204][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   yuv422p9be
[   0.204][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.204][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.204][d][libmpv_render]   gbrp9be
[   0.204][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.206][d][libmpv_render]   gbrp10be
[   0.206][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.206][d][libmpv_render]   gbrp16be
[   0.206][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.206][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva420p9be
[   0.206][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva422p9be
[   0.206][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva444p9be
[   0.206][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva420p10be
[   0.206][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva422p10be
[   0.206][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva444p10be
[   0.206][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva420p16be
[   0.206][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.206][d][libmpv_render]   yuva422p16be
[   0.208][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.208][d][libmpv_render]   yuva444p16be
[   0.208][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.208][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.209][d][libmpv_render]   xyz12be
[   0.209][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.209][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.209][d][libmpv_render]   nv20be
[   0.217][d][libmpv_render]   rgba64be
[   0.218][d][libmpv_render]   bgra64be
[   0.218][d][libmpv_render]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.218][d][libmpv_render]   yvyu422
[   0.218][d][libmpv_render]   ya16be
[   0.218][d][libmpv_render]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.218][d][libmpv_render]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.218][d][libmpv_render]   gbrap16be
[   0.218][d][libmpv_render]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.218][d][libmpv_render]   qsv
[   0.219][d][libmpv_render]   d3d11va_vld
[   0.219][d][libmpv_render]   yuv420p12be
[   0.219][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.219][d][libmpv_render]   yuv420p14be
[   0.219][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.219][d][libmpv_render]   yuv422p12be
[   0.219][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.219][d][libmpv_render]   yuv422p14be
[   0.219][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.219][d][libmpv_render]   yuv444p12be
[   0.219][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.219][d][libmpv_render]   yuv444p14be
[   0.220][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.220][d][libmpv_render]   gbrp12be
[   0.220][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.220][d][libmpv_render]   gbrp14be
[   0.220][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.220][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.220][d][libmpv_render]   bayer_bggr8
[   0.220][d][libmpv_render]   bayer_rggb8
[   0.220][d][libmpv_render]   bayer_gbrg8
[   0.220][d][libmpv_render]   bayer_grbg8
[   0.220][d][libmpv_render]   bayer_bggr16
[   0.220][d][libmpv_render]   bayer_bggr16be
[   0.220][d][libmpv_render]   bayer_rggb16
[   0.220][d][libmpv_render]   bayer_rggb16be
[   0.220][d][libmpv_render]   bayer_gbrg16
[   0.220][d][libmpv_render]   bayer_gbrg16be
[   0.220][d][libmpv_render]   bayer_grbg16
[   0.220][d][libmpv_render]   bayer_grbg16be
[   0.220][d][libmpv_render]   xvmc
[   0.220][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.220][d][libmpv_render]   yuv440p10be
[   0.220][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.220][d][libmpv_render]   yuv440p12be
[   0.220][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.220][d][libmpv_render]   ayuv64be
[   0.220][d][libmpv_render]   p010be
[   0.220][d][libmpv_render]   gbrap12be
[   0.220][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.220][d][libmpv_render]   gbrap10be
[   0.220][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.220][d][libmpv_render]   gray12be
[   0.220][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.220][d][libmpv_render]   gray10be
[   0.220][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.220][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.220][d][libmpv_render]   p016be
[   0.220][d][libmpv_render]   gray9be
[   0.220][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.220][d][libmpv_render]   gbrpf32be
[   0.220][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.220][d][libmpv_render]   gbrapf32be
[   0.220][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.220][d][libmpv_render]   opencl
[   0.220][d][libmpv_render]   gray14be
[   0.220][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.220][d][libmpv_render]   grayf32be
[   0.220][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.220][d][libmpv_render]   yuva422p12be
[   0.220][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.220][d][libmpv_render]   yuva444p12be
[   0.220][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.220][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.220][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.220][d][libmpv_render]   vulkan
[   0.220][d][libmpv_render]   y210be
[   0.220][d][libmpv_render]   y210
[   0.220][v][libmpv_render] Testing FBO format rgba16f
[   0.220][d][libmpv_render] Resizing texture: 16x16
[   0.220][v][libmpv_render] Using FBO format rgba16f.
[   0.220][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.220][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.220][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.220][d][global] config path: 'watch_later' -> '-'
[   0.221][d][global] config path: 'watch_later' -> '-'
[   0.222][v][bdmv/bluray] Opening /Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/01. skintones.mkv
[   0.222][v][file] Opening /Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/01. skintones.mkv
[   0.222][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.222][d][file] Stream opened successfully.
[   0.222][v][demux] Trying demuxers for level=normal.
[   0.222][d][demux] Trying demuxer: disc (force-level: normal)
[   0.222][d][demux] Trying demuxer: edl (force-level: normal)
[   0.223][d][demux] Trying demuxer: cue (force-level: normal)
[   0.223][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.224][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.224][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.224][d][mkv] Found the head...
[   0.224][d][mkv] + a segment...
[   0.224][d][mkv] Parsing seek head...
[   0.224][d][mkv] |+ segment information...
[   0.224][d][mkv] float 390390.000000
[   0.224][d][mkv] | + muxing app: libebml v1.3.5 + libmatroska v1.4.5
[   0.224][d][mkv] | + writing app: mkvmerge v15.0.0 ('Duel with the Devil') 64-bit
[   0.224][d][mkv] | + timecode scale: 1000000
[   0.224][d][mkv] | + duration: 390.390s
[   0.224][d][mkv] | + segment uid b1 16 c9 55 5b ab c1 35 95 f1 71 74 13 1c 77 ac
[   0.224][d][mkv] |+ segment tracks...
[   0.225][d][mkv] float 48000.000000
[   0.225][d][mkv] | + a track...
[   0.225][d][mkv] |  + Track number: 1
[   0.225][d][mkv] |  + Name: HDR10 HEVC 23.976 fps
[   0.225][d][mkv] |  + Track type: Video
[   0.225][d][mkv] |  + Video track
[   0.225][d][mkv] |   + Display width: 3840
[   0.225][d][mkv] |   + Display height: 2160
[   0.225][d][mkv] |   + Pixel width: 3840
[   0.225][d][mkv] |   + Pixel height: 2160
[   0.225][d][mkv] |  + Codec ID: V_MPEGH/ISO/HEVC
[   0.225][d][mkv] |  + CodecPrivate, length 2146
[   0.225][d][mkv] |  + Language: und
[   0.225][d][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.225][d][mkv] | + a track...
[   0.225][d][mkv] |  + Track number: 2
[   0.225][d][mkv] |  + Name: AC-3 DD Gary Moore The prophet
[   0.225][d][mkv] |  + Track type: Audio
[   0.225][d][mkv] |  + Audio track
[   0.225][d][mkv] |   + Sampling frequency: 48000.000000
[   0.225][d][mkv] |   + Channels: 2
[   0.225][d][mkv] |  + Codec ID: A_AC3
[   0.225][d][mkv] |  + Language: und
[   0.225][d][mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
[   0.225][d][mkv] |+ found cluster
[   0.225][v][mkv] Seeking to 113744392 to read header element 0x1c53bb6b.
[   0.225][v][file] stream level seek from 131072 to 113744392
[   0.225][v][mkv] Parsing cues...
[   0.225][v][mkv] Seeking to 113746008 to read header element 0x1254c367.
[   0.225][v][file] stream level seek from 113746855 to 7658
[   0.225][v][mkv] All headers are parsed!
[   0.236][v][demux] Detected file format: Matroska
[   0.236][v][cplayer] Opening done: /Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/01. skintones.mkv
[   0.237][v][find_files] Loading external files in /Users/R-DO/Movies/Mehanik HDR10 test patterns/09. Test Footage/01. skintones/
[   0.237][v][mkv] select track 0
[   0.237][v][mkv] select track 1
[   0.237][i][cplayer]  (+) Video --vid=1 (*) 'HDR10 HEVC 23.976 fps' (hevc 3840x2160 23.976fps)
[   0.237][i][cplayer]  (+) Audio --aid=1 (*) 'AC-3 DD Gary Moore The prophet' (ac3 2ch 48000Hz)
[   0.241][d][vo/libmpv] screen size: 2560x1432
[   0.244][v][osx/cocoacb] Can't find an ambient light sensor
[   0.244][v][vo/libmpv] Assuming 60.000830 FPS for display sync.
[   0.244][v][vd] Container reported FPS: 23.976024
[   0.245][v][vd] Codec list:
[   0.245][v][vd]     hevc - HEVC (High Efficiency Video Coding)
[   0.245][v][vd] Opening decoder hevc
[   0.245][v][vd] No hardware decoding requested.
[   0.245][v][vd] Using software decoding.
[   0.245][v][vd] Detected 4 logical cores.
[   0.245][v][vd] Requesting 5 threads for decoding.
[   0.246][v][vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[   0.246][v][vf] User filter list:
[   0.246][v][vf]   (empty)
[   0.246][v][ad] Codec list:
[   0.246][v][ad]     ac3 - ATSC A/52A (AC-3)
[   0.246][v][ad]     ac3_fixed (ac3) - ATSC A/52A (AC-3)
[   0.246][v][ad]     ac3_at (ac3) - ac3 (AudioToolbox)
[   0.246][v][ad] Opening decoder ac3
[   0.246][v][ad] Requesting 1 threads for decoding.
[   0.246][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[   0.246][v][af] User filter list:
[   0.246][v][af]   (empty)
[   0.246][v][cplayer] Starting playback...
[   0.250][d][vd] DR parameter change to 3840x2176 yuv420p10 align=64
[   0.250][d][vd] Allocating new DR image...
[   0.250][d][vd] ...failed..
[   0.250][v][vd] DR failed - disabling.
[   0.441][v][af] [in] 48000Hz stereo 2ch floatp
[   0.441][v][af] [userspeed] 48000Hz stereo 2ch floatp
[   0.441][v][af] [userspeed] (disabled)
[   0.441][v][af] [convert] 48000Hz stereo 2ch floatp
[   0.441][v][vd] Using software decoding.
[   0.441][v][vd] Decoder format: 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/auto SP=1.182266 CL=unknown
[   0.441][v][vd] Using container aspect ratio.
[   0.441][v][vf] [in] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.441][v][vf] [userdeint] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.441][v][vf] [userdeint] (disabled)
[   0.441][v][vf] [autorotate] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.441][v][vf] [autorotate] (disabled)
[   0.441][v][vf] [convert] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.441][v][vf] [convert] (disabled)
[   0.441][v][vf] [out] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.441][v][ao] Trying audio driver 'coreaudio'
[   0.441][v][ao/coreaudio] requested format: 48000 Hz, stereo channels, floatp
[   0.461][v][ao/coreaudio] selected audio output device: Built-in Output (49)
[   0.461][v][ao/coreaudio] input channel layout:
[   0.461][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.461][v][ao/coreaudio]  - description 0: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.461][v][ao/coreaudio]  - description 1: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.461][v][ao/coreaudio] mp chmap: unknown2
[   0.461][v][ao/coreaudio] input channel layout:
[   0.461][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.461][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.461][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.461][v][ao/coreaudio] mp chmap: stereo
[   0.461][v][ao/coreaudio] Channel layouts:
[   0.461][v][ao/coreaudio]  - stereo
[   0.461][v][ao/coreaudio]  - mono
[   0.461][v][ao/coreaudio] result: stereo
[   0.470][v][ao/coreaudio] Latency property cntl: 325 frames
[   0.470][v][ao/coreaudio] Latency property zisf: 512 frames
[   0.470][v][ao/coreaudio] Latency property tfas: 93 frames
[   0.470][v][ao/coreaudio] audiounit latency [us]: 354
[   0.470][v][ao/coreaudio] device latency [us]: 19375
[   0.470][v][ao/coreaudio] using soft-buffer of 9600 samples.
[   0.470][i][cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp
[   0.470][v][cplayer] AO: Description: CoreAudio AudioUnit
[   0.471][v][af] [convert] (disabled)
[   0.471][v][af] [out] 48000Hz stereo 2ch floatp
[   0.471][i][cplayer] VO: [libmpv] 3840x2160 yuv420p10
[   0.471][v][cplayer] VO: Description: render API for libmpv
[   0.471][v][vo/libmpv] reconfig to 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/pq/limited/display SP=1.182266 CL=mpeg2/4/h264
[   0.499][d][vo/libmpv] screen size: 2560x1432
[   0.526][v][libmpv_render] Texture for plane 0: 3840x2160
[   0.526][v][libmpv_render] Texture for plane 1: 1920x1080
[   0.526][v][libmpv_render] Texture for plane 2: 1920x1080
[   0.526][v][libmpv_render] Testing FBO format rgba16f
[   0.526][d][libmpv_render] Resizing texture: 16x16
[   0.526][v][libmpv_render] Using FBO format rgba16f.
[   0.526][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.530][v][cplayer] first video frame after restart shown
[   0.530][v][cplayer] audio ready
[   0.530][d][cplayer] starting video playback
[   0.530][v][cplayer] starting audio playback
[   0.531][v][cplayer] playback restart complete @ 0.000000, audio=playing, video=playing
[   0.532][v][libmpv_render] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0)
[   0.532][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.532][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160
[   0.532][v][libmpv_render] Video scale: 1.000000/1.000000
[   0.532][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.532][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.550][d][libmpv_render] vertex shader source:
[   0.550][d][libmpv_render] [  1] #version 410
[   0.550][d][libmpv_render] [  2] #define tex1D texture
[   0.550][d][libmpv_render] [  3] #define tex3D texture
[   0.550][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.550][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.550][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   0.550][d][libmpv_render] [  7] out vec2 texcoord0;
[   0.550][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   0.550][d][libmpv_render] [  9] out vec2 texcoord1;
[   0.550][d][libmpv_render] [ 10] in vec2 vertex_texcoord2;
[   0.550][d][libmpv_render] [ 11] out vec2 texcoord2;
[   0.551][d][libmpv_render] [ 12] void main() {
[   0.551][d][libmpv_render] [ 13] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.551][d][libmpv_render] [ 14] texcoord0 = vertex_texcoord0;
[   0.551][d][libmpv_render] [ 15] texcoord1 = vertex_texcoord1;
[   0.551][d][libmpv_render] [ 16] texcoord2 = vertex_texcoord2;
[   0.551][d][libmpv_render] [ 17] }
[   0.553][d][libmpv_render] fragment shader source:
[   0.553][d][libmpv_render] [  1] #version 410
[   0.553][d][libmpv_render] [  2] #define tex1D texture
[   0.553][d][libmpv_render] [  3] #define tex3D texture
[   0.553][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.553][d][libmpv_render] [  5] out vec4 out_color;
[   0.553][d][libmpv_render] [  6] in vec2 texcoord0;
[   0.553][d][libmpv_render] [  7] in vec2 texcoord1;
[   0.553][d][libmpv_render] [  8] in vec2 texcoord2;
[   0.553][d][libmpv_render] [  9] uniform mat3 colormatrix;
[   0.553][d][libmpv_render] [ 10] uniform vec3 colormatrix_c;
[   0.553][d][libmpv_render] [ 11] uniform vec3 src_luma;
[   0.553][d][libmpv_render] [ 12] uniform vec3 dst_luma;
[   0.553][d][libmpv_render] [ 13] uniform mat3 cms_matrix;
[   0.553][d][libmpv_render] [ 14] uniform sampler2D texture0;
[   0.553][d][libmpv_render] [ 15] uniform vec2 texture_size0;
[   0.553][d][libmpv_render] [ 16] uniform mat2 texture_rot0;
[   0.553][d][libmpv_render] [ 17] uniform vec2 texture_off0;
[   0.553][d][libmpv_render] [ 18] uniform vec2 pixel_size0;
[   0.553][d][libmpv_render] [ 19] uniform sampler2D texture1;
[   0.553][d][libmpv_render] [ 20] uniform vec2 texture_size1;
[   0.553][d][libmpv_render] [ 21] uniform mat2 texture_rot1;
[   0.553][d][libmpv_render] [ 22] uniform vec2 texture_off1;
[   0.553][d][libmpv_render] [ 23] uniform vec2 pixel_size1;
[   0.553][d][libmpv_render] [ 24] uniform sampler2D texture2;
[   0.553][d][libmpv_render] [ 25] uniform vec2 texture_size2;
[   0.553][d][libmpv_render] [ 26] uniform mat2 texture_rot2;
[   0.553][d][libmpv_render] [ 27] uniform vec2 texture_off2;
[   0.553][d][libmpv_render] [ 28] uniform vec2 pixel_size2;
[   0.553][d][libmpv_render] [ 29] void main() {
[   0.553][d][libmpv_render] [ 30] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.553][d][libmpv_render] [ 31] color.r = 64.250000 * vec4(texture(texture0, texcoord0)).r;
[   0.553][d][libmpv_render] [ 32] color.g = 64.250000 * vec4(texture(texture1, texcoord1)).r;
[   0.553][d][libmpv_render] [ 33] color.b = 64.250000 * vec4(texture(texture2, texcoord2)).r;
[   0.553][d][libmpv_render] [ 34] color = color.rgbr;
[   0.553][d][libmpv_render] [ 35] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.553][d][libmpv_render] [ 36] color.a = 1.0;
[   0.553][d][libmpv_render] [ 37] // color mapping
[   0.553][d][libmpv_render] [ 38] // linearize
[   0.553][d][libmpv_render] [ 39] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.553][d][libmpv_render] [ 40] color.rgb = pow(color.rgb, vec3(1.0/78.843750));
[   0.553][d][libmpv_render] [ 41] color.rgb = max(color.rgb - vec3(0.835938), vec3(0.0)) 
[   0.554][d][libmpv_render] [ 42]              / (vec3(18.851562) - vec3(18.687500) * color.rgb);
[   0.554][d][libmpv_render] [ 43] color.rgb = pow(color.rgb, vec3(6.277395));
[   0.554][d][libmpv_render] [ 44] color.rgb *= vec3(49.261084);
[   0.554][d][libmpv_render] [ 45] color.rgb *= vec3(1.0/49.261086);
[   0.554][d][libmpv_render] [ 46] color.rgb *= vec3(49.261086);
[   0.554][d][libmpv_render] [ 47] color.rgb = cms_matrix * color.rgb;
[   0.554][d][libmpv_render] [ 48] float cmin = min(min(color.r, color.g), color.b);
[   0.554][d][libmpv_render] [ 49] if (cmin < 0.0) { float luma = dot(dst_luma, color.rgb); float coeff = cmin / (cmin - luma); color.rgb = mix(color.rgb, vec3(luma), coeff); }
[   0.554][d][libmpv_render] [ 50] float cmax = max(max(color.r, color.g), color.b);
[   0.554][d][libmpv_render] [ 51] if (cmax > 1.0) color.rgb /= cmax;
[   0.554][d][libmpv_render] [ 52] color.rgb *= vec3(0.020300);
[   0.554][d][libmpv_render] [ 53] // delinearize
[   0.554][d][libmpv_render] [ 54] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.554][d][libmpv_render] [ 55] color.rgb *= vec3(49.261086);
[   0.554][d][libmpv_render] [ 56] color.rgb *= vec3(1.0/49.261084);
[   0.554][d][libmpv_render] [ 57] color.rgb = pow(color.rgb, vec3(0.159302));
[   0.554][d][libmpv_render] [ 58] color.rgb = (vec3(0.835938) + vec3(18.851562) * color.rgb) 
[   0.554][d][libmpv_render] [ 59]              / (vec3(1.0) + vec3(18.687500) * color.rgb);
[   0.554][d][libmpv_render] [ 60] color.rgb = pow(color.rgb, vec3(78.843750));
[   0.554][d][libmpv_render] [ 61] out_color = color;
[   0.554][d][libmpv_render] [ 62] }
[   0.555][d][libmpv_render] shader link log (status=1): 
[   0.587][v][libmpv_render] Window size: 7680x4320 (Borders: l=0 t=0 r=0 b=0)
[   0.587][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.587][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320
[   0.587][v][libmpv_render] Video scale: 2.000000/2.000000
[   0.587][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.587][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   2.432][w][cplayer] Audio device underrun detected.
[   2.432][v][cplayer] restarting audio after underrun
[   2.432][w][cplayer] 
[   2.432][w][cplayer] Audio/Video desynchronisation detected! Possible reasons include too slow
[   2.432][w][cplayer] hardware, temporary CPU spikes, broken drivers, and broken files. Audio
[   2.432][w][cplayer] position will not match to the video (see A-V status field).
[   2.432][w][cplayer] 
[   2.809][w][cplayer] Audio device underrun detected.
[   2.809][v][cplayer] restarting audio after underrun
[  14.882][d][cplayer] Run command: quit, flags=73, args=[code="0"]
[  14.882][v][cplayer] EOF code: 5  
[  14.912][d][ad] Uninit decoder.
[  14.913][d][vd] Uninit decoder.
[  14.929][d][cplayer] Terminating demuxers...
[  14.929][d][cplayer] Done terminating demuxers.
[  14.929][v][cplayer] finished playback, success (reason 3)
[  14.929][i][cplayer] 
[  14.929][i][cplayer] Exiting... (Quit)
[  14.979][d][libmpv_render] flushing shader cache
[  14.979][d][osx] Exiting...
SDR Mediainfo
General
Unique ID                                : 176728439007343824872621944575518299268 (0x84F4A8C5FA630E258C5B9053645FD484)
Complete name                            : /Users/R-DO/Movies/[Kamigami] Spec Test [3840x2160@60 x265 Ma10p AAC Sub].mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 117 MiB
Duration                                 : 29 s 980 ms
Overall bit rate                         : 32.8 Mb/s
Encoded date                             : UTC 2016-11-01 03:09:28
Writing application                      : mkvmerge v8.0.0 ('Til The Day That I Die') 64bit
Writing library                          : libebml v1.3.1 + libmatroska v1.4.2
Attachments                              : A-OTF Ryumin Pr5 U-KL.TTF

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@Main
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 29 s 980 ms
Bit rate                                 : 30.3 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 59.940 (60000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.061
Stream size                              : 108 MiB (93%)
Writing library                          : x265 2.1M+24-g61fb06d+14:[Windows][GCC 5.3.0][64 bit] Yuuki 10bit
Encoding settings                        : wpp / ctu=32 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=3 / merange=44 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=1 / no-tskip / no-tskip-fast / no-strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / no-open-gop / no-temporal-layers / interlace=0 / keyint=360 / min-keyint=1 / scenecut=40 / rc-lookahead=40 / lookahead-slices=8 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / weightb / aq-mode=3 / qg-size=32 / aq-strength=0.70 / cbqpoffs=-2 / crqpoffs=-2 / rd=4 / psy-rd=1.80 / rdoq-level=2 / psy-rdoq=2.00 / log2-max-poc-lsb=8 / limit-tu=0 / no-rd-refine / signhide / deblock=-1:-1 / no-sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=crf / crf=22.0000 / qcomp=0.65 / qpmin=0 / qpmax=69 / qpstep=4 / ipratio=1.40 / pbratio=1.20
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : BT.2020 (10-bit)
Matrix coefficients                      : BT.2020 non-constant

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : A_AAC-2
Duration                                 : 29 s 952 ms
Bit rate                                 : 192 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 690 KiB (1%)
Language                                 : Japanese
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 3
Format                                   : ASS
Codec ID                                 : S_TEXT/ASS
Codec ID/Info                            : Advanced Sub Station Alpha
Duration                                 : 20 s 0 ms
Bit rate                                 : 391 b/s
Count of elements                        : 17
Compression mode                         : Lossless
Stream size                              : 978 Bytes (0%)
Title                                    : Simplified Chinese & Japanese
Language                                 : Chinese
Default                                  : Yes
Forced                                   : No
SDR log file
[   0.003][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       56.51.100
[   0.004][v][cplayer]    libavcodec      58.91.100
[   0.004][v][cplayer]    libavformat     58.45.100
[   0.004][v][cplayer]    libswscale      5.7.100
[   0.004][v][cplayer]    libavfilter     7.85.100
[   0.004][v][cplayer]    libswresample   3.7.100
[   0.004][v][cplayer] FFmpeg version: 4.3.2
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: ./waf configure
[   0.004][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.004][v][cplayer] Command line options: '--no-config' '/Users/R-DO/Movies/[Kamigami] Spec Test [3840x2160@60 x265 Ma10p AAC Sub].mkv' '--log-file=/Users/R-DO/Library/Logs/mpv/mpv-sdr.log'
[   0.004][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       56.51.100
[   0.004][v][cplayer]    libavcodec      58.91.100
[   0.004][v][cplayer]    libavformat     58.45.100
[   0.004][v][cplayer]    libswscale      5.7.100
[   0.004][v][cplayer]    libavfilter     7.85.100
[   0.004][v][cplayer]    libswresample   3.7.100
[   0.004][v][cplayer] FFmpeg version: 4.3.2
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: ./waf configure
[   0.004][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.004][d][global] config path: '' -> '-'
[   0.004][d][global] user path: '~~home/' -> ''
[   0.004][d][global] user path: '~~old_home/' -> ''
[   0.004][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'log-file' = '/Users/R-DO/Library/Logs/mpv/mpv-sdr.log' (flags = 8)
[   0.025][d][global] user path: '/Users/R-DO/Library/Logs/mpv/mpv-sdr.log' -> '/Users/R-DO/Library/Logs/mpv/mpv-sdr.log'
[   0.187][v][osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0
[   0.191][v][libmpv_render] GL_VERSION='4.1 INTEL-16.1.12'
[   0.191][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.191][v][libmpv_render] GL_VENDOR='Intel Inc.'
[   0.191][v][libmpv_render] GL_RENDERER='Intel(R) Iris(TM) Plus Graphics 650'
[   0.191][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.191][d][libmpv_render] Combined OpenGL extensions string:
[   0.191][d][libmpv_render]  GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
[   0.191][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.192][v][libmpv_render] GL_*_swap_control extension missing.
[   0.192][d][libmpv_render] Texture formats:
[   0.192][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.192][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.192][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.192][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.192][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.192][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.192][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.192][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.192][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.192][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.192][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.192][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.192][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.192][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.192][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.192][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.192][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.192][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.192][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.192][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.192][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.192][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.192][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.192][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.192][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.192][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.192][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.192][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16 16 16}
[   0.192][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.192][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.192][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.192][d][libmpv_render]  LF = linear filterable
[   0.192][d][libmpv_render]  CR = can be used for render targets
[   0.192][d][libmpv_render]  ST = can be used for storable images
[   0.192][d][libmpv_render] Image formats:
[   0.192][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.192][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.192][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.192][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.192][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.192][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.192][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.192][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.192][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.192][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.192][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.192][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.192][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.192][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.192][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.192][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.192][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.192][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.192][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.192][d][libmpv_render]   pal8
[   0.192][d][libmpv_render]   vdpau
[   0.192][d][libmpv_render]   d3d11
[   0.192][d][libmpv_render]   dxva2_vld
[   0.192][d][libmpv_render]   mmal
[   0.192][d][libmpv_render]   mediacodec
[   0.192][d][libmpv_render]   drm_prime
[   0.192][d][libmpv_render]   cuda
[   0.192][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.192][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.192][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.192][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.192][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.192][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.193][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.193][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.193][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.193][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.193][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.193][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.193][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.194][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.194][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.194][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.194][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.194][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.194][d][libmpv_render]   vdpau_output
[   0.194][d][libmpv_render]   vaapi
[   0.194][d][libmpv_render]   videotoolbox
[   0.194][d][libmpv_render]   yuyv422
[   0.194][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   monow
[   0.194][d][libmpv_render]   monob
[   0.194][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   uyyvyy411
[   0.194][d][libmpv_render]   bgr8
[   0.194][d][libmpv_render]   bgr4
[   0.194][d][libmpv_render]   bgr4_byte
[   0.194][d][libmpv_render]   rgb8
[   0.194][d][libmpv_render]   rgb4
[   0.194][d][libmpv_render]   rgb4_byte
[   0.194][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.194][d][libmpv_render]   gray16be
[   0.194][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.194][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.194][d][libmpv_render]   rgb48be
[   0.194][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.194][d][libmpv_render]   rgb565be
[   0.195][d][libmpv_render]   rgb555be
[   0.195][d][libmpv_render]   rgb555
[   0.195][d][libmpv_render]   bgr565be
[   0.195][d][libmpv_render]   bgr565
[   0.195][d][libmpv_render]   bgr555be
[   0.195][d][libmpv_render]   bgr555
[   0.195][d][libmpv_render]   vaapi_moco
[   0.195][d][libmpv_render]   vaapi_idct
[   0.195][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv420p16be
[   0.195][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv422p16be
[   0.195][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv444p16be
[   0.195][d][libmpv_render]   rgb444
[   0.195][d][libmpv_render]   rgb444be
[   0.195][d][libmpv_render]   bgr444
[   0.195][d][libmpv_render]   bgr444be
[   0.195][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.195][d][libmpv_render]   bgr48be
[   0.195][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.195][d][libmpv_render]   yuv420p9be
[   0.195][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv420p10be
[   0.195][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv422p10be
[   0.195][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv444p9be
[   0.195][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv444p10be
[   0.195][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   yuv422p9be
[   0.195][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.195][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.195][d][libmpv_render]   gbrp9be
[   0.195][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.195][d][libmpv_render]   gbrp10be
[   0.195][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.195][d][libmpv_render]   gbrp16be
[   0.195][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.195][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva420p9be
[   0.195][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva422p9be
[   0.195][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva444p9be
[   0.195][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva420p10be
[   0.195][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva422p10be
[   0.195][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva444p10be
[   0.195][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.195][d][libmpv_render]   yuva420p16be
[   0.196][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.196][d][libmpv_render]   yuva422p16be
[   0.196][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.196][d][libmpv_render]   yuva444p16be
[   0.196][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.196][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.196][d][libmpv_render]   xyz12be
[   0.196][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.196][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.196][d][libmpv_render]   nv20be
[   0.196][d][libmpv_render]   rgba64be
[   0.196][d][libmpv_render]   bgra64be
[   0.196][d][libmpv_render]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.196][d][libmpv_render]   yvyu422
[   0.196][d][libmpv_render]   ya16be
[   0.196][d][libmpv_render]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.196][d][libmpv_render]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.196][d][libmpv_render]   gbrap16be
[   0.196][d][libmpv_render]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.196][d][libmpv_render]   qsv
[   0.196][d][libmpv_render]   d3d11va_vld
[   0.196][d][libmpv_render]   yuv420p12be
[   0.196][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.196][d][libmpv_render]   yuv420p14be
[   0.196][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.196][d][libmpv_render]   yuv422p12be
[   0.196][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.196][d][libmpv_render]   yuv422p14be
[   0.196][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.197][d][libmpv_render]   yuv444p12be
[   0.197][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.197][d][libmpv_render]   yuv444p14be
[   0.197][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.197][d][libmpv_render]   gbrp12be
[   0.197][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.197][d][libmpv_render]   gbrp14be
[   0.197][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.197][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.197][d][libmpv_render]   bayer_bggr8
[   0.197][d][libmpv_render]   bayer_rggb8
[   0.200][d][libmpv_render]   bayer_gbrg8
[   0.200][d][libmpv_render]   bayer_grbg8
[   0.200][d][libmpv_render]   bayer_bggr16
[   0.200][d][libmpv_render]   bayer_bggr16be
[   0.200][d][libmpv_render]   bayer_rggb16
[   0.200][d][libmpv_render]   bayer_rggb16be
[   0.200][d][libmpv_render]   bayer_gbrg16
[   0.200][d][libmpv_render]   bayer_gbrg16be
[   0.200][d][libmpv_render]   bayer_grbg16
[   0.200][d][libmpv_render]   bayer_grbg16be
[   0.200][d][libmpv_render]   xvmc
[   0.200][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.200][d][libmpv_render]   yuv440p10be
[   0.200][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.201][d][libmpv_render]   yuv440p12be
[   0.201][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.201][d][libmpv_render]   ayuv64be
[   0.201][d][libmpv_render]   p010be
[   0.201][d][libmpv_render]   gbrap12be
[   0.201][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.201][d][libmpv_render]   gbrap10be
[   0.201][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.201][d][libmpv_render]   gray12be
[   0.201][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.201][d][libmpv_render]   gray10be
[   0.201][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.201][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.201][d][libmpv_render]   p016be
[   0.201][d][libmpv_render]   gray9be
[   0.201][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.201][d][libmpv_render]   gbrpf32be
[   0.201][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.201][d][libmpv_render]   gbrapf32be
[   0.201][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.201][d][libmpv_render]   opencl
[   0.201][d][libmpv_render]   gray14be
[   0.201][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.201][d][libmpv_render]   grayf32be
[   0.201][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.201][d][libmpv_render]   yuva422p12be
[   0.201][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.201][d][libmpv_render]   yuva444p12be
[   0.201][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.202][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.202][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.202][d][libmpv_render]   vulkan
[   0.202][d][libmpv_render]   y210be
[   0.202][d][libmpv_render]   y210
[   0.202][v][libmpv_render] Testing FBO format rgba16f
[   0.202][d][libmpv_render] Resizing texture: 16x16
[   0.202][v][libmpv_render] Using FBO format rgba16f.
[   0.202][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.202][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.202][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.202][v][cplayer] Waiting for scripts...
[   0.202][v][cplayer] Done loading scripts.
[   0.202][d][global] config path: 'watch_later' -> '-'
[   0.202][d][global] config path: 'watch_later' -> '-'
[   0.202][v][bdmv/bluray] Opening /Users/R-DO/Movies/[Kamigami] Spec Test [3840x2160@60 x265 Ma10p AAC Sub].mkv
[   0.203][v][file] Opening /Users/R-DO/Movies/[Kamigami] Spec Test [3840x2160@60 x265 Ma10p AAC Sub].mkv
[   0.203][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.203][d][file] Stream opened successfully.
[   0.203][v][demux] Trying demuxers for level=normal.
[   0.203][d][demux] Trying demuxer: disc (force-level: normal)
[   0.203][d][demux] Trying demuxer: edl (force-level: normal)
[   0.203][d][demux] Trying demuxer: cue (force-level: normal)
[   0.203][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.203][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.203][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.203][d][mkv] Found the head...
[   0.203][d][mkv] + a segment...
[   0.203][d][mkv] Parsing seek head...
[   0.203][d][mkv] |+ segment information...
[   0.204][d][mkv] float 29980.000000
[   0.204][d][mkv] | + muxing app: libebml v1.3.1 + libmatroska v1.4.2
[   0.204][d][mkv] | + writing app: mkvmerge v8.0.0 ('Til The Day That I Die') 64bit
[   0.204][d][mkv] | + timecode scale: 1000000
[   0.204][d][mkv] | + duration: 29.980s
[   0.204][d][mkv] | + segment uid 84 f4 a8 c5 fa 63 0e 25 8c 5b 90 53 64 5f d4 84
[   0.204][d][mkv] |+ segment tracks...
[   0.204][d][mkv] float 48000.000000
[   0.204][d][mkv] | + a track...
[   0.204][d][mkv] |  + Track number: 1
[   0.204][d][mkv] |  + Track type: Video
[   0.204][d][mkv] |  + Video track
[   0.204][d][mkv] |   + Display width: 3840
[   0.204][d][mkv] |   + Display height: 2160
[   0.204][d][mkv] |   + Pixel width: 3840
[   0.204][d][mkv] |   + Pixel height: 2160
[   0.204][d][mkv] |  + Codec ID: V_MPEGH/ISO/HEVC
[   0.204][d][mkv] |  + CodecPrivate, length 114
[   0.204][d][mkv] |  + Language: jpn
[   0.204][d][mkv] |  + Default duration: 16.683ms ( = 59.940 fps)
[   0.204][d][mkv] | + a track...
[   0.204][d][mkv] |  + Track number: 2
[   0.204][d][mkv] |  + Track type: Audio
[   0.204][d][mkv] |  + Audio track
[   0.204][d][mkv] |   + Sampling frequency: 48000.000000
[   0.204][d][mkv] |   + Channels: 2
[   0.204][d][mkv] |  + Codec ID: A_AAC
[   0.204][d][mkv] |  + CodecPrivate, length 2
[   0.204][d][mkv] |  + Language: jpn
[   0.204][d][mkv] |  + Default duration: 21.333ms ( = 46.875 fps)
[   0.204][d][mkv] | + a track...
[   0.205][d][mkv] |  + Track number: 3
[   0.205][d][mkv] |  + Name: 简日
[   0.205][d][mkv] |  + Track type: Subtitle
[   0.205][d][mkv] |  + Codec ID: S_TEXT/ASS
[   0.205][d][mkv] |  + CodecPrivate, length 843
[   0.205][d][mkv] |  + Language: chi
[   0.205][d][mkv] Parsing attachments...
[   0.229][d][mkv] Attachment: A-OTF Ryumin Pr5 U-KL.TTF, application/x-truetype-font, 8473472 bytes
[   0.229][d][mkv] |+ found cluster
[   0.229][v][mkv] Seeking to 122772011 to read header element 0x1c53bb6b.
[   0.229][v][file] stream level seek from 8611212 to 122772011
[   0.229][v][mkv] Parsing cues...
[   0.229][v][mkv] Seeking to 122772597 to read header element 0x1254c367.
[   0.229][v][file] stream level seek from 122773854 to 8480140
[   0.229][v][mkv] All headers are parsed!
[   0.230][v][demux] Detected file format: Matroska
[   0.230][v][cplayer] Opening done: /Users/R-DO/Movies/[Kamigami] Spec Test [3840x2160@60 x265 Ma10p AAC Sub].mkv
[   0.230][v][find_files] Loading external files in /Users/R-DO/Movies/
[   0.231][v][mkv] select track 0
[   0.231][v][mkv] select track 1
[   0.231][v][mkv] select track 2
[   0.231][i][cplayer]  (+) Video --vid=1 (*) (hevc 3840x2160 59.940fps)
[   0.231][i][cplayer]  (+) Audio --aid=1 --alang=jpn (*) (aac 2ch 48000Hz)
[   0.231][i][cplayer]  (+) Subs  --sid=1 --slang=chi (*) '简日' (ass)
[   0.234][d][vo/libmpv] screen size: 2560x1432
[   0.238][v][osx/cocoacb] Can't find an ambient light sensor
[   0.238][v][vo/libmpv] Assuming 60.000830 FPS for display sync.
[   0.238][v][vd] Container reported FPS: 59.940061
[   0.238][v][vd] Codec list:
[   0.238][v][vd]     hevc - HEVC (High Efficiency Video Coding)
[   0.238][v][vd] Opening decoder hevc
[   0.238][v][vd] No hardware decoding requested.
[   0.238][v][vd] Using software decoding.
[   0.238][v][vd] Detected 4 logical cores.
[   0.238][v][vd] Requesting 5 threads for decoding.
[   0.239][v][vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[   0.239][v][vf] User filter list:
[   0.239][v][vf]   (empty)
[   0.239][v][ad] Codec list:
[   0.239][v][ad]     aac - AAC (Advanced Audio Coding)
[   0.239][v][ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[   0.239][v][ad]     aac_at (aac) - aac (AudioToolbox)
[   0.239][v][ad] Opening decoder aac
[   0.239][v][ad] Requesting 1 threads for decoding.
[   0.241][v][ad] Selected codec: aac (AAC (Advanced Audio Coding))
[   0.241][v][af] User filter list:
[   0.241][v][af]   (empty)
[   0.243][d][sub/ass] ASS library version: 0x1500000 (runtime 0x1500000)
[   0.247][v][sub/ass] Shaper: FriBidi 1.0.10 (SIMPLE) HarfBuzz-ng 2.8.0 (COMPLEX)
[   0.247][v][sub/ass] Setting up fonts...
[   0.249][v][sub/ass] Using font provider coretext
[   0.249][v][sub/ass] Done.
[   0.250][v][cplayer] Starting playback...
[   0.251][v][af] [in] 48000Hz stereo 2ch floatp
[   0.251][v][af] [userspeed] 48000Hz stereo 2ch floatp
[   0.251][v][af] [userspeed] (disabled)
[   0.251][v][af] [convert] 48000Hz stereo 2ch floatp
[   0.251][v][ao] Trying audio driver 'coreaudio'
[   0.251][v][ao/coreaudio] requested format: 48000 Hz, stereo channels, floatp
[   0.254][d][vd] DR parameter change to 3840x2176 yuv420p10 align=64
[   0.254][d][vd] Allocating new DR image...
[   0.254][d][vd] ...failed..
[   0.254][v][vd] DR failed - disabling.
[   0.269][v][ao/coreaudio] selected audio output device: Built-in Output (49)
[   0.270][v][ao/coreaudio] input channel layout:
[   0.270][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.270][v][ao/coreaudio]  - description 0: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.270][v][ao/coreaudio]  - description 1: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.270][v][ao/coreaudio] mp chmap: unknown2
[   0.270][v][ao/coreaudio] input channel layout:
[   0.270][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.270][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.270][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.270][v][ao/coreaudio] mp chmap: stereo
[   0.270][v][ao/coreaudio] Channel layouts:
[   0.270][v][ao/coreaudio]  - stereo
[   0.270][v][ao/coreaudio]  - mono
[   0.270][v][ao/coreaudio] result: stereo
[   0.278][v][ao/coreaudio] Latency property cntl: 325 frames
[   0.278][v][ao/coreaudio] Latency property zisf: 512 frames
[   0.278][v][ao/coreaudio] Latency property tfas: 93 frames
[   0.278][v][ao/coreaudio] audiounit latency [us]: 354
[   0.278][v][ao/coreaudio] device latency [us]: 19375
[   0.278][v][ao/coreaudio] using soft-buffer of 9600 samples.
[   0.278][i][cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp
[   0.278][v][cplayer] AO: Description: CoreAudio AudioUnit
[   0.279][v][af] [convert] (disabled)
[   0.279][v][af] [out] 48000Hz stereo 2ch floatp
[   0.519][v][vd] Using software decoding.
[   0.519][v][vd] Decoder format: 3840x2160 [0:1] yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/auto CL=unknown
[   0.519][v][vd] Using container aspect ratio.
[   0.519][v][vf] [in] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.519][v][vf] [userdeint] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.519][v][vf] [userdeint] (disabled)
[   0.519][v][vf] [autorotate] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.519][v][vf] [autorotate] (disabled)
[   0.519][v][vf] [convert] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.519][v][vf] [convert] (disabled)
[   0.519][v][vf] [out] 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.535][i][cplayer] VO: [libmpv] 3840x2160 yuv420p10
[   0.535][v][cplayer] VO: Description: render API for libmpv
[   0.536][v][vo/libmpv] reconfig to 3840x2160 yuv420p10 bt.2020-ncl/bt.2020/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.565][d][vo/libmpv] screen size: 2560x1432
[   0.608][v][libmpv_render] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0)
[   0.608][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.608][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160
[   0.608][v][libmpv_render] Video scale: 1.000000/1.000000
[   0.608][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.608][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.608][v][libmpv_render] Texture for plane 0: 3840x2160
[   0.608][v][libmpv_render] Texture for plane 1: 1920x1080
[   0.608][v][libmpv_render] Texture for plane 2: 1920x1080
[   0.608][v][libmpv_render] Testing FBO format rgba16f
[   0.608][d][libmpv_render] Resizing texture: 16x16
[   0.608][v][libmpv_render] Using FBO format rgba16f.
[   0.608][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.624][v][cplayer] first video frame after restart shown
[   0.624][v][cplayer] audio ready
[   0.624][d][cplayer] starting video playback
[   0.624][v][cplayer] delaying audio start 0.000000 vs. 0.000000, diff=0.000000
[   0.624][v][cplayer] playback restart complete @ 0.000000, audio=ready, video=playing
[   0.624][v][cplayer] starting audio playback
[   0.625][d][libmpv_render] vertex shader source:
[   0.625][d][libmpv_render] [  1] #version 410
[   0.625][d][libmpv_render] [  2] #define tex1D texture
[   0.625][d][libmpv_render] [  3] #define tex3D texture
[   0.625][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.625][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.625][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   0.625][d][libmpv_render] [  7] out vec2 texcoord0;
[   0.625][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   0.625][d][libmpv_render] [  9] out vec2 texcoord1;
[   0.625][d][libmpv_render] [ 10] in vec2 vertex_texcoord2;
[   0.625][d][libmpv_render] [ 11] out vec2 texcoord2;
[   0.625][d][libmpv_render] [ 12] void main() {
[   0.625][d][libmpv_render] [ 13] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.625][d][libmpv_render] [ 14] texcoord0 = vertex_texcoord0;
[   0.625][d][libmpv_render] [ 15] texcoord1 = vertex_texcoord1;
[   0.625][d][libmpv_render] [ 16] texcoord2 = vertex_texcoord2;
[   0.625][d][libmpv_render] [ 17] }
[   0.627][d][libmpv_render] fragment shader source:
[   0.627][d][libmpv_render] [  1] #version 410
[   0.627][d][libmpv_render] [  2] #define tex1D texture
[   0.627][d][libmpv_render] [  3] #define tex3D texture
[   0.627][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.627][d][libmpv_render] [  5] out vec4 out_color;
[   0.627][d][libmpv_render] [  6] in vec2 texcoord0;
[   0.627][d][libmpv_render] [  7] in vec2 texcoord1;
[   0.627][d][libmpv_render] [  8] in vec2 texcoord2;
[   0.627][d][libmpv_render] [  9] uniform mat3 colormatrix;
[   0.627][d][libmpv_render] [ 10] uniform vec3 colormatrix_c;
[   0.627][d][libmpv_render] [ 11] uniform vec3 src_luma;
[   0.627][d][libmpv_render] [ 12] uniform vec3 dst_luma;
[   0.627][d][libmpv_render] [ 13] uniform mat3 cms_matrix;
[   0.627][d][libmpv_render] [ 14] uniform sampler2D texture0;
[   0.627][d][libmpv_render] [ 15] uniform vec2 texture_size0;
[   0.627][d][libmpv_render] [ 16] uniform mat2 texture_rot0;
[   0.627][d][libmpv_render] [ 17] uniform vec2 texture_off0;
[   0.627][d][libmpv_render] [ 18] uniform vec2 pixel_size0;
[   0.628][d][libmpv_render] [ 19] uniform sampler2D texture1;
[   0.628][d][libmpv_render] [ 20] uniform vec2 texture_size1;
[   0.628][d][libmpv_render] [ 21] uniform mat2 texture_rot1;
[   0.628][d][libmpv_render] [ 22] uniform vec2 texture_off1;
[   0.628][d][libmpv_render] [ 23] uniform vec2 pixel_size1;
[   0.628][d][libmpv_render] [ 24] uniform sampler2D texture2;
[   0.628][d][libmpv_render] [ 25] uniform vec2 texture_size2;
[   0.628][d][libmpv_render] [ 26] uniform mat2 texture_rot2;
[   0.628][d][libmpv_render] [ 27] uniform vec2 texture_off2;
[   0.628][d][libmpv_render] [ 28] uniform vec2 pixel_size2;
[   0.628][d][libmpv_render] [ 29] void main() {
[   0.628][d][libmpv_render] [ 30] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.628][d][libmpv_render] [ 31] color.r = 64.250000 * vec4(texture(texture0, texcoord0)).r;
[   0.628][d][libmpv_render] [ 32] color.g = 64.250000 * vec4(texture(texture1, texcoord1)).r;
[   0.628][d][libmpv_render] [ 33] color.b = 64.250000 * vec4(texture(texture2, texcoord2)).r;
[   0.628][d][libmpv_render] [ 34] color = color.rgbr;
[   0.628][d][libmpv_render] [ 35] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.628][d][libmpv_render] [ 36] color.a = 1.0;
[   0.628][d][libmpv_render] [ 37] // color mapping
[   0.628][d][libmpv_render] [ 38] // linearize
[   0.628][d][libmpv_render] [ 39] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.628][d][libmpv_render] [ 40] color.rgb = pow(color.rgb, vec3(2.4));
[   0.628][d][libmpv_render] [ 41] color.rgb *= vec3(1.0/1.000000);
[   0.628][d][libmpv_render] [ 42] color.rgb *= vec3(1.000000);
[   0.628][d][libmpv_render] [ 43] color.rgb = cms_matrix * color.rgb;
[   0.628][d][libmpv_render] [ 44] float cmin = min(min(color.r, color.g), color.b);
[   0.628][d][libmpv_render] [ 45] if (cmin < 0.0) { float luma = dot(dst_luma, color.rgb); float coeff = cmin / (cmin - luma); color.rgb = mix(color.rgb, vec3(luma), coeff); }
[   0.628][d][libmpv_render] [ 46] float cmax = max(max(color.r, color.g), color.b);
[   0.628][d][libmpv_render] [ 47] if (cmax > 1.0) color.rgb /= cmax;
[   0.628][d][libmpv_render] [ 48] color.rgb *= vec3(1.000000);
[   0.628][d][libmpv_render] [ 49] // delinearize
[   0.628][d][libmpv_render] [ 50] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   0.628][d][libmpv_render] [ 51] color.rgb *= vec3(1.000000);
[   0.628][d][libmpv_render] [ 52] color.rgb = pow(color.rgb, vec3(1.0/2.4));
[   0.628][d][libmpv_render] [ 53] out_color = color;
[   0.628][d][libmpv_render] [ 54] }
[   0.628][d][libmpv_render] shader link log (status=1): 
[   0.662][v][libmpv_render] Window size: 7680x4320 (Borders: l=0 t=0 r=0 b=0)
[   0.662][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.662][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320
[   0.662][v][libmpv_render] Video scale: 2.000000/2.000000
[   0.662][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.662][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   1.963][w][cplayer] Audio device underrun detected.
[   1.963][v][cplayer] restarting audio after underrun
[   2.751][w][cplayer] Audio device underrun detected.
[   2.751][v][cplayer] restarting audio after underrun
[   3.199][w][cplayer] Audio device underrun detected.
[   3.199][v][cplayer] restarting audio after underrun
[   3.199][w][cplayer] 
[   3.199][w][cplayer] Audio/Video desynchronisation detected! Possible reasons include too slow
[   3.199][w][cplayer] hardware, temporary CPU spikes, broken drivers, and broken files. Audio
[   3.199][w][cplayer] position will not match to the video (see A-V status field).
[   3.199][w][cplayer] 
[  12.233][i][sub/ass] fontselect: Using default font family: (Microsoft Yahei, 400, 0) -> /System/Library/Fonts/Helvetica.ttc, -1, Helvetica
[  12.233][v][sub/ass] fontselect: (Microsoft Yahei, 400, 0) -> /System/Library/Fonts/Helvetica.ttc, -1, Helvetica
[  12.241][v][sub/ass] Glyph 0x5DE6 not found, selecting one more font for (Microsoft Yahei, 400, 0)
[  12.281][v][sub/ass] fontselect: (Microsoft Yahei, 400, 0) -> /System/Library/Fonts/PingFang.ttc, -1, PingFangSC-Regular
[  12.295][v][libmpv_render] Reallocating OSD texture to 1024x512.
[  12.297][d][libmpv_render] vertex shader source:
[  12.297][d][libmpv_render] [  1] #version 410
[  12.297][d][libmpv_render] [  2] #define tex1D texture
[  12.297][d][libmpv_render] [  3] #define tex3D texture
[  12.297][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[  12.297][d][libmpv_render] [  5] in vec2 vertex_position;
[  12.297][d][libmpv_render] [  6] in vec2 vertex_texcoord;
[  12.297][d][libmpv_render] [  7] out vec2 texcoord;
[  12.297][d][libmpv_render] [  8] in vec4 vertex_ass_color;
[  12.297][d][libmpv_render] [  9] out vec4 ass_color;
[  12.297][d][libmpv_render] [ 10] void main() {
[  12.297][d][libmpv_render] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[  12.297][d][libmpv_render] [ 12] texcoord = vertex_texcoord;
[  12.297][d][libmpv_render] [ 13] ass_color = vertex_ass_color;
[  12.297][d][libmpv_render] [ 14] }
[  12.297][d][libmpv_render] fragment shader source:
[  12.297][d][libmpv_render] [  1] #version 410
[  12.297][d][libmpv_render] [  2] #define tex1D texture
[  12.297][d][libmpv_render] [  3] #define tex3D texture
[  12.297][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[  12.297][d][libmpv_render] [  5] out vec4 out_color;
[  12.297][d][libmpv_render] [  6] in vec2 texcoord;
[  12.297][d][libmpv_render] [  7] in vec4 ass_color;
[  12.297][d][libmpv_render] [  8] uniform sampler2D osdtex;
[  12.297][d][libmpv_render] [  9] uniform vec3 src_luma;
[  12.297][d][libmpv_render] [ 10] uniform vec3 dst_luma;
[  12.297][d][libmpv_render] [ 11] void main() {
[  12.297][d][libmpv_render] [ 12] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[  12.298][d][libmpv_render] [ 13] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[  12.298][d][libmpv_render] [ 14] // color mapping
[  12.298][d][libmpv_render] [ 15] color.rgb *= vec3(1.000000);
[  12.298][d][libmpv_render] [ 16] color.rgb *= vec3(1.000000);
[  12.298][d][libmpv_render] [ 17] out_color = color;
[  12.298][d][libmpv_render] [ 18] }
[  12.298][d][libmpv_render] shader link log (status=1): 
[  13.780][v][libmpv_render] Reallocating OSD texture to 1024x1024.
[  16.660][v][libmpv_render] Reallocating OSD texture to 2048x1024.
[  18.094][v][libmpv_render] Reallocating OSD texture to 2048x2048.
[  18.332][v][libmpv_render] Reallocating OSD texture to 4096x2048.
[  21.734][d][cplayer] Run command: quit, flags=73, args=[code="0"]
[  21.734][v][cplayer] EOF code: 5  
[  21.759][d][ad] Uninit decoder.
[  21.759][d][vd] Uninit decoder.
[  21.800][d][cplayer] Terminating demuxers...
[  21.806][d][cplayer] Done terminating demuxers.
[  21.806][v][cplayer] finished playback, success (reason 3)
[  21.806][i][cplayer] 
[  21.806][i][cplayer] Exiting... (Quit)
[  21.852][d][libmpv_render] flushing shader cache
[  21.853][d][osx] Exiting...

@Akemi
Copy link
Member Author

Akemi commented Apr 7, 2021

--macos-output-csp=auto is just analog to --d3d11-output-csp=auto and does the same for consistency. arguably auto could decide what to use based on the video characteristics, though that can be done at a different point of time and it should be consistent with other similar options, or we should merge them into one option(?).

otherwise, the default should always be the profile of the display because otherwise it will break everything else or rather the previous default case.

also see the other PR for some explanations. though --target-trc should align with the --macos-output-csp option. no idea about target-peak butt hat is also a different matter and i believe there is an issue open about this too.

@Robot-DaneelOlivaw
Copy link

Thanks for you explanation. If --macos-output-csp=auto is analog to --d3d11-output-csp=auto, any chance to mimic its behavior? In fc29620, it says it has BT.2020 PQ color space and no need to specify target-trc or target-prim manually.

@Akemi
Copy link
Member Author

Akemi commented Apr 7, 2021

the option is analogue not all of its functionality. if apple doesn't support it the way we need it, there is no way we can change that. yes, if i remember correctly we can also automatically set those option according to output-csp option, but that needs more changes in the libmpv api. though i already said that in my comment above or at leats implied. it should be done at a different point of time. i don't see a reason trying to add that now, if in the long run the whole thing might be useless. test first, gather some experience with it and get QOL changes later.

arguably auto could decide what to use based on the video characteristics, though that can be done at a different point of time

@Robot-DaneelOlivaw
Copy link

I've given this PR a bit more SDR test and it's working normally as intended. Here are some of the results with different color spaces. icc-force-contrast=1000 is used for latest mpv because back in this PR, mpv still falls back to 1000 when it detects an infinite ICC contrast ratio. Let me know if you need more test. :)

BT.709 Test Pattern

This PR with --no-config --icc-profile-auto:
PR BT.709 Test Pattern

Latest mpv with --no-config --icc-profile-auto --icc-force-contrast=1000:
latest BT.709 Test Pattern

log file
[   0.003][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.003][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.003][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.003][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.003][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.003][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.003][v][cplayer] FFmpeg version: 4.4
[   0.003][v][cplayer] 
[   0.003][v][cplayer] Configuration: ./waf configure
[   0.003][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.003][v][cplayer] Command line options: '--no-config' '--icc-profile-auto' '/Users/R-DO/Movies/QuickTime Test Pattern Movies/Original SD & HD Test Pattern movies/QuickTime_Test_Pattern_HD.mov' '--log-file=~/Downloads/mpv.log'
[   0.003][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.003][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.003][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.003][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.003][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.003][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.003][v][cplayer] FFmpeg version: 4.4
[   0.003][v][cplayer] 
[   0.003][v][cplayer] Configuration: ./waf configure
[   0.003][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.003][d][global] config path: '' -> '-'
[   0.003][d][global] user path: '~~home/' -> ''
[   0.003][d][global] user path: '~~old_home/' -> ''
[   0.003][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[   0.003][v][cplayer] Setting option 'icc-profile-auto' = '' (flags = 8)
[   0.003][v][cplayer] Setting option 'log-file' = '~/Downloads/mpv.log' (flags = 8)
[   0.022][d][global] user path: '~/Downloads/mpv.log' -> '/Users/R-DO/Downloads/mpv.log'
[   0.239][v][osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0
[   0.239][v][libmpv_render] GL_VERSION='4.1 INTEL-16.5.2'
[   0.240][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.240][v][libmpv_render] GL_VENDOR='Intel Inc.'
[   0.240][v][libmpv_render] GL_RENDERER='Intel(R) Iris(TM) Plus Graphics 650'
[   0.240][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.240][d][libmpv_render] Combined OpenGL extensions string:
[   0.240][d][libmpv_render]  GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
[   0.240][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.240][v][libmpv_render] GL_*_swap_control extension missing.
[   0.240][d][libmpv_render] Texture formats:
[   0.240][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.240][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.240][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.240][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.240][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.240][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.240][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.240][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.240][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.240][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.240][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.240][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.240][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.240][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.240][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.240][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.240][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.240][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.240][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.240][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.240][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.240][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.240][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.240][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.240][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.240][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.240][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.240][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16 16 16}
[   0.240][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.240][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.240][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.240][d][libmpv_render]  LF = linear filterable
[   0.240][d][libmpv_render]  CR = can be used for render targets
[   0.240][d][libmpv_render]  ST = can be used for storable images
[   0.240][d][libmpv_render] Image formats:
[   0.240][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.240][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.240][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.240][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.240][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.240][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.240][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.240][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.240][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.240][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.240][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.240][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.241][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.241][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.241][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.241][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.241][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.241][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.241][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.241][d][libmpv_render]   pal8
[   0.241][d][libmpv_render]   vdpau
[   0.241][d][libmpv_render]   d3d11
[   0.241][d][libmpv_render]   dxva2_vld
[   0.241][d][libmpv_render]   mmal
[   0.241][d][libmpv_render]   mediacodec
[   0.241][d][libmpv_render]   drm_prime
[   0.241][d][libmpv_render]   cuda
[   0.241][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.241][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.241][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.241][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.241][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.241][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.241][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.241][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   vdpau_output
[   0.241][d][libmpv_render]   vaapi
[   0.241][d][libmpv_render]   videotoolbox
[   0.241][d][libmpv_render]   yuyv422
[   0.241][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   monow
[   0.241][d][libmpv_render]   monob
[   0.241][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   uyyvyy411
[   0.241][d][libmpv_render]   bgr8
[   0.241][d][libmpv_render]   bgr4
[   0.241][d][libmpv_render]   bgr4_byte
[   0.241][d][libmpv_render]   rgb8
[   0.241][d][libmpv_render]   rgb4
[   0.241][d][libmpv_render]   rgb4_byte
[   0.241][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.241][d][libmpv_render]   gray16be
[   0.241][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   rgb48be
[   0.241][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.241][d][libmpv_render]   rgb565be
[   0.241][d][libmpv_render]   rgb555be
[   0.241][d][libmpv_render]   rgb555
[   0.241][d][libmpv_render]   bgr565be
[   0.241][d][libmpv_render]   bgr565
[   0.241][d][libmpv_render]   bgr555be
[   0.241][d][libmpv_render]   bgr555
[   0.241][d][libmpv_render]   vaapi_moco
[   0.241][d][libmpv_render]   vaapi_idct
[   0.241][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv420p16be
[   0.241][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv422p16be
[   0.241][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv444p16be
[   0.241][d][libmpv_render]   rgb444
[   0.241][d][libmpv_render]   rgb444be
[   0.241][d][libmpv_render]   bgr444
[   0.241][d][libmpv_render]   bgr444be
[   0.241][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.241][d][libmpv_render]   bgr48be
[   0.241][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.241][d][libmpv_render]   yuv420p9be
[   0.241][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv420p10be
[   0.241][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv422p10be
[   0.241][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv444p9be
[   0.241][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv444p10be
[   0.241][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   yuv422p9be
[   0.241][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.241][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp9be
[   0.241][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp10be
[   0.241][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   gbrp16be
[   0.241][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.241][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva420p9be
[   0.241][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva422p9be
[   0.241][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva444p9be
[   0.241][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva420p10be
[   0.241][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva422p10be
[   0.241][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva444p10be
[   0.241][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva420p16be
[   0.241][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva422p16be
[   0.241][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   yuva444p16be
[   0.241][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.241][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.242][d][libmpv_render]   xyz12be
[   0.242][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.242][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.242][d][libmpv_render]   nv20be
[   0.242][d][libmpv_render]   rgba64be
[   0.242][d][libmpv_render]   bgra64be
[   0.242][d][libmpv_render]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.242][d][libmpv_render]   yvyu422
[   0.242][d][libmpv_render]   ya16be
[   0.242][d][libmpv_render]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.242][d][libmpv_render]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.242][d][libmpv_render]   gbrap16be
[   0.242][d][libmpv_render]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.242][d][libmpv_render]   qsv
[   0.242][d][libmpv_render]   d3d11va_vld
[   0.242][d][libmpv_render]   yuv420p12be
[   0.242][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv420p14be
[   0.242][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv422p12be
[   0.242][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv422p14be
[   0.242][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv444p12be
[   0.242][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv444p14be
[   0.242][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   gbrp12be
[   0.242][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.242][d][libmpv_render]   gbrp14be
[   0.242][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.242][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   bayer_bggr8
[   0.242][d][libmpv_render]   bayer_rggb8
[   0.242][d][libmpv_render]   bayer_gbrg8
[   0.242][d][libmpv_render]   bayer_grbg8
[   0.242][d][libmpv_render]   bayer_bggr16
[   0.242][d][libmpv_render]   bayer_bggr16be
[   0.242][d][libmpv_render]   bayer_rggb16
[   0.242][d][libmpv_render]   bayer_rggb16be
[   0.242][d][libmpv_render]   bayer_gbrg16
[   0.242][d][libmpv_render]   bayer_gbrg16be
[   0.242][d][libmpv_render]   bayer_grbg16
[   0.242][d][libmpv_render]   bayer_grbg16be
[   0.242][d][libmpv_render]   xvmc
[   0.242][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv440p10be
[   0.242][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.242][d][libmpv_render]   yuv440p12be
[   0.242][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.242][d][libmpv_render]   ayuv64be
[   0.242][d][libmpv_render]   p010be
[   0.242][d][libmpv_render]   gbrap12be
[   0.242][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.242][d][libmpv_render]   gbrap10be
[   0.242][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.242][d][libmpv_render]   gray12be
[   0.242][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.242][d][libmpv_render]   gray10be
[   0.242][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.242][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.242][d][libmpv_render]   p016be
[   0.242][d][libmpv_render]   gray9be
[   0.242][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.242][d][libmpv_render]   gbrpf32be
[   0.242][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.242][d][libmpv_render]   gbrapf32be
[   0.242][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.242][d][libmpv_render]   opencl
[   0.242][d][libmpv_render]   gray14be
[   0.242][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.242][d][libmpv_render]   grayf32be
[   0.242][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.242][d][libmpv_render]   yuva422p12be
[   0.242][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.242][d][libmpv_render]   yuva444p12be
[   0.242][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.242][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.242][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.242][d][libmpv_render]   vulkan
[   0.242][d][libmpv_render]   y210be
[   0.242][d][libmpv_render]   y210
[   0.242][d][libmpv_render]   x2rgb10
[   0.242][d][libmpv_render]   x2rgb10be
[   0.242][v][libmpv_render] Testing FBO format rgba16f
[   0.242][d][libmpv_render] Resizing texture: 16x16
[   0.242][v][libmpv_render] Using FBO format rgba16f.
[   0.242][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.242][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.242][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.243][v][cplayer] Waiting for scripts...
[   0.243][v][cplayer] Done loading scripts.
[   0.243][d][global] config path: 'watch_later' -> '-'
[   0.243][d][global] config path: 'watch_later' -> '-'
[   0.243][v][bdmv/bluray] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Original SD & HD Test Pattern movies/QuickTime_Test_Pattern_HD.mov
[   0.244][v][file] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Original SD & HD Test Pattern movies/QuickTime_Test_Pattern_HD.mov
[   0.244][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.244][d][file] Stream opened successfully.
[   0.244][v][demux] Trying demuxers for level=normal.
[   0.244][d][demux] Trying demuxer: disc (force-level: normal)
[   0.244][d][demux] Trying demuxer: edl (force-level: normal)
[   0.244][d][demux] Trying demuxer: cue (force-level: normal)
[   0.244][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.244][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.244][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.244][d][demux] Trying demuxer: lavf (force-level: normal)
[   0.250][v][lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[   0.251][v][demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[   0.251][v][cplayer] Opening done: /Users/R-DO/Movies/QuickTime Test Pattern Movies/Original SD & HD Test Pattern movies/QuickTime_Test_Pattern_HD.mov
[   0.251][v][find_files] Loading external files in /Users/R-DO/Movies/QuickTime Test Pattern Movies/Original SD & HD Test Pattern movies/
[   0.251][v][lavf] select track 0
[   0.251][i][cplayer]  (+) Video --vid=1 (*) (h264 1920x1080 1.000fps)
[   0.251][i][display-tags] File tags:
[   0.251][i][display-tags]  Title: QuickTime Test Pattern HD
[   0.257][d][vo/libmpv] screen size: 2560x1428
[   0.274][v][osx/cocoacb] Can't find an ambient light sensor
[   0.276][v][vo/libmpv] Assuming 60.000830 FPS for display sync.
[   0.280][v][vd] Container reported FPS: 1.000000
[   0.281][v][vd] Codec list:
[   0.281][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.281][v][vd] Opening decoder h264
[   0.281][v][vd] No hardware decoding requested.
[   0.281][v][vd] Using software decoding.
[   0.281][v][vd] Detected 4 logical cores.
[   0.281][v][vd] Requesting 5 threads for decoding.
[   0.282][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.282][v][vf] User filter list:
[   0.282][v][vf]   (empty)
[   0.282][v][cplayer] Starting playback...
[   0.283][d][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: yuv420p
[   0.284][d][vd] DR parameter change to 1920x1090 yuv420p align=64
[   0.284][d][vd] Allocating new DR image...
[   0.285][d][vd] ...failed..
[   0.285][v][vd] DR failed - disabling.
[   0.316][v][lavf] EOF reached.
[   0.325][v][vd] Using software decoding.
[   0.325][v][vd] Decoder format: 1920x1080 [0:1] yuv420p bt.709/bt.709/bt.1886/limited/auto CL=uhd
[   0.325][v][vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.325][v][vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.325][v][vf] [userdeint] (disabled)
[   0.325][v][vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.325][v][vf] [autorotate] (disabled)
[   0.325][v][vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.325][v][vf] [convert] (disabled)
[   0.325][v][vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.326][i][cplayer] VO: [libmpv] 1920x1080 yuv420p
[   0.326][v][cplayer] VO: Description: render API for libmpv
[   0.326][v][vo/libmpv] reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=uhd
[   0.361][d][vo/libmpv] screen size: 2560x1428
[   0.403][v][libmpv_render] Testing FBO format rgba16f
[   0.403][d][libmpv_render] Resizing texture: 16x16
[   0.403][v][libmpv_render] Using FBO format rgba16f.
[   0.403][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.403][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.403][v][libmpv_render] Texture for plane 0: 1920x1080
[   0.403][v][libmpv_render] Texture for plane 1: 960x540
[   0.403][v][libmpv_render] Texture for plane 2: 960x540
[   0.403][v][libmpv_render] Testing FBO format rgba16f
[   0.403][d][libmpv_render] Resizing texture: 16x16
[   0.403][v][libmpv_render] Using FBO format rgba16f.
[   0.403][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.407][v][cplayer] first video frame after restart shown
[   0.408][d][cplayer] starting video playback
[   0.408][v][cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
[   0.611][v][libmpv_render] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0)
[   0.612][v][libmpv_render] Video source: 1920x1080 (1:1)
[   0.612][v][libmpv_render] Video display: (0, 0) 1920x1080 -> (0, 0) 3840x2160
[   0.612][v][libmpv_render] Video scale: 2.000000/2.000000
[   0.612][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.612][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.656][v][libmpv_render] Detected ICC profile contrast: inf
[   0.656][w][libmpv_render] ICC profile detected contrast very high (>100000), falling back to contrast 1000 for sanity. Set the icc-contrast option to silence this warning.
[   1.005][d][libmpv_render] vertex shader source:
[   1.005][d][libmpv_render] [  1] #version 410
[   1.005][d][libmpv_render] [  2] #define tex1D texture
[   1.005][d][libmpv_render] [  3] #define tex3D texture
[   1.005][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.005][d][libmpv_render] [  5] in vec2 vertex_position;
[   1.005][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   1.005][d][libmpv_render] [  7] out vec2 texcoord0;
[   1.006][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   1.006][d][libmpv_render] [  9] out vec2 texcoord1;
[   1.006][d][libmpv_render] [ 10] in vec2 vertex_texcoord2;
[   1.006][d][libmpv_render] [ 11] out vec2 texcoord2;
[   1.006][d][libmpv_render] [ 12] void main() {
[   1.006][d][libmpv_render] [ 13] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   1.006][d][libmpv_render] [ 14] texcoord0 = vertex_texcoord0;
[   1.006][d][libmpv_render] [ 15] texcoord1 = vertex_texcoord1;
[   1.006][d][libmpv_render] [ 16] texcoord2 = vertex_texcoord2;
[   1.006][d][libmpv_render] [ 17] }
[   1.008][d][libmpv_render] fragment shader source:
[   1.008][d][libmpv_render] [  1] #version 410
[   1.008][d][libmpv_render] [  2] #define tex1D texture
[   1.008][d][libmpv_render] [  3] #define tex3D texture
[   1.008][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.008][d][libmpv_render] [  5] out vec4 out_color;
[   1.008][d][libmpv_render] [  6] in vec2 texcoord0;
[   1.008][d][libmpv_render] [  7] in vec2 texcoord1;
[   1.008][d][libmpv_render] [  8] in vec2 texcoord2;
[   1.008][d][libmpv_render] [  9] uniform mat3 colormatrix;
[   1.008][d][libmpv_render] [ 10] uniform vec3 colormatrix_c;
[   1.008][d][libmpv_render] [ 11] uniform vec3 src_luma;
[   1.008][d][libmpv_render] [ 12] uniform vec3 dst_luma;
[   1.008][d][libmpv_render] [ 13] uniform sampler3D lut_3d;
[   1.008][d][libmpv_render] [ 14] uniform sampler2D texture0;
[   1.008][d][libmpv_render] [ 15] uniform vec2 texture_size0;
[   1.008][d][libmpv_render] [ 16] uniform mat2 texture_rot0;
[   1.008][d][libmpv_render] [ 17] uniform vec2 texture_off0;
[   1.008][d][libmpv_render] [ 18] uniform vec2 pixel_size0;
[   1.008][d][libmpv_render] [ 19] uniform sampler2D texture1;
[   1.008][d][libmpv_render] [ 20] uniform vec2 texture_size1;
[   1.008][d][libmpv_render] [ 21] uniform mat2 texture_rot1;
[   1.008][d][libmpv_render] [ 22] uniform vec2 texture_off1;
[   1.008][d][libmpv_render] [ 23] uniform vec2 pixel_size1;
[   1.008][d][libmpv_render] [ 24] uniform sampler2D texture2;
[   1.008][d][libmpv_render] [ 25] uniform vec2 texture_size2;
[   1.008][d][libmpv_render] [ 26] uniform mat2 texture_rot2;
[   1.008][d][libmpv_render] [ 27] uniform vec2 texture_off2;
[   1.008][d][libmpv_render] [ 28] uniform vec2 pixel_size2;
[   1.008][d][libmpv_render] [ 29] void main() {
[   1.008][d][libmpv_render] [ 30] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   1.008][d][libmpv_render] [ 31] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   1.008][d][libmpv_render] [ 32] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[   1.008][d][libmpv_render] [ 33] color.b = 1.000000 * vec4(texture(texture2, texcoord2)).r;
[   1.008][d][libmpv_render] [ 34] color = color.rgbr;
[   1.008][d][libmpv_render] [ 35] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   1.008][d][libmpv_render] [ 36] color.a = 1.0;
[   1.008][d][libmpv_render] [ 37] // color mapping
[   1.008][d][libmpv_render] [ 38] color.rgb *= vec3(1.000000);
[   1.008][d][libmpv_render] [ 39] color.rgb *= vec3(1.000000);
[   1.009][d][libmpv_render] [ 40] vec3 cpos;
[   1.009][d][libmpv_render] [ 41] cpos[0] = LUT_POS(color[0], 64.0);
[   1.009][d][libmpv_render] [ 42] cpos[1] = LUT_POS(color[1], 64.0);
[   1.009][d][libmpv_render] [ 43] cpos[2] = LUT_POS(color[2], 64.0);
[   1.009][d][libmpv_render] [ 44] color.rgb = tex3D(lut_3d, cpos).rgb;
[   1.009][d][libmpv_render] [ 45] out_color = color;
[   1.009][d][libmpv_render] [ 46] }
[   1.009][d][libmpv_render] shader link log (status=1): 
[   3.417][v][vf] filter input EOF
[   3.417][v][vf] filter output EOF
[   4.360][v][cplayer] using demuxer frame duration for last frame
[   4.360][d][cplayer] video EOF (status=3)
[   4.413][d][cplayer] video EOF (status=3)
[   4.616][d][cplayer] video EOF (status=3)
[   5.413][v][cplayer] video EOF reached
[   5.413][d][cplayer] video EOF (status=4)
[   5.413][v][cplayer] EOF code: 1  
[   5.413][d][vd] Uninit decoder.
[   5.415][d][cplayer] Terminating demuxers...
[   5.416][d][cplayer] Done terminating demuxers.
[   5.416][v][cplayer] finished playback, success (reason 0)
[   5.416][i][cplayer] 
[   5.416][i][cplayer] Exiting... (End of file)
[   7.752][d][libmpv_render] flushing shader cache
[   7.753][d][osx] Exiting...
sRGB Red

This PR with --no-config --icc-profile-auto:
PR sRGB Red

Latest mpv with --no-config --icc-profile-auto --icc-force-contrast=1000:
latest sRGB Red

log file
[   0.003][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.003][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.003][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.003][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.003][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.003][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.003][v][cplayer] FFmpeg version: 4.4
[   0.003][v][cplayer] 
[   0.003][v][cplayer] Configuration: ./waf configure
[   0.003][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.003][v][cplayer] Command line options: '--no-config' '--icc-profile-auto' '--log-file=~/Downloads/mpv.log' '/Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_sRGB_Internet_Web/01_sRGB_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov'
[   0.003][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.003][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.003][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.003][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.003][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.003][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.004][v][cplayer] FFmpeg version: 4.4
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: ./waf configure
[   0.004][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.004][d][global] config path: '' -> '-'
[   0.004][d][global] user path: '~~home/' -> ''
[   0.004][d][global] user path: '~~old_home/' -> ''
[   0.004][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'icc-profile-auto' = '' (flags = 8)
[   0.004][v][cplayer] Setting option 'log-file' = '~/Downloads/mpv.log' (flags = 8)
[   0.024][d][global] user path: '~/Downloads/mpv.log' -> '/Users/R-DO/Downloads/mpv.log'
[   0.260][v][osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0
[   0.263][v][libmpv_render] GL_VERSION='4.1 INTEL-16.5.2'
[   0.264][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.264][v][libmpv_render] GL_VENDOR='Intel Inc.'
[   0.264][v][libmpv_render] GL_RENDERER='Intel(R) Iris(TM) Plus Graphics 650'
[   0.264][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.264][d][libmpv_render] Combined OpenGL extensions string:
[   0.264][d][libmpv_render]  GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
[   0.264][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.264][v][libmpv_render] GL_*_swap_control extension missing.
[   0.264][d][libmpv_render] Texture formats:
[   0.264][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.264][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.264][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.265][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.265][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.265][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.265][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.265][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.265][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.265][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.265][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.265][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.265][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.265][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.265][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.265][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.265][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.265][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.265][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.265][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.265][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.265][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.265][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.265][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.265][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.265][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.265][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.265][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16 16 16}
[   0.265][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.265][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.266][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.267][d][libmpv_render]  LF = linear filterable
[   0.267][d][libmpv_render]  CR = can be used for render targets
[   0.267][d][libmpv_render]  ST = can be used for storable images
[   0.267][d][libmpv_render] Image formats:
[   0.267][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.267][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.267][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.267][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.267][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.267][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.267][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.267][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.267][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.267][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.267][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.267][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.267][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.267][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.267][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.267][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.267][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.267][d][libmpv_render]   pal8
[   0.267][d][libmpv_render]   vdpau
[   0.267][d][libmpv_render]   d3d11
[   0.267][d][libmpv_render]   dxva2_vld
[   0.267][d][libmpv_render]   mmal
[   0.267][d][libmpv_render]   mediacodec
[   0.267][d][libmpv_render]   drm_prime
[   0.267][d][libmpv_render]   cuda
[   0.267][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.267][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.267][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.267][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.267][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.267][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.267][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.267][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.267][d][libmpv_render]   vdpau_output
[   0.267][d][libmpv_render]   vaapi
[   0.267][d][libmpv_render]   videotoolbox
[   0.267][d][libmpv_render]   yuyv422
[   0.267][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   monow
[   0.267][d][libmpv_render]   monob
[   0.267][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.267][d][libmpv_render]   uyyvyy411
[   0.267][d][libmpv_render]   bgr8
[   0.267][d][libmpv_render]   bgr4
[   0.267][d][libmpv_render]   bgr4_byte
[   0.267][d][libmpv_render]   rgb8
[   0.267][d][libmpv_render]   rgb4
[   0.267][d][libmpv_render]   rgb4_byte
[   0.267][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.268][d][libmpv_render]   gray16be
[   0.268][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   rgb48be
[   0.268][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.268][d][libmpv_render]   rgb565be
[   0.268][d][libmpv_render]   rgb555be
[   0.268][d][libmpv_render]   rgb555
[   0.268][d][libmpv_render]   bgr565be
[   0.268][d][libmpv_render]   bgr565
[   0.268][d][libmpv_render]   bgr555be
[   0.268][d][libmpv_render]   bgr555
[   0.268][d][libmpv_render]   vaapi_moco
[   0.268][d][libmpv_render]   vaapi_idct
[   0.268][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv420p16be
[   0.268][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv422p16be
[   0.268][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv444p16be
[   0.268][d][libmpv_render]   rgb444
[   0.268][d][libmpv_render]   rgb444be
[   0.268][d][libmpv_render]   bgr444
[   0.268][d][libmpv_render]   bgr444be
[   0.268][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.268][d][libmpv_render]   bgr48be
[   0.268][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.268][d][libmpv_render]   yuv420p9be
[   0.268][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv420p10be
[   0.268][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv422p10be
[   0.268][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv444p9be
[   0.268][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv444p10be
[   0.268][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv422p9be
[   0.268][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   gbrp9be
[   0.268][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   gbrp10be
[   0.268][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   gbrp16be
[   0.268][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva420p9be
[   0.268][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva422p9be
[   0.268][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva444p9be
[   0.268][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva420p10be
[   0.268][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva422p10be
[   0.268][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva444p10be
[   0.268][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva420p16be
[   0.268][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva422p16be
[   0.268][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   yuva444p16be
[   0.268][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.268][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.268][d][libmpv_render]   xyz12be
[   0.268][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.268][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.268][d][libmpv_render]   nv20be
[   0.268][d][libmpv_render]   rgba64be
[   0.268][d][libmpv_render]   bgra64be
[   0.268][d][libmpv_render]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.268][d][libmpv_render]   yvyu422
[   0.268][d][libmpv_render]   ya16be
[   0.268][d][libmpv_render]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.268][d][libmpv_render]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.268][d][libmpv_render]   gbrap16be
[   0.268][d][libmpv_render]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.268][d][libmpv_render]   qsv
[   0.268][d][libmpv_render]   d3d11va_vld
[   0.268][d][libmpv_render]   yuv420p12be
[   0.268][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv420p14be
[   0.268][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv422p12be
[   0.268][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv422p14be
[   0.268][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv444p12be
[   0.268][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv444p14be
[   0.268][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   gbrp12be
[   0.268][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   gbrp14be
[   0.268][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.268][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   bayer_bggr8
[   0.268][d][libmpv_render]   bayer_rggb8
[   0.268][d][libmpv_render]   bayer_gbrg8
[   0.268][d][libmpv_render]   bayer_grbg8
[   0.268][d][libmpv_render]   bayer_bggr16
[   0.268][d][libmpv_render]   bayer_bggr16be
[   0.268][d][libmpv_render]   bayer_rggb16
[   0.268][d][libmpv_render]   bayer_rggb16be
[   0.268][d][libmpv_render]   bayer_gbrg16
[   0.268][d][libmpv_render]   bayer_gbrg16be
[   0.268][d][libmpv_render]   bayer_grbg16
[   0.268][d][libmpv_render]   bayer_grbg16be
[   0.268][d][libmpv_render]   xvmc
[   0.268][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv440p10be
[   0.268][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.268][d][libmpv_render]   yuv440p12be
[   0.268][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.269][d][libmpv_render]   ayuv64be
[   0.269][d][libmpv_render]   p010be
[   0.269][d][libmpv_render]   gbrap12be
[   0.269][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.269][d][libmpv_render]   gbrap10be
[   0.269][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.269][d][libmpv_render]   gray12be
[   0.269][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.269][d][libmpv_render]   gray10be
[   0.269][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.269][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.269][d][libmpv_render]   p016be
[   0.269][d][libmpv_render]   gray9be
[   0.269][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.269][d][libmpv_render]   gbrpf32be
[   0.269][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.269][d][libmpv_render]   gbrapf32be
[   0.269][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.269][d][libmpv_render]   opencl
[   0.269][d][libmpv_render]   gray14be
[   0.269][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.269][d][libmpv_render]   grayf32be
[   0.269][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.269][d][libmpv_render]   yuva422p12be
[   0.269][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.269][d][libmpv_render]   yuva444p12be
[   0.269][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.269][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.269][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.269][d][libmpv_render]   vulkan
[   0.269][d][libmpv_render]   y210be
[   0.269][d][libmpv_render]   y210
[   0.269][d][libmpv_render]   x2rgb10
[   0.269][d][libmpv_render]   x2rgb10be
[   0.269][v][libmpv_render] Testing FBO format rgba16f
[   0.269][d][libmpv_render] Resizing texture: 16x16
[   0.269][v][libmpv_render] Using FBO format rgba16f.
[   0.269][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.269][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.269][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.269][v][cplayer] Waiting for scripts...
[   0.269][v][cplayer] Done loading scripts.
[   0.269][d][global] config path: 'watch_later' -> '-'
[   0.269][d][global] config path: 'watch_later' -> '-'
[   0.270][v][bdmv/bluray] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_sRGB_Internet_Web/01_sRGB_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.270][v][file] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_sRGB_Internet_Web/01_sRGB_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.270][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.270][d][file] Stream opened successfully.
[   0.270][v][demux] Trying demuxers for level=normal.
[   0.270][d][demux] Trying demuxer: disc (force-level: normal)
[   0.270][d][demux] Trying demuxer: edl (force-level: normal)
[   0.270][d][demux] Trying demuxer: cue (force-level: normal)
[   0.270][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.270][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.270][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.270][d][demux] Trying demuxer: lavf (force-level: normal)
[   0.296][v][lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[   0.318][v][demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[   0.318][v][cplayer] Opening done: /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_sRGB_Internet_Web/01_sRGB_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.332][v][find_files] Loading external files in /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_sRGB_Internet_Web/
[   0.335][v][lavf] select track 0
[   0.335][i][cplayer]  (+) Video --vid=1 (*) (hevc 3840x2160 24.000fps)
[   0.335][i][display-tags] File tags:
[   0.335][i][display-tags]  Artist: Apple Inc. – IMG Media Quality
[   0.361][d][vo/libmpv] screen size: 2560x1428
[   0.368][v][osx/cocoacb] Can't find an ambient light sensor
[   0.369][v][vo/libmpv] Assuming 60.000830 FPS for display sync.
[   0.369][v][vd] Container reported FPS: 24.000000
[   0.369][v][vd] Codec list:
[   0.369][v][vd]     hevc - HEVC (High Efficiency Video Coding)
[   0.369][v][vd] Opening decoder hevc
[   0.369][v][vd] No hardware decoding requested.
[   0.369][v][vd] Using software decoding.
[   0.370][v][vd] Detected 4 logical cores.
[   0.370][v][vd] Requesting 5 threads for decoding.
[   0.370][v][vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[   0.370][v][vf] User filter list:
[   0.370][v][vf]   (empty)
[   0.370][v][cplayer] Starting playback...
[   0.372][d][vd] DR parameter change to 3840x2176 yuv420p10 align=64
[   0.372][d][vd] Allocating new DR image...
[   0.373][d][vd] ...failed..
[   0.373][v][vd] DR failed - disabling.
[   0.440][v][vd] Using software decoding.
[   0.440][v][vd] Decoder format: 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/auto CL=mpeg2/4/h264
[   0.440][v][vf] [in] 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.440][v][vf] [userdeint] 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.440][v][vf] [userdeint] (disabled)
[   0.440][v][vf] [autorotate] 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.440][v][vf] [autorotate] (disabled)
[   0.440][v][vf] [convert] 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.440][v][vf] [convert] (disabled)
[   0.440][v][vf] [out] 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.455][i][cplayer] VO: [libmpv] 3840x2160 yuv420p10
[   0.455][v][cplayer] VO: Description: render API for libmpv
[   0.455][v][vo/libmpv] reconfig to 3840x2160 yuv420p10 bt.709/bt.709/srgb/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.484][d][vo/libmpv] screen size: 2560x1428
[   0.525][v][libmpv_render] Testing FBO format rgba16f
[   0.527][d][libmpv_render] Resizing texture: 16x16
[   0.527][v][libmpv_render] Using FBO format rgba16f.
[   0.527][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.527][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.527][v][libmpv_render] Texture for plane 0: 3840x2160
[   0.527][v][libmpv_render] Texture for plane 1: 1920x1080
[   0.527][v][libmpv_render] Texture for plane 2: 1920x1080
[   0.527][v][libmpv_render] Testing FBO format rgba16f
[   0.527][d][libmpv_render] Resizing texture: 16x16
[   0.528][v][libmpv_render] Using FBO format rgba16f.
[   0.528][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.546][v][cplayer] first video frame after restart shown
[   0.547][d][cplayer] starting video playback
[   0.547][v][cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
[   0.556][v][libmpv_render] Window size: 7680x4320 (Borders: l=0 t=0 r=0 b=0)
[   0.556][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.556][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320
[   0.556][v][libmpv_render] Video scale: 2.000000/2.000000
[   0.556][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.556][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.844][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   0.974][d][libmpv_render] vertex shader source:
[   0.974][d][libmpv_render] [  1] #version 410
[   0.974][d][libmpv_render] [  2] #define tex1D texture
[   0.974][d][libmpv_render] [  3] #define tex3D texture
[   0.974][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.974][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.974][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   0.974][d][libmpv_render] [  7] out vec2 texcoord0;
[   0.974][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   0.974][d][libmpv_render] [  9] out vec2 texcoord1;
[   0.974][d][libmpv_render] [ 10] in vec2 vertex_texcoord2;
[   0.974][d][libmpv_render] [ 11] out vec2 texcoord2;
[   1.027][d][libmpv_render] [ 12] void main() {
[   1.027][d][libmpv_render] [ 13] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   1.027][d][libmpv_render] [ 14] texcoord0 = vertex_texcoord0;
[   1.027][d][libmpv_render] [ 15] texcoord1 = vertex_texcoord1;
[   1.027][d][libmpv_render] [ 16] texcoord2 = vertex_texcoord2;
[   1.027][d][libmpv_render] [ 17] }
[   1.032][d][libmpv_render] fragment shader source:
[   1.032][d][libmpv_render] [  1] #version 410
[   1.032][d][libmpv_render] [  2] #define tex1D texture
[   1.032][d][libmpv_render] [  3] #define tex3D texture
[   1.032][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.032][d][libmpv_render] [  5] out vec4 out_color;
[   1.032][d][libmpv_render] [  6] in vec2 texcoord0;
[   1.033][d][libmpv_render] [  7] in vec2 texcoord1;
[   1.033][d][libmpv_render] [  8] in vec2 texcoord2;
[   1.033][d][libmpv_render] [  9] uniform mat3 colormatrix;
[   1.033][d][libmpv_render] [ 10] uniform vec3 colormatrix_c;
[   1.033][d][libmpv_render] [ 11] uniform vec3 src_luma;
[   1.033][d][libmpv_render] [ 12] uniform vec3 dst_luma;
[   1.033][d][libmpv_render] [ 13] uniform sampler3D lut_3d;
[   1.033][d][libmpv_render] [ 14] uniform sampler2D texture0;
[   1.033][d][libmpv_render] [ 15] uniform vec2 texture_size0;
[   1.033][d][libmpv_render] [ 16] uniform mat2 texture_rot0;
[   1.033][d][libmpv_render] [ 17] uniform vec2 texture_off0;
[   1.033][d][libmpv_render] [ 18] uniform vec2 pixel_size0;
[   1.033][d][libmpv_render] [ 19] uniform sampler2D texture1;
[   1.033][d][libmpv_render] [ 20] uniform vec2 texture_size1;
[   1.033][d][libmpv_render] [ 21] uniform mat2 texture_rot1;
[   1.033][d][libmpv_render] [ 22] uniform vec2 texture_off1;
[   1.033][d][libmpv_render] [ 23] uniform vec2 pixel_size1;
[   1.033][d][libmpv_render] [ 24] uniform sampler2D texture2;
[   1.033][d][libmpv_render] [ 25] uniform vec2 texture_size2;
[   1.033][d][libmpv_render] [ 26] uniform mat2 texture_rot2;
[   1.033][d][libmpv_render] [ 27] uniform vec2 texture_off2;
[   1.033][d][libmpv_render] [ 28] uniform vec2 pixel_size2;
[   1.033][d][libmpv_render] [ 29] void main() {
[   1.033][d][libmpv_render] [ 30] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   1.033][d][libmpv_render] [ 31] color.r = 64.250000 * vec4(texture(texture0, texcoord0)).r;
[   1.033][d][libmpv_render] [ 32] color.g = 64.250000 * vec4(texture(texture1, texcoord1)).r;
[   1.033][d][libmpv_render] [ 33] color.b = 64.250000 * vec4(texture(texture2, texcoord2)).r;
[   1.033][d][libmpv_render] [ 34] color = color.rgbr;
[   1.033][d][libmpv_render] [ 35] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   1.033][d][libmpv_render] [ 36] color.a = 1.0;
[   1.033][d][libmpv_render] [ 37] // color mapping
[   1.033][d][libmpv_render] [ 38] color.rgb *= vec3(1.000000);
[   1.033][d][libmpv_render] [ 39] color.rgb *= vec3(1.000000);
[   1.033][d][libmpv_render] [ 40] vec3 cpos;
[   1.033][d][libmpv_render] [ 41] cpos[0] = LUT_POS(color[0], 64.0);
[   1.033][d][libmpv_render] [ 42] cpos[1] = LUT_POS(color[1], 64.0);
[   1.033][d][libmpv_render] [ 43] cpos[2] = LUT_POS(color[2], 64.0);
[   1.033][d][libmpv_render] [ 44] color.rgb = tex3D(lut_3d, cpos).rgb;
[   1.033][d][libmpv_render] [ 45] out_color = color;
[   1.033][d][libmpv_render] [ 46] }
[   1.033][d][libmpv_render] shader link log (status=1): 
[   1.050][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   1.454][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   1.769][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   2.001][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   2.561][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[  10.754][v][lavf] EOF reached.
[  11.917][v][vf] filter input EOF
[  11.917][v][vf] filter output EOF
[  11.959][v][cplayer] using demuxer frame duration for last frame
[  11.959][d][cplayer] video EOF (status=3)
[  12.012][d][cplayer] video EOF (status=3)
[  12.044][v][cplayer] video EOF reached
[  12.044][d][cplayer] video EOF (status=4)
[  12.044][v][cplayer] EOF code: 1  
[  12.044][d][vd] Uninit decoder.
[  12.083][d][cplayer] Terminating demuxers...
[  12.083][d][cplayer] Done terminating demuxers.
[  12.083][v][cplayer] finished playback, success (reason 0)
[  12.083][i][cplayer] 
[  12.084][i][cplayer] Exiting... (End of file)
[  12.100][d][libmpv_render] flushing shader cache
[  12.101][d][osx] Exiting...
Display P3 Red

This PR with --no-config --icc-profile-auto:
PR D65 P3 Red

Latest mpv with --no-config --icc-profile-auto --icc-force-contrast=1000:
latest D65 P3 Red

log file
[   0.019][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.019][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.019][v][cplayer] FFmpeg library versions:
[   0.019][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.019][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.019][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.019][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.019][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.019][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.019][v][cplayer] FFmpeg version: 4.4
[   0.019][v][cplayer] 
[   0.019][v][cplayer] Configuration: ./waf configure
[   0.019][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.019][v][cplayer] Command line options: '--no-config' '--icc-profile-auto' '--log-file=~/Downloads/mpv.log' '/Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_D65_P3_Digital_Cinema/01_D65_P3_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov'
[   0.019][v][cplayer] mpv 0.29.0-2324-g4773d54fc5 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.019][v][cplayer]  built on Wed Apr  7 12:04:58 CST 2021
[   0.019][v][cplayer] FFmpeg library versions:
[   0.020][v][cplayer]    libavutil       56.51.100 (runtime 56.70.100)
[   0.020][v][cplayer]    libavcodec      58.91.100 (runtime 58.134.100)
[   0.020][v][cplayer]    libavformat     58.45.100 (runtime 58.76.100)
[   0.020][v][cplayer]    libswscale      5.7.100 (runtime 5.9.100)
[   0.020][v][cplayer]    libavfilter     7.85.100 (runtime 7.110.100)
[   0.020][v][cplayer]    libswresample   3.7.100 (runtime 3.9.100)
[   0.020][v][cplayer] FFmpeg version: 4.4
[   0.020][v][cplayer] 
[   0.020][v][cplayer] Configuration: ./waf configure
[   0.020][v][cplayer] List of enabled features: asm bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg lcms2 libass libavdevice libbluray libdl libm macos-10-11-2-features macos-10-11-features macos-10-12-2-features macos-10-12-features macos-10-14-6-features macos-10-14-features macos-10-15-4-features macos-cocoa-cb macos-media-player macos-touchbar optimize osx-thread-name posix posix-or-mingw pthreads rubberband stdatomic swift uchardet vapoursynth videotoolbox-gl videotoolbox-hwaccel zimg zlib
[   0.020][d][global] config path: '' -> '-'
[   0.020][d][global] user path: '~~home/' -> ''
[   0.020][d][global] user path: '~~old_home/' -> ''
[   0.020][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[   0.020][v][cplayer] Setting option 'icc-profile-auto' = '' (flags = 8)
[   0.020][v][cplayer] Setting option 'log-file' = '~/Downloads/mpv.log' (flags = 8)
[   0.045][d][global] user path: '~/Downloads/mpv.log' -> '/Users/R-DO/Downloads/mpv.log'
[   0.288][v][osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFAColorSize, 64, kCGLPFAColorFloat, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching, 0
[   0.296][v][libmpv_render] GL_VERSION='4.1 INTEL-16.5.2'
[   0.296][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.296][v][libmpv_render] GL_VENDOR='Intel Inc.'
[   0.296][v][libmpv_render] GL_RENDERER='Intel(R) Iris(TM) Plus Graphics 650'
[   0.296][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.296][d][libmpv_render] Combined OpenGL extensions string:
[   0.296][d][libmpv_render]  GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_attrib_64bit GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier
[   0.296][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.296][v][libmpv_render] GL_*_swap_control extension missing.
[   0.296][d][libmpv_render] Texture formats:
[   0.296][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.296][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.296][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.296][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.296][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.296][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.296][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.296][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.296][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.296][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.296][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.296][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.297][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.297][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.297][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.297][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.297][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.297][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.297][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.297][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.297][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.297][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.297][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.297][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.297][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.297][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.297][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.297][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16 16 16}
[   0.297][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.297][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.297][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.297][d][libmpv_render]  LF = linear filterable
[   0.297][d][libmpv_render]  CR = can be used for render targets
[   0.297][d][libmpv_render]  ST = can be used for storable images
[   0.297][d][libmpv_render] Image formats:
[   0.304][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.305][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.305][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.305][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.305][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.305][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.305][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.305][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.305][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.305][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.305][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.305][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.305][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.305][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.305][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.305][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.305][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.305][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.305][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.305][d][libmpv_render]   pal8
[   0.305][d][libmpv_render]   vdpau
[   0.305][d][libmpv_render]   d3d11
[   0.305][d][libmpv_render]   dxva2_vld
[   0.305][d][libmpv_render]   mmal
[   0.305][d][libmpv_render]   mediacodec
[   0.305][d][libmpv_render]   drm_prime
[   0.305][d][libmpv_render]   cuda
[   0.305][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.305][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.305][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.305][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.305][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.305][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.305][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.305][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.305][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.305][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.305][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.310][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.310][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.310][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.310][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.310][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.310][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.310][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.310][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.310][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.310][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   vdpau_output
[   0.311][d][libmpv_render]   vaapi
[   0.311][d][libmpv_render]   videotoolbox
[   0.311][d][libmpv_render]   yuyv422
[   0.311][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   monow
[   0.311][d][libmpv_render]   monob
[   0.311][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   uyyvyy411
[   0.311][d][libmpv_render]   bgr8
[   0.311][d][libmpv_render]   bgr4
[   0.311][d][libmpv_render]   bgr4_byte
[   0.311][d][libmpv_render]   rgb8
[   0.311][d][libmpv_render]   rgb4
[   0.311][d][libmpv_render]   rgb4_byte
[   0.311][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.311][d][libmpv_render]   gray16be
[   0.311][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   rgb48be
[   0.311][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.311][d][libmpv_render]   rgb565be
[   0.311][d][libmpv_render]   rgb555be
[   0.311][d][libmpv_render]   rgb555
[   0.311][d][libmpv_render]   bgr565be
[   0.311][d][libmpv_render]   bgr565
[   0.311][d][libmpv_render]   bgr555be
[   0.311][d][libmpv_render]   bgr555
[   0.311][d][libmpv_render]   vaapi_moco
[   0.311][d][libmpv_render]   vaapi_idct
[   0.311][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv420p16be
[   0.311][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv422p16be
[   0.311][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv444p16be
[   0.311][d][libmpv_render]   rgb444
[   0.311][d][libmpv_render]   rgb444be
[   0.311][d][libmpv_render]   bgr444
[   0.311][d][libmpv_render]   bgr444be
[   0.311][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.311][d][libmpv_render]   bgr48be
[   0.311][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.311][d][libmpv_render]   yuv420p9be
[   0.311][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv420p10be
[   0.311][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv422p10be
[   0.311][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv444p9be
[   0.311][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv444p10be
[   0.311][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   yuv422p9be
[   0.311][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.311][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   gbrp9be
[   0.311][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   gbrp10be
[   0.311][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   gbrp16be
[   0.311][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.311][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva420p9be
[   0.311][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva422p9be
[   0.311][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva444p9be
[   0.311][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva420p10be
[   0.311][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva422p10be
[   0.311][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva444p10be
[   0.311][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva420p16be
[   0.311][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva422p16be
[   0.311][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   yuva444p16be
[   0.311][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.311][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.311][d][libmpv_render]   xyz12be
[   0.311][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.311][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.311][d][libmpv_render]   nv20be
[   0.311][d][libmpv_render]   rgba64be
[   0.311][d][libmpv_render]   bgra64be
[   0.311][d][libmpv_render]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.311][d][libmpv_render]   yvyu422
[   0.311][d][libmpv_render]   ya16be
[   0.311][d][libmpv_render]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.311][d][libmpv_render]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.311][d][libmpv_render]   gbrap16be
[   0.311][d][libmpv_render]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.311][d][libmpv_render]   qsv
[   0.311][d][libmpv_render]   d3d11va_vld
[   0.311][d][libmpv_render]   yuv420p12be
[   0.312][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv420p14be
[   0.312][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv422p12be
[   0.312][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv422p14be
[   0.312][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv444p12be
[   0.312][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv444p14be
[   0.312][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   gbrp12be
[   0.312][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.312][d][libmpv_render]   gbrp14be
[   0.312][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.312][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   bayer_bggr8
[   0.312][d][libmpv_render]   bayer_rggb8
[   0.312][d][libmpv_render]   bayer_gbrg8
[   0.312][d][libmpv_render]   bayer_grbg8
[   0.312][d][libmpv_render]   bayer_bggr16
[   0.312][d][libmpv_render]   bayer_bggr16be
[   0.312][d][libmpv_render]   bayer_rggb16
[   0.312][d][libmpv_render]   bayer_rggb16be
[   0.312][d][libmpv_render]   bayer_gbrg16
[   0.312][d][libmpv_render]   bayer_gbrg16be
[   0.312][d][libmpv_render]   bayer_grbg16
[   0.312][d][libmpv_render]   bayer_grbg16be
[   0.312][d][libmpv_render]   xvmc
[   0.312][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv440p10be
[   0.312][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.312][d][libmpv_render]   yuv440p12be
[   0.312][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.312][d][libmpv_render]   ayuv64be
[   0.312][d][libmpv_render]   p010be
[   0.312][d][libmpv_render]   gbrap12be
[   0.312][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.312][d][libmpv_render]   gbrap10be
[   0.312][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.312][d][libmpv_render]   gray12be
[   0.312][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.312][d][libmpv_render]   gray10be
[   0.312][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.312][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.312][d][libmpv_render]   p016be
[   0.312][d][libmpv_render]   gray9be
[   0.312][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.312][d][libmpv_render]   gbrpf32be
[   0.312][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.312][d][libmpv_render]   gbrapf32be
[   0.312][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.312][d][libmpv_render]   opencl
[   0.312][d][libmpv_render]   gray14be
[   0.312][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.312][d][libmpv_render]   grayf32be
[   0.312][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.312][d][libmpv_render]   yuva422p12be
[   0.312][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.312][d][libmpv_render]   yuva444p12be
[   0.312][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.312][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.312][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.312][d][libmpv_render]   vulkan
[   0.312][d][libmpv_render]   y210be
[   0.312][d][libmpv_render]   y210
[   0.312][d][libmpv_render]   x2rgb10
[   0.312][d][libmpv_render]   x2rgb10be
[   0.312][v][libmpv_render] Testing FBO format rgba16f
[   0.312][d][libmpv_render] Resizing texture: 16x16
[   0.312][v][libmpv_render] Using FBO format rgba16f.
[   0.312][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.312][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.312][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.313][d][global] config path: 'watch_later' -> '-'
[   0.313][d][global] config path: 'watch_later' -> '-'
[   0.313][v][bdmv/bluray] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_D65_P3_Digital_Cinema/01_D65_P3_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.313][v][file] Opening /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_D65_P3_Digital_Cinema/01_D65_P3_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.313][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.313][d][file] Stream opened successfully.
[   0.313][v][demux] Trying demuxers for level=normal.
[   0.313][d][demux] Trying demuxer: disc (force-level: normal)
[   0.327][d][demux] Trying demuxer: edl (force-level: normal)
[   0.327][d][demux] Trying demuxer: cue (force-level: normal)
[   0.327][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.328][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.328][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.328][d][demux] Trying demuxer: lavf (force-level: normal)
[   0.339][v][lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[   0.343][v][demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[   0.343][v][cplayer] Opening done: /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_D65_P3_Digital_Cinema/01_D65_P3_RED_25pct_Patch_100pct_Saturation_100pct_Amplitude_UHD_SDR.mov
[   0.344][v][find_files] Loading external files in /Users/R-DO/Movies/QuickTime Test Pattern Movies/Color Primaries and Secondaries/SDR_D65_P3_Digital_Cinema/
[   0.344][v][lavf] select track 0
[   0.346][i][cplayer]  (+) Video --vid=1 (*) (hevc 3840x2160 24.000fps)
[   0.346][i][display-tags] File tags:
[   0.346][i][display-tags]  Artist: Apple Inc. – IMG Media Quality
[   0.353][d][vo/libmpv] screen size: 2560x1432
[   0.358][v][osx/cocoacb] Can't find an ambient light sensor
[   0.359][v][osx/cocoacb] Falling back to nominal display refresh rate: 60.00082845465592
[   0.360][v][vo/libmpv] Assuming 60.000828 FPS for display sync.
[   0.360][v][vd] Container reported FPS: 24.000000
[   0.362][v][vd] Codec list:
[   0.362][v][vd]     hevc - HEVC (High Efficiency Video Coding)
[   0.362][v][vd] Opening decoder hevc
[   0.362][v][vd] No hardware decoding requested.
[   0.362][v][vd] Using software decoding.
[   0.362][v][vd] Detected 4 logical cores.
[   0.362][v][vd] Requesting 5 threads for decoding.
[   0.363][v][vd] Selected codec: hevc (HEVC (High Efficiency Video Coding))
[   0.363][v][vf] User filter list:
[   0.363][v][vf]   (empty)
[   0.363][v][cplayer] Starting playback...
[   0.365][d][vd] DR parameter change to 3840x2176 yuv420p10 align=64
[   0.365][d][vd] Allocating new DR image...
[   0.365][d][vd] ...failed..
[   0.365][v][vd] DR failed - disabling.
[   0.437][v][vd] Using software decoding.
[   0.437][v][vd] Decoder format: 3840x2160 yuv420p10 bt.601/display-p3/auto/limited/auto CL=mpeg2/4/h264
[   0.437][v][vf] [in] 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.437][v][vf] [userdeint] 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.437][v][vf] [userdeint] (disabled)
[   0.437][v][vf] [autorotate] 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.437][v][vf] [autorotate] (disabled)
[   0.437][v][vf] [convert] 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.437][v][vf] [convert] (disabled)
[   0.437][v][vf] [out] 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.456][i][cplayer] VO: [libmpv] 3840x2160 yuv420p10
[   0.456][v][cplayer] VO: Description: render API for libmpv
[   0.456][v][vo/libmpv] reconfig to 3840x2160 yuv420p10 bt.601/display-p3/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.497][d][vo/libmpv] screen size: 2560x1432
[   0.532][v][libmpv_render] Testing FBO format rgba16f
[   0.532][d][libmpv_render] Resizing texture: 16x16
[   0.532][v][libmpv_render] Using FBO format rgba16f.
[   0.532][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.532][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.533][v][libmpv_render] Texture for plane 0: 3840x2160
[   0.533][v][libmpv_render] Texture for plane 1: 1920x1080
[   0.534][v][libmpv_render] Texture for plane 2: 1920x1080
[   0.534][v][libmpv_render] Testing FBO format rgba16f
[   0.534][d][libmpv_render] Resizing texture: 16x16
[   0.534][v][libmpv_render] Using FBO format rgba16f.
[   0.534][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.542][v][cplayer] first video frame after restart shown
[   0.542][d][cplayer] starting video playback
[   0.542][v][cplayer] playback restart complete @ 0.000000, audio=eof, video=playing
[   0.547][v][libmpv_render] Window size: 3840x2160 (Borders: l=0 t=0 r=0 b=0)
[   0.547][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.547][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160
[   0.547][v][libmpv_render] Video scale: 1.000000/1.000000
[   0.547][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.547][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.564][v][libmpv_render] Detected ICC profile contrast: inf
[   0.564][w][libmpv_render] ICC profile detected contrast very high (>100000), falling back to contrast 1000 for sanity. Set the icc-contrast option to silence this warning.
[   0.639][d][libmpv_render] vertex shader source:
[   0.639][d][libmpv_render] [  1] #version 410
[   0.639][d][libmpv_render] [  2] #define tex1D texture
[   0.639][d][libmpv_render] [  3] #define tex3D texture
[   0.639][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.639][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.639][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   0.639][d][libmpv_render] [  7] out vec2 texcoord0;
[   0.639][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   0.639][d][libmpv_render] [  9] out vec2 texcoord1;
[   0.640][d][libmpv_render] [ 10] in vec2 vertex_texcoord2;
[   0.640][d][libmpv_render] [ 11] out vec2 texcoord2;
[   0.640][d][libmpv_render] [ 12] void main() {
[   0.640][d][libmpv_render] [ 13] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.640][d][libmpv_render] [ 14] texcoord0 = vertex_texcoord0;
[   0.640][d][libmpv_render] [ 15] texcoord1 = vertex_texcoord1;
[   0.640][d][libmpv_render] [ 16] texcoord2 = vertex_texcoord2;
[   0.640][d][libmpv_render] [ 17] }
[   0.643][d][libmpv_render] fragment shader source:
[   0.643][d][libmpv_render] [  1] #version 410
[   0.643][d][libmpv_render] [  2] #define tex1D texture
[   0.643][d][libmpv_render] [  3] #define tex3D texture
[   0.643][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.643][d][libmpv_render] [  5] out vec4 out_color;
[   0.643][d][libmpv_render] [  6] in vec2 texcoord0;
[   0.643][d][libmpv_render] [  7] in vec2 texcoord1;
[   0.643][d][libmpv_render] [  8] in vec2 texcoord2;
[   0.643][d][libmpv_render] [  9] uniform mat3 colormatrix;
[   0.643][d][libmpv_render] [ 10] uniform vec3 colormatrix_c;
[   0.643][d][libmpv_render] [ 11] uniform vec3 src_luma;
[   0.643][d][libmpv_render] [ 12] uniform vec3 dst_luma;
[   0.643][d][libmpv_render] [ 13] uniform sampler3D lut_3d;
[   0.643][d][libmpv_render] [ 14] uniform sampler2D texture0;
[   0.643][d][libmpv_render] [ 15] uniform vec2 texture_size0;
[   0.643][d][libmpv_render] [ 16] uniform mat2 texture_rot0;
[   0.643][d][libmpv_render] [ 17] uniform vec2 texture_off0;
[   0.643][d][libmpv_render] [ 18] uniform vec2 pixel_size0;
[   0.643][d][libmpv_render] [ 19] uniform sampler2D texture1;
[   0.643][d][libmpv_render] [ 20] uniform vec2 texture_size1;
[   0.643][d][libmpv_render] [ 21] uniform mat2 texture_rot1;
[   0.643][d][libmpv_render] [ 22] uniform vec2 texture_off1;
[   0.643][d][libmpv_render] [ 23] uniform vec2 pixel_size1;
[   0.643][d][libmpv_render] [ 24] uniform sampler2D texture2;
[   0.643][d][libmpv_render] [ 25] uniform vec2 texture_size2;
[   0.643][d][libmpv_render] [ 26] uniform mat2 texture_rot2;
[   0.643][d][libmpv_render] [ 27] uniform vec2 texture_off2;
[   0.643][d][libmpv_render] [ 28] uniform vec2 pixel_size2;
[   0.643][d][libmpv_render] [ 29] void main() {
[   0.643][d][libmpv_render] [ 30] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.643][d][libmpv_render] [ 31] color.r = 64.250000 * vec4(texture(texture0, texcoord0)).r;
[   0.643][d][libmpv_render] [ 32] color.g = 64.250000 * vec4(texture(texture1, texcoord1)).r;
[   0.643][d][libmpv_render] [ 33] color.b = 64.250000 * vec4(texture(texture2, texcoord2)).r;
[   0.643][d][libmpv_render] [ 34] color = color.rgbr;
[   0.643][d][libmpv_render] [ 35] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.643][d][libmpv_render] [ 36] color.a = 1.0;
[   0.643][d][libmpv_render] [ 37] // color mapping
[   0.643][d][libmpv_render] [ 38] color.rgb *= vec3(1.000000);
[   0.643][d][libmpv_render] [ 39] color.rgb *= vec3(1.000000);
[   0.643][d][libmpv_render] [ 40] vec3 cpos;
[   0.643][d][libmpv_render] [ 41] cpos[0] = LUT_POS(color[0], 64.0);
[   0.643][d][libmpv_render] [ 42] cpos[1] = LUT_POS(color[1], 64.0);
[   0.643][d][libmpv_render] [ 43] cpos[2] = LUT_POS(color[2], 64.0);
[   0.643][d][libmpv_render] [ 44] color.rgb = tex3D(lut_3d, cpos).rgb;
[   0.643][d][libmpv_render] [ 45] out_color = color;
[   0.643][d][libmpv_render] [ 46] }
[   0.644][d][libmpv_render] shader link log (status=1): 
[   0.674][v][libmpv_render] Window size: 7680x4320 (Borders: l=0 t=0 r=0 b=0)
[   0.678][v][libmpv_render] Video source: 3840x2160 (1:1)
[   0.678][v][libmpv_render] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320
[   0.678][v][libmpv_render] Video scale: 2.000000/2.000000
[   0.678][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.678][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[  11.152][v][lavf] EOF reached.
[  12.322][v][vf] filter input EOF
[  12.322][v][vf] filter output EOF
[  12.359][v][cplayer] using demuxer frame duration for last frame
[  12.360][d][cplayer] video EOF (status=3)
[  12.414][d][cplayer] video EOF (status=3)
[  12.443][v][cplayer] video EOF reached
[  12.443][d][cplayer] video EOF (status=4)
[  12.443][v][cplayer] EOF code: 1  
[  12.444][d][vd] Uninit decoder.
[  12.480][d][cplayer] Terminating demuxers...
[  12.481][d][cplayer] Done terminating demuxers.
[  12.481][v][cplayer] finished playback, success (reason 0)
[  12.481][i][cplayer] 
[  12.481][i][cplayer] Exiting... (End of file)
[  12.495][d][libmpv_render] flushing shader cache
[  12.496][d][osx] Exiting...

@kvell36
Copy link

kvell36 commented Nov 10, 2021

If there's no issues can someone merge this in, would be really nice to have this fixed so that media players that use mpv like iina can properly support HDR on MacOS

@Akemi
Copy link
Member Author

Akemi commented Nov 10, 2021

no it can't be merged. the PR is not properly tested and it still needs cleaning up. also iina, or other media players, can't profit from this. they have to implement this themselves.

@akash329d
Copy link

@Akemi what would constitute proper testing? I’m happy to do some testing if it’s something I can do.

@Akemi
Copy link
Member Author

Akemi commented Nov 14, 2021

see my comments above, for example #8485 (comment).

if possible i would like to test it myself properly, but who knows when or if i get a new mac.

@mozi-lu
Copy link

mozi-lu commented Nov 15, 2021

It works fine for me. I used "Sony Bravia OLED 4K Demo.mp4" to test it,it perform the same or even better than QuickTime.

IMG_6319.mp4

When i set the maximum brightness or use the screenshot, you can see some different, but i don't know it is a problem or not.

photo:
2341636963878_ pic_hd

screenshot:
image

Here is my config to trigger HDR automatically:

[HDR_PQ]
profile-desc=HDR
# profile-cond=get("video-params/sig-peak", 0) > 1
profile-cond=get("video-params/gamma", "") == "pq"
macos-output-csp=display_p3_pq
target-trc=pq
[HDR_HLG]
profile-desc=HDR
# profile-cond=get("video-params/sig-peak", 0) > 1
profile-cond=get("video-params/gamma", "") == "hlg"
macos-output-csp=display_p3_hlg
target-trc=hlg
[SDR]
profile-desc=SDR
# profile-cond=get("video-params/sig-peak", 0) <= 1
profile-cond=get("video-params/gamma", "") ~= "pq" and get("video-params/gamma", 0) ~= "hlg"
macos-output-csp=display_p3
target-trc=auto

Also can use input config to manually trigger it:

CTRL+h set macos-output-csp  "display_p3_pq"; set target-trc "pq"; show-text "ColorSpace: P3 PQ"
CTRL+g set macos-output-csp  "display_p3_hlg"; set target-trc "hlg"; show-text "ColorSpace: P3 HLG"
CTRL+s set macos-output-csp  "display_p3"; set target-trc "auto"; show-text "ColorSpace: P3"

@Akemi
Copy link
Member Author

Akemi commented Nov 15, 2021

you cannot open quicktime and mpv at the same time and compare. quicktime sets the same/similar settings that influence the whole system. if you have both open at the same time you don't know if quicktime set those correctly or mpv.

@ShixAJ
Copy link

ShixAJ commented Dec 28, 2021

Would this allow for Dolby Vision support too?

@haasn
Copy link
Member

haasn commented Dec 28, 2021

Dolby Vision forwarding to the display? Or Dolby Vision decoding in mpv?

@ShixAJ
Copy link

ShixAJ commented Dec 28, 2021

Dolby Vision forwarding to the display? Or Dolby Vision decoding in mpv?

I mean I just have an mp4/mkv which has dolby vision content. I want it to play on the MacBook pro. Currently they look greenish purplish on mpv with 0 config.
From what I understood here https://support.apple.com/en-us/HT210980 MacBooks should play DV content.

@haasn
Copy link
Member

haasn commented Dec 28, 2021

I mean I just have an mp4/mkv which has dolby vision content. I want it to play on the MacBook pro. Currently they look greenish purplish on mpv with 0 config.

For that you need to wait for https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=5581 to be merged

@akash329d
Copy link

akash329d commented Dec 28, 2021

I mean I just have an mp4/mkv which has dolby vision content. I want it to play on the MacBook pro. Currently they look greenish purplish on mpv with 0 config. From what I understood here https://support.apple.com/en-us/HT210980 MacBooks should play DV content.

If it's profile 5 (it almost definitely is since the color space is different - this is the hue you're talking about), you can use Subler to convert it to an mp4 and then play it directly through Quicktime.

For that you need to wait for https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=5581 to be merged

@haasn Do you know if there is there an easy way to tell when patches are merged into the master branch? Hard to tell looking at the website. Otherwise, is there an easy way to apply the patches locally and build it, besides applying each patch manually?

@ShixAJ
Copy link

ShixAJ commented Dec 28, 2021

If it's profile 5 (it almost definitely is since the color space is different - this is the hue you're talking about), you can use Subler to convert it to an mp4 and then play it directly through Quicktime.

The file I am trying to play is a mp4 dvhe.05.06 having dvhe as codec id with no hdr10 fallback. So I guess its profile 5. QuickTime only opens this file as audio though. mpv, iina... plays it having a greenish/purplish hue

@akash329d
Copy link

If it's profile 5 (it almost definitely is since the color space is different - this is the hue you're talking about), you can use Subler to convert it to an mp4 and then play it directly through Quicktime.

The file I am trying to play is a mp4 dvhe.05.06 having dvhe as codec id with no hdr10 fallback. So I guess its profile 5. QuickTime only opens this file as audio though. mpv, iina... plays it having a greenish/purplish hue

The issue is the fourCC tag, it's dvhe, not dvh1. Apple only supports dvhe via HLS. You can use https://github.com/rixtox/mp4dovi or Subler (just open it and resave it, make sure to set audio to passthru) to change it.

@haasn
Copy link
Member

haasn commented Dec 28, 2021

@haasn Do you know if there is there an easy way to tell when patches are merged into the master branch? Hard to tell looking at the website. Otherwise, is there an easy way to apply the patches locally and build it, besides applying each patch manually?

I have no clue. I hate patchwork myself. I pushed my branch to https://github.com/haasn/FFmpeg/tree/dovi_reshaping

But, to get this working in mpv, you also need the corresponding patches for libplacebo and mpv, which I will submit as soon as the above is merged. If you're really dedicated to testing it, ask @cyanreg, who I think has a patch for mpv already written?

@akash329d
Copy link

akash329d commented Dec 28, 2021

@haasn Do you know if there is there an easy way to tell when patches are merged into the master branch? Hard to tell looking at the website. Otherwise, is there an easy way to apply the patches locally and build it, besides applying each patch manually?

I have no clue. I hate patchwork myself. I pushed my branch to https://github.com/haasn/FFmpeg/tree/dovi_reshaping

But, to get this working in mpv, you also need the corresponding patches for libplacebo and mpv, which I will submit as soon as the above is merged. If you're really dedicated to testing it, ask @cyanreg, who I think has a patch for mpv already written?

Thanks! I appreciate it. My goal is really just to be able to convert w/ffmpeg profile 5 mkv to mp4's with quicktime compatibility. Right now ffmpeg master doesn't recognize dolby vision in the mkv's, and doesn't support the dvh1 tag in mp4's.

@haasn
Copy link
Member

haasn commented Dec 28, 2021

Thanks! I appreciate it. My goal is really just to be able to convert w/ffmpeg profile 5 mkv to mp4's with quicktime compatibility. Right now ffmpeg master doesn't recognize dolby vision in the mkv's, and doesn't support the dvh1 tag in mp4's.

Compile the FFmpeg branch I linked against this branch of libplacebo and you should be able to use ffmpeg -i dv5.mkv -init_hw_device vulkan -vf hwupload,libplacebo,hwdownload,format=yuv420p10 -acodec copy dv4.mp4 (or something to that effect) to re-encode the file with dolby vision metadata stripped/applied.

(And probably whatever video codec settings you want to encode with)

@ShixAJ
Copy link

ShixAJ commented Dec 29, 2021

If it's profile 5 (it almost definitely is since the color space is different - this is the hue you're talking about), you can use Subler to convert it to an mp4 and then play it directly through Quicktime.

The file I am trying to play is a mp4 dvhe.05.06 having dvhe as codec id with no hdr10 fallback. So I guess its profile 5. QuickTime only opens this file as audio though. mpv, iina... plays it having a greenish/purplish hue

The issue is the fourCC tag, it's dvhe, not dvh1. Apple only supports dvhe via HLS. You can use https://github.com/rixtox/mp4dovi or Subler (just open it and resave it, make sure to set audio to passthru) to change it.

Seems to work but I have to use both the tools you mentioned. I don't know if I am using them wrong. I am running the mp4dovi on the file, then if I try to open with QuickTime it still doesn't work. I open it with subler click on something then hit (CMD+S) to save. After that it works with QuickTime. However I was hoping for an explanation of what's happening.

I am not very knowledgeable with these stuff and wondering if instead of doing this hacky thing there is some ffmpeg command that would do the same thing.

@b20132367
Copy link

Thanks for the great PR. But, as @Robot-DaneelOlivaw said above, the luminance looks a bit off.

@bigipalabom
Copy link

hi, any updates for HDR fuction, since OpenGL is completely deprecated by Apple

@Akemi
Copy link
Member Author

Akemi commented Jul 9, 2023

i still don't have a working mac anymore and my PRs are on hold till i can get a new one.

@bigipalabom
Copy link

bigipalabom commented Aug 6, 2023

i still don't have a working mac anymore and my PRs are on hold till i can get a new one.

I can help to the test, M2 mini + external OLED monitor

I confim the colorspace aproch is working, setting target colorspace to itur2100PQ, (displayP3_PQ gives wrong color)

here is my setting

vo=libmpv
hwdec=videotoolbox
audio-spdif=ac3,dts
af=lavcac3enc=bitrate=640:minch=6:encoder=ac3

[HDR_PQ]
profile-desc=HDR
profile-cond=get("video-params/gamma", "") == "pq"
tone-mapping=bt.2390
macos-output-csp=itur_2100_pq // I added this colorspace in the code according apple’s HDR guidance, display p3 PQ gives the wrong color
target-trc=pq
target-prim=bt.2020

Issue is wrong white point, i attached a comparison , the highlights of MPV are over exposed, and grey level is incorrect as well

MPV left vs Movist Right
Bp6ufVn

MPV lower vs Movist up
R3GMszJ

@Akemi
Copy link
Member Author

Akemi commented Feb 27, 2024

see my comment here #7341 (comment). i am not sure this is still needed or wanted.

@Akemi
Copy link
Member Author

Akemi commented Apr 28, 2024

i decided to add the HDR/EDR support to the old cocoa-cb/libmpv/opengl backend after all (see PR #14017). reasons are:

  • it was already implemented and only needed a rebase + some small adjustments since it's only needed for cocoa-cb now
  • it might come in handy for comparisons with the new backend
  • we can finally resolve this issue and close some PRs

@Akemi Akemi closed this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet