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

Audio track switches when closing the lid of my mac book #4912

Open
1 task
Lynorek opened this issue May 4, 2024 · 12 comments
Open
1 task

Audio track switches when closing the lid of my mac book #4912

Lynorek opened this issue May 4, 2024 · 12 comments

Comments

@Lynorek
Copy link

Lynorek commented May 4, 2024

System and IINA version:

  • macOS Sonoma 14.4.1
  • IINA 1.3.4 Build 140

Expected behavior:

The track should not change.

Actual behavior:

When I close my lid, the track changes to the next one, it always switch to the next one and cycles over and over each time the lid closed again. My macbook doesn't go to sleep when i close the lid. I use Amphetamine to keep it awake. I tried disabling the automatic music mode as I thought maybe it has something to do with the fact that the screen turned off, but it didn't change anything.

My log:

mpv log: Note that those last three lines are three instances of me closing and reopening the lid.
01:35:00.674 [iina][d] IINA 1.3.4 Build 140
01:35:00.675 [iina][d] Copyright © 2017-2023
01:35:00.675 [iina][d] Collider LI, et al.
01:35:00.675 [iina][d] Released under GPLv3.
01:35:00.675 [iina][d] FFmpeg 6.0
01:35:00.675 [iina][d]   libavcodec 60.3.100
01:35:00.675 [iina][d]   libavformat 60.3.100
01:35:00.675 [iina][d]   libavutil 58.2.100
01:35:00.675 [iina][d]   libswscale 7.1.100
01:35:00.677 [iina][d] Built 31 déc. 2023 à 15:31:07 from branch develop, commit 03442be7528b0f17d81c19a74ec69594bce6a1db
01:35:00.677 [iina][d] Running under macOS Version 14.4.1 (assemblage 23E224)
01:35:00.677 [iina][d] On a Mac14,15 with an Apple M2 processor
01:35:00.677 [iina][d] App will launch
01:35:00.722 [iina][d] App launched
01:35:00.723 [iina][d] Loading key bindings
01:35:00.724 [iina][d] Set key bindings (80 mappings)
01:35:00.772 [player0][d] Set path to /Applications/IINA.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
01:35:00.774 [iina][d] Running on Apple Silicon, not applying FFmpeg 9599 workaround
01:35:00.834 [iina][d] Using mpv 0.35.0-419-gf79458476b-dirty
01:35:00.834 [iina][d] Setting up MediaPlayer integration
01:35:02.411 [player0][d] Open URL: file:///Users/sly/VIdeos/SomeMovie%20%5B1080p%5D%20MULTi%20BluRay%20x264-PopHD/SomeMovie%20%5B1080p%5D%20MULTi%20BluRay%20x264-PopHD.mkv
01:35:02.411 [player0][d] Opening /Users/sly/Videos/SomeMovie [1080p] MULTi BluRay x264-PopHD/SomeMovie[1080p] MULTi BluRay x264-PopHD.mkv in main window
01:35:02.453 [iina][d] Created OpenGL pixel format with [__C._CGLPixelFormatAttribute(rawValue: 5), __C._CGLPixelFormatAttribute(rawValue: 96), __C._CGLPixelFormatAttribute(rawValue: 58), __C._CGLPixelFormatAttribute(rawValue: 8), __C._CGLPixelFormatAttribute(rawValue: 64), __C._CGLPixelFormatAttribute(rawValue: 99), __C._CGLPixelFormatAttribute(rawValue: 12800), __C._CGLPixelFormatAttribute(rawValue: 73), __C._CGLPixelFormatAttribute(rawValue: 101), __C._CGLPixelFormatAttribute(rawValue: 0)]
01:35:02.461 [iina][d] Falling back to nominal display refresh rate: 60.00240009600384 from 0.0
01:35:02.472 [iina][d] window!.screen: "Écran Retina intégré" visible frame (0.0, 60.0, 1710.0, 1008.0) EDR: {supports=true maxPotential=2.0 maxCurrent=1.0}
01:35:02.472 [iina][d] NSScreen.main: "Écran Retina intégré" visible frame (0.0, 60.0, 1710.0, 1008.0) EDR: {supports=true maxPotential=2.0 maxCurrent=1.0}
01:35:02.472 [iina][d] NSScreen.screens[0]: "Écran Retina intégré" visible frame (0.0, 60.0, 1710.0, 1008.0) EDR: {supports=true maxPotential=2.0 maxCurrent=1.0}
01:35:02.576 [player0][d] File started
01:35:02.576 [player0][d] Track list changed
01:35:02.576 [player0][d] Started auto load
01:35:02.577 [fmatcher][d] **Start matching
01:35:02.577 [fmatcher][d] Getting all media files...
01:35:02.577 [fmatcher][d] Got all media files, video=1, audio=0
01:35:02.577 [fmatcher][d] Getting all sub files...
01:35:02.586 [fmatcher][d] Searching subtitles from 0 directories...
01:35:02.587 [fmatcher][v] []
01:35:02.587 [fmatcher][d] Got 0 subtitles
01:35:02.587 [fmatcher][d] Adding files to playlist
01:35:02.587 [fmatcher][d] Grouping video files...
01:35:02.587 [fgroup][d] Start grouping 1 files
01:35:02.587 [fgroup][v] Try group files, prefix=, count=1
01:35:02.587 [fgroup][v] Contents count < 3, skipped
01:35:02.587 [fmatcher][d] Finished with 1 groups
01:35:02.587 [fmatcher][d] Grouping sub files...
01:35:02.587 [fgroup][d] Start grouping 0 files
01:35:02.588 [fgroup][v] Try group files, prefix=, count=0
01:35:02.588 [fgroup][v] Contents count < 3, skipped
01:35:02.589 [fmatcher][d] Finished with 1 groups
01:35:02.589 [fmatcher][d] Matching video and sub series...
01:35:02.589 [fmatcher][d] Calculated editing distance
01:35:02.589 [fmatcher][d] Finished matching.
01:35:02.589 [fmatcher][d] Matching subs with matched series, prefixes=0...
01:35:02.589 [fmatcher][d] Matching for SomeMovie[1080p] MULTi BluRay x264-PopHD
01:35:02.590 [fmatcher][v] Matching by IINA...
01:35:02.590 [fmatcher][v] Finished
01:35:02.590 [fmatcher][v] Matching subtitles containing video name...
01:35:02.590 [fmatcher][v] Finished
01:35:02.590 [fmatcher][d] No matched sub for this file
01:35:02.590 [fmatcher][d] Force matching unmatched videos, video=1, sub=0...
01:35:02.590 [fmatcher][d] **Finished matching
01:35:02.738 [player0][d] File loaded
01:35:02.741 [player0][d] Track list changed
01:35:02.791 [iina][d] Synchronized info.abLoopStatus cleared
01:35:03.293 [player0][d] Getting thumbnails
01:35:03.294 [player0][d] Found thumbnail cache
01:35:03.294 [thumbcache][d] Reading thumbnail cache...
01:35:03.294 [thumbcache][d] Reading from /Users/sly/Library/Caches/com.colliderli.iina/thumb_cache/9a8a51cf7b2d4cd46ffb2072e9b4cacc
01:35:03.307 [thumbcache][d] Finished reading thumbnail cache, 101 in total
01:35:03.321 [player0][d] Playback restarted
01:35:03.646 [player0][d] Track list changed
01:35:03.647 [iina][d] Refreshing HDR for player0 @ display1: "Écran Retina intégré" visible frame (0.0, 0.0, 1710.0, 1074.0) EDR: {supports=true maxPotential=2.0 maxCurrent=1.0}
01:35:03.647 [hdr][d] HDR gamma=bt.1886, primaries=bt.709, sig_peak=1.0
01:35:03.647 [hdr][d] Loading ICC profile
01:35:03.668 [iina][d] Refreshing HDR for player0 @ display1: "Écran Retina intégré" visible frame (0.0, 0.0, 1710.0, 1074.0) EDR: {supports=true maxPotential=2.0 maxCurrent=1.0}
01:35:03.668 [hdr][d] HDR gamma=bt.1886, primaries=bt.709, sig_peak=1.0
01:35:03.668 [hdr][d] Loading ICC profile
01:35:03.670 [mpv][w] [cplayer] warn: Audio device underrun detected.
01:35:06.338 [player0][d] Track list changed
01:35:08.920 [player0][d] Track list changed
01:35:11.444 [player0][d] Track list changed

Steps to reproduce:
Prevent your macbook from going to sleep when the lid is closed, then close the lid while a media is playing.
For me even media with only one track will switch to None.

  • MPV does not have this problem.
    Not sure about that one.

How often does this happen?
Always.

@low-batt
Copy link
Contributor

low-batt commented May 5, 2024

Similar to many open source projects IINA is layered on top of other projects. For audio/video playback and subtitle rendering IINA is using a library from the mpv project. For this reason the issue template contains this section which is frequently a source of confusion:

<!-- If your issue is related to playback, please check whether mpv has the same problem. If so, this might not be an issue with IINA but rather an bug with mpv. Try reporting an issue there. -->

  • MPV does not have this problem.

The idea is that if the problem reproduces using the mpv player then it is likely the root cause of the problem is in mpv code and an issue needs to be filed with the mpv project.

IINA code registers listeners for events emitted by the libmpv library. When IINA logs the message Track list changed it is because it processed a mpv property change event for the track-list property. When processing that event IINA fetches the selected audio track from mpv.

Do you have external devices attached to the Mac, especially audio devices?

Drag-n-drop a full mpv.log file to the comment box and post it. I will see if there is anything in that log that provides a clue as to what is happening.

@Lynorek
Copy link
Author

Lynorek commented May 5, 2024

Hi low-batt,
thank you for the explanation.
I've downloaded mpv 0.37.0 from here https://laboratory.stolendata.net/~djinn/mpv_osx/
There isn't the issue with mpv alone when using this version.

When using IINA, the issue happens with my macbook speakers (so no other devices) as well as with my airpods connected.

Here are the logs for mpv, sorry I didn't know there was two logs in my first post, it definitly seems to have more to say about the track cycling 🤔
mpv.log

Inline Logs
[   0.000][d][global] user path: '/Users/sly/Library/Logs/com.colliderli.iina/2024-05-05-17-30-32_zVfwg8/mpv.log' -> '/Users/sly/Library/Logs/com.colliderli.iina/2024-05-05-17-30-32_zVfwg8/mpv.log'
[   0.004][v][cplayer] mpv 0.35.0-419-gf79458476b-dirty Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Tue May 30 08:54:21 2023
[   0.004][v][cplayer] FFmpeg version: 6.0
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       58.2.100
[   0.004][v][cplayer]    libavcodec      60.3.100
[   0.004][v][cplayer]    libavformat     60.3.100
[   0.004][v][cplayer]    libswscale      7.1.100
[   0.004][v][cplayer]    libavfilter     9.3.100
[   0.004][v][cplayer]    libswresample   4.10.100
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: -Dhtml-build=disabled -Djavascript=enabled -Dlibmpv=true -Dlua=luajit -Dlibarchive=enabled -Duchardet=enabled -Dlibbluray=enabled -Dcplayer=false -Dswift-build=disabled -Dmacos-cocoa-cb=disabled -Dmacos-media-player=disabled -Dmacos-touchbar=disabled -Dmanpage-build=disabled -Dprefix=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584 -Ddatadir=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584/share/mpv-iina -Dlibdir=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584/lib -Dsysconfdir=/opt/homebrew/etc/mpv-iina -Dbuildtype=release -Dwrap_mode=nofallback
[   0.004][v][cplayer] List of enabled features: av-channel-layout bsd-fstatfs build-date cocoa coreaudio cplugins darwin ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm luajit osx-thread-name posix posix_shm rubberband rubberband-3 stdatomic threads uchardet vector videotoolbox-gl zimg zlib
[   0.004][v][cplayer] mpv 0.35.0-419-gf79458476b-dirty Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Tue May 30 08:54:21 2023
[   0.004][v][cplayer] FFmpeg version: 6.0
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       58.2.100
[   0.004][v][cplayer]    libavcodec      60.3.100
[   0.004][v][cplayer]    libavformat     60.3.100
[   0.004][v][cplayer]    libswscale      7.1.100
[   0.004][v][cplayer]    libavfilter     9.3.100
[   0.004][v][cplayer]    libswresample   4.10.100
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: -Dhtml-build=disabled -Djavascript=enabled -Dlibmpv=true -Dlua=luajit -Dlibarchive=enabled -Duchardet=enabled -Dlibbluray=enabled -Dcplayer=false -Dswift-build=disabled -Dmacos-cocoa-cb=disabled -Dmacos-media-player=disabled -Dmacos-touchbar=disabled -Dmanpage-build=disabled -Dprefix=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584 -Ddatadir=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584/share/mpv-iina -Dlibdir=/opt/homebrew/Cellar/mpv-iina/HEAD-f794584/lib -Dsysconfdir=/opt/homebrew/etc/mpv-iina -Dbuildtype=release -Dwrap_mode=nofallback
[   0.004][v][cplayer] List of enabled features: av-channel-layout bsd-fstatfs build-date cocoa coreaudio cplugins darwin ffmpeg gl gl-cocoa glob glob-posix gpl iconv javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm luajit osx-thread-name posix posix_shm rubberband rubberband-3 stdatomic threads uchardet vector videotoolbox-gl zimg zlib
[   0.004][d][global] home path: '' -> '-'
[   0.004][d][global] user path: '~~home/' -> ''
[   0.004][d][global] user path: '~~old_home/' -> ''
[   0.004][d][global] user path: '/Applications/IINA.app/Contents/Resources/config/iina-default-input.conf' -> '/Applications/IINA.app/Contents/Resources/config/iina-default-input.conf'
[   0.004][v][bdmv/bluray] Opening /Applications/IINA.app/Contents/Resources/config/iina-default-input.conf
[   0.004][v][file] Opening /Applications/IINA.app/Contents/Resources/config/iina-default-input.conf
[   0.004][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.004][d][file] Stream opened successfully.
[   0.004][v][input] Parsing input config file /Applications/IINA.app/Contents/Resources/config/iina-default-input.conf
[   0.004][v][input] Input config file /Applications/IINA.app/Contents/Resources/config/iina-default-input.conf parsed: 69 binds
[   0.004][d][global] user path: '/Users/sly/Library/Logs/com.colliderli.iina/2024-05-05-17-30-32_zVfwg8/mpv.log' -> '/Users/sly/Library/Logs/com.colliderli.iina/2024-05-05-17-30-32_zVfwg8/mpv.log'
[   0.004][d][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.004][d][stats] Loading lua script @stats.lua...
[   0.004][d][console] Loading lua script @console.lua...
[   0.004][d][auto_profiles] Loading lua script @auto_profiles.lua...
[   0.004][d][osx] Exiting...
[   0.004][d][stats] loading mp.defaults
[   0.004][d][console] loading mp.defaults
[   0.004][d][ytdl_hook] loading mp.defaults
[   0.005][v][cplayer] Set property: vo="libmpv" -> 1
[   0.005][v][cplayer] Set property: keepaspect="no" -> 1
[   0.005][v][cplayer] Set property: gpu-hwdec-interop="auto" -> 1
[   0.005][d][auto_profiles] loading mp.defaults
[   0.005][d][stats] loading @stats.lua
[   0.005][d][ytdl_hook] loading @ytdl_hook.lua
[   0.005][d][console] loading @console.lua
[   0.005][d][auto_profiles] loading @auto_profiles.lua
[   0.005][d][ytdl_hook] reading options for ytdl_hook 
[   0.005][d][ytdl_hook] script-opts/ytdl_hook.conf not found. 
[   0.005][d][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.005][d][stats] reading options for stats 
[   0.005][d][stats] script-opts/stats.conf not found. 
[   0.005][d][stats] lua-settings/stats.conf not found. 
[   0.054][v][ao/coreaudio] selected audio output device: Jean-Pods (99)
[   0.057][d][console] reading options for console 
[   0.057][d][console] script-opts/console.conf not found. 
[   0.057][d][console] lua-settings/console.conf not found. 
[   0.058][d][cplayer] Run command: define-section, flags=64, args=[name="input_console", contents="", flags="default"]
[   0.058][d][cplayer] Run command: enable-section, flags=64, args=[name="input_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.058][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_console", contents="", flags="force"]
[   0.058][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.058][v][cplayer] Waiting for scripts...
[   0.058][d][cplayer] Run command: define-section, flags=64, args=[name="input_stats", contents="", flags="default"]
[   0.058][d][cplayer] Run command: enable-section, flags=64, args=[name="input_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.058][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_stats", contents="", flags="force"]
[   0.058][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.058][d][osd/libass] ASS library version: 0x1701000 (runtime 0x1701000)
[   0.058][v][osd/libass] libass API version: 0x1701000
[   0.058][v][osd/libass] libass source: tarball: 0.17.1
[   0.058][v][osd/libass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 7.1.0 (COMPLEX)
[   0.059][v][osd/libass] Setting up fonts...
[   0.059][v][osd/libass] Using font provider coretext
[   0.059][v][osd/libass] Done.
[   0.060][d][auto_profiles] Exiting...
[   0.060][v][cplayer] Done loading scripts.
[   0.217][v][libmpv_render] GL_VERSION='4.1 Metal - 88'
[   0.217][v][libmpv_render] Detected desktop OpenGL 4.1.
[   0.217][v][libmpv_render] GL_VENDOR='Apple'
[   0.217][v][libmpv_render] GL_RENDERER='Apple M2'
[   0.217][v][libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[   0.217][d][libmpv_render] Combined OpenGL extensions string:
[   0.217][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_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_NV_texture_barrier
[   0.217][v][libmpv_render] Loaded extension GL_APPLE_rgb_422.
[   0.217][v][libmpv_render] GL_*_swap_control extension missing.
[   0.217][d][libmpv_render] Texture formats:
[   0.217][d][libmpv_render]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.217][d][libmpv_render]   r8         1*unorm   1B    LF CR ST {8}
[   0.217][d][libmpv_render]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.217][d][libmpv_render]   rgb8       3*unorm   3B    LF CR ST {8 8 8}
[   0.217][d][libmpv_render]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.217][d][libmpv_render]   r16        1*unorm   2B    LF CR ST {16}
[   0.217][d][libmpv_render]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.217][d][libmpv_render]   rgb16      3*unorm   6B    LF CR ST {16 16 16}
[   0.217][d][libmpv_render]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.217][d][libmpv_render]   r8ui       1*uint    1B       CR ST {8}
[   0.217][d][libmpv_render]   rg8ui      2*uint    2B       CR ST {8 8}
[   0.217][d][libmpv_render]   rgb8ui     3*uint    3B          ST {8 8 8}
[   0.217][d][libmpv_render]   rgba8ui    4*uint    4B       CR ST {8 8 8 8}
[   0.217][d][libmpv_render]   r16ui      1*uint    2B       CR ST {16}
[   0.217][d][libmpv_render]   rg16ui     2*uint    4B       CR ST {16 16}
[   0.217][d][libmpv_render]   rgb16ui    3*uint    6B          ST {16 16 16}
[   0.217][d][libmpv_render]   rgba16ui   4*uint    8B       CR ST {16 16 16 16}
[   0.217][d][libmpv_render]   r16f       1*float   4B    LF CR ST {32/16}
[   0.217][d][libmpv_render]   rg16f      2*float   8B    LF CR ST {32/16 32/16}
[   0.217][d][libmpv_render]   rgb16f     3*float  12B    LF CR ST {32/16 32/16 32/16}
[   0.217][d][libmpv_render]   rgba16f    4*float  16B    LF CR ST {32/16 32/16 32/16 32/16}
[   0.217][d][libmpv_render]   r32f       1*float   4B    LF CR ST {32}
[   0.217][d][libmpv_render]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.217][d][libmpv_render]   rgb32f     3*float  12B    LF CR ST {32 32 32}
[   0.217][d][libmpv_render]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.217][d][libmpv_render]   rgb10_a2   4*unorm   4B    LF CR ST {0/10 0/10 0/10 0/2}
[   0.217][d][libmpv_render]   rgba12     4*unorm   8B    LF CR ST {16/12 16/12 16/12 16/12}
[   0.217][d][libmpv_render]   rgb10      3*unorm   6B    LF CR ST {16/10 16/10 16/10}
[   0.217][d][libmpv_render]   rgb565     3*unorm   2B    LF    ST {0/8 0/8 0/8}
[   0.217][d][libmpv_render]   appleyp    0*unorm   2B    LF    ST {}
[   0.217][d][libmpv_render]  LA = LUMINANCE_ALPHA hack format
[   0.217][d][libmpv_render]  LF = linear filterable
[   0.217][d][libmpv_render]  CR = can be used for render targets
[   0.217][d][libmpv_render]  ST = can be used for storable images
[   0.217][d][libmpv_render] Image formats:
[   0.217][d][libmpv_render]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.217][d][libmpv_render]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.217][d][libmpv_render]   uyvy422 => 1 planes 1x1 0/0 [appleyp] (brg) [unknown]
[   0.217][d][libmpv_render]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.217][d][libmpv_render]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.217][d][libmpv_render]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.217][d][libmpv_render]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.217][d][libmpv_render]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.217][d][libmpv_render]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.217][d][libmpv_render]   bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm]
[   0.217][d][libmpv_render]   rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm]
[   0.217][d][libmpv_render]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.217][d][libmpv_render]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.217][d][libmpv_render]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.217][d][libmpv_render]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.217][d][libmpv_render]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.217][d][libmpv_render]   rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown]
[   0.217][d][libmpv_render]   pal8
[   0.217][d][libmpv_render]   vdpau
[   0.217][d][libmpv_render]   d3d11
[   0.217][d][libmpv_render]   dxva2_vld
[   0.217][d][libmpv_render]   mmal
[   0.217][d][libmpv_render]   mediacodec
[   0.217][d][libmpv_render]   cuda
[   0.217][d][libmpv_render]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.217][d][libmpv_render]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.217][d][libmpv_render]   grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float]
[   0.217][d][libmpv_render]   yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float]
[   0.217][d][libmpv_render]   yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float]
[   0.217][d][libmpv_render]   rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown]
[   0.217][d][libmpv_render]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.217][d][libmpv_render]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   vdpau_output
[   0.217][d][libmpv_render]   vaapi
[   0.217][d][libmpv_render]   videotoolbox
[   0.217][d][libmpv_render]   drm_prime
[   0.217][d][libmpv_render]   yuyv422
[   0.217][d][libmpv_render]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   monow
[   0.217][d][libmpv_render]   monob
[   0.217][d][libmpv_render]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   uyyvyy411
[   0.217][d][libmpv_render]   bgr8
[   0.217][d][libmpv_render]   bgr4
[   0.217][d][libmpv_render]   bgr4_byte
[   0.217][d][libmpv_render]   rgb8
[   0.217][d][libmpv_render]   rgb4
[   0.217][d][libmpv_render]   rgb4_byte
[   0.217][d][libmpv_render]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.217][d][libmpv_render]   gray16be
[   0.217][d][libmpv_render]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   rgb48be
[   0.217][d][libmpv_render]   rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm]
[   0.217][d][libmpv_render]   rgb565be
[   0.217][d][libmpv_render]   rgb555be
[   0.217][d][libmpv_render]   rgb555
[   0.217][d][libmpv_render]   bgr565be
[   0.217][d][libmpv_render]   bgr565
[   0.217][d][libmpv_render]   bgr555be
[   0.217][d][libmpv_render]   bgr555
[   0.217][d][libmpv_render]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv420p16be
[   0.217][d][libmpv_render]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv422p16be
[   0.217][d][libmpv_render]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv444p16be
[   0.217][d][libmpv_render]   rgb444
[   0.217][d][libmpv_render]   rgb444be
[   0.217][d][libmpv_render]   bgr444
[   0.217][d][libmpv_render]   bgr444be
[   0.217][d][libmpv_render]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.217][d][libmpv_render]   bgr48be
[   0.217][d][libmpv_render]   bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm]
[   0.217][d][libmpv_render]   yuv420p9be
[   0.217][d][libmpv_render]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv420p10be
[   0.217][d][libmpv_render]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv422p10be
[   0.217][d][libmpv_render]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv444p9be
[   0.217][d][libmpv_render]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv444p10be
[   0.217][d][libmpv_render]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   yuv422p9be
[   0.217][d][libmpv_render]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.217][d][libmpv_render]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp9be
[   0.217][d][libmpv_render]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp10be
[   0.217][d][libmpv_render]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   gbrp16be
[   0.217][d][libmpv_render]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.217][d][libmpv_render]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva420p9be
[   0.217][d][libmpv_render]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva422p9be
[   0.217][d][libmpv_render]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva444p9be
[   0.217][d][libmpv_render]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva420p10be
[   0.217][d][libmpv_render]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva422p10be
[   0.217][d][libmpv_render]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.217][d][libmpv_render]   yuva444p10be
[   0.218][d][libmpv_render]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   yuva420p16be
[   0.218][d][libmpv_render]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   yuva422p16be
[   0.218][d][libmpv_render]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   yuva444p16be
[   0.218][d][libmpv_render]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm]
[   0.218][d][libmpv_render]   xyz12be
[   0.218][d][libmpv_render]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.218][d][libmpv_render]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   nv20be
[   0.218][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.218][d][libmpv_render]   d3d11va_vld
[   0.218][d][libmpv_render]   yuv420p12be
[   0.218][d][libmpv_render]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv420p14be
[   0.218][d][libmpv_render]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv422p12be
[   0.218][d][libmpv_render]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv422p14be
[   0.218][d][libmpv_render]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv444p12be
[   0.218][d][libmpv_render]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv444p14be
[   0.218][d][libmpv_render]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   gbrp12be
[   0.218][d][libmpv_render]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.218][d][libmpv_render]   gbrp14be
[   0.218][d][libmpv_render]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.218][d][libmpv_render]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   bayer_bggr8
[   0.218][d][libmpv_render]   bayer_rggb8
[   0.218][d][libmpv_render]   bayer_gbrg8
[   0.218][d][libmpv_render]   bayer_grbg8
[   0.218][d][libmpv_render]   bayer_bggr16
[   0.218][d][libmpv_render]   bayer_bggr16be
[   0.218][d][libmpv_render]   bayer_rggb16
[   0.218][d][libmpv_render]   bayer_rggb16be
[   0.218][d][libmpv_render]   bayer_gbrg16
[   0.218][d][libmpv_render]   bayer_gbrg16be
[   0.218][d][libmpv_render]   bayer_grbg16
[   0.218][d][libmpv_render]   bayer_grbg16be
[   0.218][d][libmpv_render]   xvmc
[   0.218][d][libmpv_render]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv440p10be
[   0.218][d][libmpv_render]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.218][d][libmpv_render]   yuv440p12be
[   0.218][d][libmpv_render]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.218][d][libmpv_render]   ayuv64be
[   0.218][d][libmpv_render]   p010be
[   0.218][d][libmpv_render]   gbrap12be
[   0.218][d][libmpv_render]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.218][d][libmpv_render]   gbrap10be
[   0.218][d][libmpv_render]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.218][d][libmpv_render]   gray12be
[   0.218][d][libmpv_render]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.218][d][libmpv_render]   gray10be
[   0.218][d][libmpv_render]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.218][d][libmpv_render]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   p016be
[   0.218][d][libmpv_render]   gray9be
[   0.218][d][libmpv_render]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.218][d][libmpv_render]   gbrpf32be
[   0.218][d][libmpv_render]   gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float]
[   0.218][d][libmpv_render]   gbrapf32be
[   0.218][d][libmpv_render]   gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float]
[   0.218][d][libmpv_render]   opencl
[   0.218][d][libmpv_render]   gray14be
[   0.218][d][libmpv_render]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.218][d][libmpv_render]   grayf32be
[   0.218][d][libmpv_render]   grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float]
[   0.218][d][libmpv_render]   yuva422p12be
[   0.218][d][libmpv_render]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   yuva444p12be
[   0.218][d][libmpv_render]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.218][d][libmpv_render]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.218][d][libmpv_render]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.218][d][libmpv_render]   vulkan
[   0.218][d][libmpv_render]   y210be
[   0.218][d][libmpv_render]   y210
[   0.218][d][libmpv_render]   x2rgb10be
[   0.218][d][libmpv_render]   x2bgr10
[   0.218][d][libmpv_render]   x2bgr10be
[   0.218][d][libmpv_render]   p210be
[   0.218][d][libmpv_render]   p210 => 2 planes 2x1 16/6 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   p410be
[   0.218][d][libmpv_render]   p410 => 2 planes 1x1 16/6 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   p216be
[   0.218][d][libmpv_render]   p216 => 2 planes 2x1 16/0 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   p416be
[   0.218][d][libmpv_render]   p416 => 2 planes 1x1 16/0 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   vuya => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.218][d][libmpv_render]   rgbaf16be
[   0.218][d][libmpv_render]   rgbaf16
[   0.218][d][libmpv_render]   vuyx => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.218][d][libmpv_render]   p012 => 2 planes 2x2 16/4 [r16/rg16] (r/gb) [unorm]
[   0.218][d][libmpv_render]   p012be
[   0.218][d][libmpv_render]   y212be
[   0.218][d][libmpv_render]   y212
[   0.218][d][libmpv_render]   xv30be
[   0.218][d][libmpv_render]   xv30
[   0.218][d][libmpv_render]   xv36be
[   0.218][d][libmpv_render]   xv36 => 1 planes 1x1 16/4 [rgba16] (grb) [unorm]
[   0.218][d][libmpv_render]   rgbf32be
[   0.218][d][libmpv_render]   rgbf32
[   0.218][d][libmpv_render]   rgbaf32be
[   0.218][d][libmpv_render]   rgbaf32
[   0.218][v][libmpv_render] Testing FBO format rgba16f
[   0.218][d][libmpv_render] Resizing texture: 16x16
[   0.218][v][libmpv_render] Using FBO format rgba16f.
[   0.218][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   0.218][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.218][v][libmpv_render] Loading hwdec driver 'videotoolbox'
[   0.218][v][cplayer] Set property: override-display-fps=60.002400 -> 1
[   0.324][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/SomeMovie [1080p] MULTi BluRay x264-PopHD.mkv", flags="replace", options=""]
[   0.325][d][global] user path: '/Users/sly/Library/Application Support/com.colliderli.iina/watch_later' -> '/Users/sly/Library/Application Support/com.colliderli.iina/watch_later'
[   0.325][i][cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[   0.325][v][cplayer] Loading config '/Users/sly/Library/Application Support/com.colliderli.iina/watch_later/CD99E385CFD4E05B4D4457E6BD18CFAF'
[   0.325][v][cplayer] Reading config file /Users/sly/Library/Application Support/com.colliderli.iina/watch_later/CD99E385CFD4E05B4D4457E6BD18CFAF
[   0.325][v][bdmv/bluray] Opening /Users/sly/Library/Application Support/com.colliderli.iina/watch_later/CD99E385CFD4E05B4D4457E6BD18CFAF
[   0.325][v][file] Opening /Users/sly/Library/Application Support/com.colliderli.iina/watch_later/CD99E385CFD4E05B4D4457E6BD18CFAF
[   0.325][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.325][d][file] Stream opened successfully.
[   0.325][v][cplayer] Applying profile 'default'...
[   0.325][v][cplayer] Setting option 'start' = '572.740000' (flags = 36)
[   0.325][v][cplayer] Setting option 'fullscreen' = 'yes' (flags = 36)
[   0.325][v][cplayer] Setting option 'aid' = '1' (flags = 36)
[   0.325][v][cplayer] Running hook: ytdl_hook/on_load
[   0.326][v][ytdl_hook] ytdl:// hook 
[   0.326][v][ytdl_hook] not a ytdl:// url 
[   0.326][v][bdmv/bluray] Opening /Users/sly/Movies/SomeMovie [1080p] MULTi BluRay x264-PopHD.mkv
[   0.326][v][file] Opening /Users/sly/Movies/SomeMovie [1080p] MULTi BluRay x264-PopHD.mkv
[   0.326][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.326][d][file] Stream opened successfully.
[   0.326][v][demux] Trying demuxers for level=normal.
[   0.326][d][demux] Trying demuxer: disc (force-level: normal)
[   0.326][d][demux] Trying demuxer: edl (force-level: normal)
[   0.326][d][demux] Trying demuxer: cue (force-level: normal)
[   0.326][d][demux] Trying demuxer: rawaudio (force-level: normal)
[   0.326][d][demux] Trying demuxer: rawvideo (force-level: normal)
[   0.326][d][demux] Trying demuxer: mkv (force-level: normal)
[   0.326][d][mkv] Found the head...
[   0.326][d][mkv] + a segment...
[   0.326][d][mkv] Parsing seek head...
[   0.326][d][mkv] |+ segment information...
[   0.326][d][mkv] float 5868906.000000
[   0.326][d][mkv] | + muxing app: libebml v1.3.0 + libmatroska v1.4.1
[   0.326][d][mkv] | + writing app: mkvmerge v7.0.0 ('Where We Going') 64bit built on Jun  9 2014 15:16:27
[   0.326][d][mkv] | + timecode scale: 1000000
[   0.326][d][mkv] | + duration: 5868.906s
[   0.326][d][mkv] | + segment uid ae e7 52 f0 8a 53 3d bf b4 1b bf 2a 25 f4 25 4a
[   0.326][d][mkv] |+ segment tracks...
[   0.326][d][mkv] float 48000.000000
[   0.326][d][mkv] float 48000.000000
[   0.326][d][mkv] float 48000.000000
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 1
[   0.326][d][mkv] |  + Name: SomeMovie - 1080p - x264 - LotusFlower
[   0.326][d][mkv] |  + Track type: Video
[   0.326][d][mkv] |  + Video track
[   0.326][d][mkv] |   + Display width: 1920
[   0.326][d][mkv] |   + Display height: 800
[   0.326][d][mkv] |   + Pixel width: 1920
[   0.326][d][mkv] |   + Pixel height: 800
[   0.326][d][mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[   0.326][d][mkv] |  + CodecPrivate, length 43
[   0.326][d][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 2
[   0.326][d][mkv] |  + Name: VFF AC3 5.1
[   0.326][d][mkv] |  + Track type: Audio
[   0.326][d][mkv] |  + Audio track
[   0.326][d][mkv] |   + Sampling frequency: 48000.000000
[   0.326][d][mkv] |   + Channels: 6
[   0.326][d][mkv] |  + Codec ID: A_AC3
[   0.326][d][mkv] |  + Language: fre
[   0.326][d][mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 3
[   0.326][d][mkv] |  + Name: Anglais AC3 51
[   0.326][d][mkv] |  + Track type: Audio
[   0.326][d][mkv] |  + Audio track
[   0.326][d][mkv] |   + Sampling frequency: 48000.000000
[   0.326][d][mkv] |   + Channels: 6
[   0.326][d][mkv] |  + Codec ID: A_AC3
[   0.326][d][mkv] |  + Default flag: 0
[   0.326][d][mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 4
[   0.326][d][mkv] |  + Name: VFF AAC Stereo
[   0.326][d][mkv] |  + Track type: Audio
[   0.326][d][mkv] |  + Audio track
[   0.326][d][mkv] |   + Sampling frequency: 48000.000000
[   0.326][d][mkv] |   + Channels: 2
[   0.326][d][mkv] |  + Codec ID: A_AAC
[   0.326][d][mkv] |  + CodecPrivate, length 2
[   0.326][d][mkv] |  + Language: fre
[   0.326][d][mkv] |  + Default flag: 0
[   0.326][d][mkv] |  + Default duration: 21.333ms ( = 46.875 fps)
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 5
[   0.326][d][mkv] |  + Name: Français Forcés
[   0.326][d][mkv] |  + Track type: Subtitle
[   0.326][d][mkv] |  + Codec ID: S_TEXT/UTF8
[   0.326][d][mkv] |  + Language: fre
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 6
[   0.326][d][mkv] |  + Name: Français Complets
[   0.326][d][mkv] |  + Track type: Subtitle
[   0.326][d][mkv] |  + Codec ID: S_TEXT/UTF8
[   0.326][d][mkv] |  + Language: fre
[   0.326][d][mkv] |  + Default flag: 0
[   0.326][d][mkv] | + a track...
[   0.326][d][mkv] |  + Track number: 7
[   0.326][d][mkv] |  + Name: Anglais
[   0.326][d][mkv] |  + Track type: Subtitle
[   0.326][d][mkv] |  + Codec ID: S_TEXT/UTF8
[   0.326][d][mkv] |  + Default flag: 0
[   0.326][d][mkv] Parsing chapters...
[   0.326][v][mkv] Default edition: 0
[   0.326][v][mkv] New edition 0
[   0.326][v][mkv] Default edition flag: 1
[   0.326][d][mkv] Chapter 0 from 00:00:00.000 to 00:06:04.698000000, Chapter 1
[   0.326][d][mkv] Chapter 1 from 00:06:04.698000000 to 00:08:31.553000000, Chapter 2
[   0.326][d][mkv] Chapter 2 from 00:08:31.553000000 to 00:15:55.663000000, Chapter 3
[   0.326][d][mkv] Chapter 3 from 00:15:55.663000000 to 00:22:33.644000000, Chapter 4
[   0.326][d][mkv] Chapter 4 from 00:22:33.644000000 to 00:28:53.315000000, Chapter 5
[   0.326][d][mkv] Chapter 5 from 00:28:53.315000000 to 00:34:26.64000000, Chapter 6
[   0.326][d][mkv] Chapter 6 from 00:34:26.64000000 to 00:41:07.757000000, Chapter 7
[   0.326][d][mkv] Chapter 7 from 00:41:07.757000000 to 00:47:33.184000000, Chapter 8
[   0.326][d][mkv] Chapter 8 from 00:47:33.184000000 to 00:52:05.122000000, Chapter 9
[   0.326][d][mkv] Chapter 9 from 00:52:05.122000000 to 00:58:46.106000000, Chapter 10
[   0.326][d][mkv] Chapter 10 from 00:58:46.106000000 to 01:05:18.915000000, Chapter 11
[   0.326][d][mkv] Chapter 11 from 01:05:18.915000000 to 01:12:06.781000000, Chapter 12
[   0.326][d][mkv] Chapter 12 from 01:12:06.781000000 to 01:17:43.117000000, Chapter 13
[   0.326][d][mkv] Chapter 13 from 01:17:43.117000000 to 01:22:50.549000000, Chapter 14
[   0.326][d][mkv] Chapter 14 from 01:22:50.549000000 to 01:29:38.81000000, Chapter 15
[   0.326][d][mkv] Chapter 15 from 01:29:38.81000000 to 01:38:29.904000000, Chapter 16
[   0.326][d][mkv] |+ found cluster
[   0.326][v][mkv] Seeking to 2513245099 to read header element 0x1c53bb6b.
[   0.326][v][file] stream level seek from 131072 to 2513245099
[   0.326][v][mkv] Parsing cues...
[   0.327][v][mkv] Seeking to 2513352780 to read header element 0x1254c367.
[   0.327][v][file] stream level seek from 2513355840 to 7268
[   0.327][v][mkv] All headers are parsed!
[   0.327][v][mkv] Start PTS: 0.041000
[   0.327][v][demux] Detected file format: Matroska
[   0.327][v][cplayer] Opening done: /Users/sly/Movies/SomeMovie [1080p] MULTi BluRay x264-PopHD.mkv
[   0.329][v][find_files] Loading external files in /Users/sly/Movies/
[   0.329][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.330][v][mkv] select track 0
[   0.330][v][mkv] select track 1
[   0.330][v][mkv] select track 6
[   0.330][i][cplayer]  (+) Video --vid=1 (*) 'SomeMovie - 1080p - x264 - LotusFlower' (h264 1920x800 23.976fps)
[   0.330][i][cplayer]  (+) Audio --aid=1 --alang=fre (*) 'VFF AC3 5.1' (ac3 6ch 48000Hz)
[   0.330][i][cplayer]      Audio --aid=2 --alang=eng 'Anglais AC3 51' (ac3 6ch 48000Hz)
[   0.330][i][cplayer]      Audio --aid=3 --alang=fre 'VFF AAC Stereo' (aac 2ch 48000Hz)
[   0.330][i][cplayer]      Subs  --sid=1 --slang=fre (*) 'Français Forcés' (subrip)
[   0.330][i][cplayer]      Subs  --sid=2 --slang=fre 'Français Complets' (subrip)
[   0.330][i][cplayer]  (+) Subs  --sid=3 --slang=eng 'Anglais' (subrip)
[   0.330][i][display-tags] File tags:
[   0.330][i][display-tags]  Title: SomeMovie - PopHD
[   0.330][v][vo/libmpv] Assuming 60.002400 FPS for display sync.
[   0.330][v][vd] Container reported FPS: 23.976024
[   0.330][v][vd] Codec list:
[   0.330][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.330][v][vd] Opening decoder h264
[   0.330][v][vd] Looking at hwdec h264-videotoolbox...
[   0.330][v][vd] Trying hardware decoding via h264-videotoolbox.
[   0.330][v][vd] Pixel formats supported by decoder: videotoolbox_vld yuv420p
[   0.330][v][vd] Codec profile: High (0x64)
[   0.330][v][vd] Requesting pixfmt 'videotoolbox_vld' from decoder.
[   0.413][d][ffmpeg/video] h264: Reinit context to 1920x800, pix_fmt: videotoolbox_vld
[   0.433][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.433][v][vf] User filter list:
[   0.433][v][vf]   (empty)
[   0.433][v][ad] Codec list:
[   0.433][v][ad]     ac3 - ATSC A/52A (AC-3)
[   0.433][v][ad]     ac3_fixed (ac3) - ATSC A/52A (AC-3)
[   0.433][v][ad]     ac3_at (ac3) - ac3 (AudioToolbox)
[   0.433][v][ad] Opening decoder ac3
[   0.433][v][ad] Detected 8 logical cores.
[   0.433][v][ad] Requesting 9 threads for decoding.
[   0.433][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[   0.433][v][af] User filter list:
[   0.433][v][af]   (empty)
[   0.433][d][sub/ass] ASS library version: 0x1701000 (runtime 0x1701000)
[   0.433][v][sub/ass] libass API version: 0x1701000
[   0.433][v][sub/ass] libass source: tarball: 0.17.1
[   0.433][v][sub/ass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 7.1.0 (COMPLEX)
[   0.433][v][sub/ass] Setting up fonts...
[   0.434][v][sub/ass] Using font provider coretext
[   0.434][v][sub/ass] Done.
[   0.434][v][cplayer] Starting playback...
[   0.434][v][mkv] queuing seek to 572.781000
[   0.434][v][mkv] execute seek (to 572.781000 flags 32)
[   0.434][v][file] stream level seek from 138340 to 253082076
[   0.434][v][mkv] seek done
[   0.434][v][cplayer] hr-seek, skipping to 572.740000
[   0.434][v][af] [in] 48000Hz 5.1(side) 6ch floatp
[   0.434][v][af] [userspeed] 48000Hz 5.1(side) 6ch floatp
[   0.434][v][af] [userspeed] (disabled)
[   0.434][v][af] [convert] 48000Hz 5.1(side) 6ch floatp
[   0.435][v][vd] Pixel formats supported by decoder: videotoolbox_vld yuv420p
[   0.435][v][vd] Codec profile: High (0x64)
[   0.435][v][vd] Requesting pixfmt 'videotoolbox_vld' from decoder.
[   0.441][d][ffmpeg/video] h264: Reinit context to 1920x800, pix_fmt: videotoolbox_vld
[   0.451][i][vd] Using hardware decoding (videotoolbox).
[   0.451][v][vd] Decoder format: 1920x800 [0:1] videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264
[   0.451][v][vd] Using container aspect ratio.
[   0.451][v][vf] [in] 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.451][v][vf] [userdeint] 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.451][v][vf] [userdeint] (disabled)
[   0.451][v][vf] [autorotate] 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.451][v][vf] [autorotate] (disabled)
[   0.451][v][vf] [convert] 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.451][v][vf] [convert] (disabled)
[   0.451][v][vf] [out] 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.451][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/20000.Lieues.Sous.Les.Mers.1954.MULTI.1080p.HDLight.AC3.x264-gismo65.mkv", flags="append", options=""]
[   0.451][v][ao] Trying audio driver 'coreaudio'
[   0.451][v][ao/coreaudio] requested format: 48000 Hz, 5.1(side) channels, floatp
[   0.451][v][ao/coreaudio] selected audio output device: Jean-Pods (99)
[   0.451][v][ao/coreaudio] input channel layout:
[   0.451][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.451][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.451][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.451][v][ao/coreaudio] mp chmap: stereo
[   0.451][v][ao/coreaudio] input channel layout:
[   0.451][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   0.451][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.451][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   0.451][v][ao/coreaudio] mp chmap: stereo
[   0.451][v][ao/coreaudio] Channel layouts:
[   0.451][v][ao/coreaudio]  - stereo
[   0.451][v][ao/coreaudio]  - stereo
[   0.451][v][ao/coreaudio]  - mono
[   0.451][v][ao/coreaudio] result: stereo
[   0.461][v][ao/coreaudio] Latency property cntl: 7680 frames
[   0.461][v][ao/coreaudio] Latency property zisf: 512 frames
[   0.461][v][ao/coreaudio] Latency property tfas: 0 frames
[   0.461][v][ao/coreaudio] Device sample rate: 48000.000000
[   0.461][v][ao/coreaudio] audiounit latency [us]: 0
[   0.461][v][ao/coreaudio] device latency [us]: 170666
[   0.461][v][ao/coreaudio] using soft-buffer of 9600 samples.
[   0.461][i][cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp
[   0.461][v][cplayer] AO: Description: CoreAudio AudioUnit
[   0.461][v][autoconvert] inserting resampler
[   0.461][v][swresample] format change, reinitializing resampler
[   0.461][v][swresample] 48000Hz 5.1(side) floatp -> 48000Hz stereo floatp
[   0.461][v][swresample] Remix: 5.1(side) -> stereo
[   0.461][v][af] [out] 48000Hz stereo 2ch floatp
[   0.463][v][cplayer] Set property: pause=true -> 1
[   0.463][d][cplayer] Run command: playlist-move, flags=64, args=[index1="1", index2="0"]
[   0.467][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/La Famille Tenenbaum.mkv", flags="append", options=""]
[   0.469][d][cplayer] Run command: playlist-move, flags=64, args=[index1="2", index2="1"]
[   0.470][v][cplayer] Set property: keepaspect=true -> 1
[   0.470][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/Le Pont Des Espions.avi", flags="append", options=""]
[   0.470][d][cplayer] Run command: playlist-move, flags=64, args=[index1="3", index2="2"]
[   0.471][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/Les.Acteurs.2000.FRENCH.1080p.WEB.H264-STORiES.mkv", flags="append", options=""]
[   0.471][d][cplayer] Run command: playlist-move, flags=64, args=[index1="4", index2="3"]
[   0.475][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/Mon.Inconnue.2019.FRENCH.1080p.WEB.H264-CiELOS.mkv", flags="append", options=""]
[   0.475][d][cplayer] Run command: playlist-move, flags=64, args=[index1="5", index2="4"]
[   0.478][d][cplayer] Run command: loadfile, flags=64, args=[url="/Users/sly/Movies/Peau d'âne.mkv", flags="append", options=""]
[   0.478][d][cplayer] Run command: playlist-move, flags=64, args=[index1="6", index2="5"]
[   0.504][v][cplayer] Set property: pause=false -> 1
[   0.525][i][cplayer] VO: [libmpv] 1920x800 videotoolbox[nv12]
[   0.525][v][cplayer] VO: Description: render API for libmpv
[   0.525][v][vo/libmpv] reconfig to 1920x800 videotoolbox[nv12] bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
[   0.726][v][vo/libmpv] mpv_render_context_render() not being called or stuck.
[   0.726][v][cplayer] first video frame after restart shown
[   0.734][v][cplayer] audio ready
[   0.734][d][cplayer] starting video playback
[   0.734][v][cplayer] starting audio playback
[   0.887][v][cplayer] playback restart complete @ 572.740000, audio=playing, video=playing
[   0.900][v][libmpv_render] Window size: 3380x1408 (Borders: l=0 t=0 r=0 b=0)
[   0.900][v][libmpv_render] Video source: 1920x800 (1:1)
[   0.900][v][libmpv_render] Video display: (0, 0) 1920x800 -> (0, 0) 3380x1408
[   0.900][v][libmpv_render] Video scale: 1.760417/1.760000
[   0.900][v][libmpv_render] OSD borders: l=0 t=0 r=0 b=0
[   0.900][v][libmpv_render] Video borders: l=0 t=0 r=0 b=0
[   0.900][v][libmpv_render] Testing FBO format rgba16f
[   0.900][d][libmpv_render] Resizing texture: 16x16
[   0.900][v][libmpv_render] Using FBO format rgba16f.
[   0.900][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   0.901][d][libmpv_render] vertex shader source:
[   0.901][d][libmpv_render] [  1] #version 410
[   0.901][d][libmpv_render] [  2] #define tex1D texture
[   0.901][d][libmpv_render] [  3] #define tex3D texture
[   0.901][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.901][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.902][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   0.902][d][libmpv_render] [  7] out vec2 texcoord0;
[   0.902][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   0.902][d][libmpv_render] [  9] out vec2 texcoord1;
[   0.902][d][libmpv_render] [ 10] void main() {
[   0.902][d][libmpv_render] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.902][d][libmpv_render] [ 12] texcoord0 = vertex_texcoord0;
[   0.902][d][libmpv_render] [ 13] texcoord1 = vertex_texcoord1;
[   0.902][d][libmpv_render] [ 14] }
[   0.903][d][libmpv_render] fragment shader source:
[   0.903][d][libmpv_render] [  1] #version 410
[   0.903][d][libmpv_render] [  2] #define tex1D texture
[   0.903][d][libmpv_render] [  3] #define tex3D texture
[   0.903][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.903][d][libmpv_render] [  5] out vec4 out_color;
[   0.903][d][libmpv_render] [  6] in vec2 texcoord0;
[   0.903][d][libmpv_render] [  7] in vec2 texcoord1;
[   0.903][d][libmpv_render] [  8] uniform mat3 colormatrix;
[   0.903][d][libmpv_render] [  9] uniform vec3 colormatrix_c;
[   0.903][d][libmpv_render] [ 10] uniform vec3 src_luma;
[   0.903][d][libmpv_render] [ 11] uniform vec3 dst_luma;
[   0.903][d][libmpv_render] [ 12] uniform sampler2DRect texture0;
[   0.903][d][libmpv_render] [ 13] uniform vec2 texture_size0;
[   0.903][d][libmpv_render] [ 14] uniform mat2 texture_rot0;
[   0.903][d][libmpv_render] [ 15] uniform vec2 texture_off0;
[   0.903][d][libmpv_render] [ 16] uniform vec2 pixel_size0;
[   0.903][d][libmpv_render] [ 17] uniform sampler2DRect texture1;
[   0.903][d][libmpv_render] [ 18] uniform vec2 texture_size1;
[   0.903][d][libmpv_render] [ 19] uniform mat2 texture_rot1;
[   0.903][d][libmpv_render] [ 20] uniform vec2 texture_off1;
[   0.903][d][libmpv_render] [ 21] uniform vec2 pixel_size1;
[   0.903][d][libmpv_render] [ 22] void main() {
[   0.903][d][libmpv_render] [ 23] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.903][d][libmpv_render] [ 24] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.903][d][libmpv_render] [ 25] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg;
[   0.903][d][libmpv_render] [ 26] color = color.rgbr;
[   0.903][d][libmpv_render] [ 27] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.903][d][libmpv_render] [ 28] color.a = 1.0;
[   0.903][d][libmpv_render] [ 29] // color mapping
[   0.903][d][libmpv_render] [ 30] color.rgb *= vec3(1.000000);
[   0.903][d][libmpv_render] [ 31] color.rgb *= vec3(1.000000);
[   0.903][d][libmpv_render] [ 32] out_color = color;
[   0.903][d][libmpv_render] [ 33] }
[   0.903][d][libmpv_render] shader link log (status=1): 
[   0.913][v][sub/ass] fontselect: (sans-serif, 400, 0) -> /System/Library/Fonts/Helvetica.ttc, -1, Helvetica
[   0.916][v][libmpv_render] Reallocating OSD texture to 1024x256.
[   0.921][d][libmpv_render] vertex shader source:
[   0.921][d][libmpv_render] [  1] #version 410
[   0.921][d][libmpv_render] [  2] #define tex1D texture
[   0.921][d][libmpv_render] [  3] #define tex3D texture
[   0.921][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.921][d][libmpv_render] [  5] in vec2 vertex_position;
[   0.921][d][libmpv_render] [  6] in vec2 vertex_texcoord;
[   0.921][d][libmpv_render] [  7] out vec2 texcoord;
[   0.921][d][libmpv_render] [  8] in vec4 vertex_ass_color;
[   0.921][d][libmpv_render] [  9] out vec4 ass_color;
[   0.921][d][libmpv_render] [ 10] void main() {
[   0.921][d][libmpv_render] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.921][d][libmpv_render] [ 12] texcoord = vertex_texcoord;
[   0.921][d][libmpv_render] [ 13] ass_color = vertex_ass_color;
[   0.921][d][libmpv_render] [ 14] }
[   0.922][d][libmpv_render] fragment shader source:
[   0.922][d][libmpv_render] [  1] #version 410
[   0.922][d][libmpv_render] [  2] #define tex1D texture
[   0.922][d][libmpv_render] [  3] #define tex3D texture
[   0.922][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.922][d][libmpv_render] [  5] out vec4 out_color;
[   0.922][d][libmpv_render] [  6] in vec2 texcoord;
[   0.922][d][libmpv_render] [  7] in vec4 ass_color;
[   0.922][d][libmpv_render] [  8] uniform sampler2D osdtex;
[   0.922][d][libmpv_render] [  9] uniform vec3 src_luma;
[   0.922][d][libmpv_render] [ 10] uniform vec3 dst_luma;
[   0.922][d][libmpv_render] [ 11] void main() {
[   0.922][d][libmpv_render] [ 12] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.922][d][libmpv_render] [ 13] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[   0.922][d][libmpv_render] [ 14] // color mapping
[   0.922][d][libmpv_render] [ 15] color.rgb *= vec3(1.000000);
[   0.922][d][libmpv_render] [ 16] color.rgb *= vec3(1.000000);
[   0.922][d][libmpv_render] [ 17] out_color = color;
[   0.922][d][libmpv_render] [ 18] }
[   0.922][d][libmpv_render] shader link log (status=1): 
[   0.953][v][cplayer] Set property: icc-profile="/Library/ColorSync/Profiles/Displays/Color LCD-37D8832A-2D66-02CA-B9F7-8F30A301B230.icc" -> 1
[   0.960][v][cplayer] Set property: icc-profile="/Library/ColorSync/Profiles/Displays/Color LCD-37D8832A-2D66-02CA-B9F7-8F30A301B230.icc" -> 1
[   1.028][v][cplayer] Set property: fullscreen=true -> 1
[   1.029][v][libmpv_render] Window size: 3420x2138 (Borders: l=0 t=0 r=0 b=0)
[   1.029][v][libmpv_render] Video source: 1920x800 (1:1)
[   1.029][v][libmpv_render] Video display: (0, 0) 1920x800 -> (0, 356) 3420x1425
[   1.029][v][libmpv_render] Video scale: 1.781250/1.781250
[   1.029][v][libmpv_render] OSD borders: l=0 t=356 r=0 b=357
[   1.029][v][libmpv_render] Video borders: l=0 t=356 r=0 b=357
[   1.029][d][global] user path: '/Library/ColorSync/Profiles/Displays/Color LCD-37D8832A-2D66-02CA-B9F7-8F30A301B230.icc' -> '/Library/ColorSync/Profiles/Displays/Color LCD-37D8832A-2D66-02CA-B9F7-8F30A301B230.icc'
[   1.029][v][libmpv_render] Opening ICC profile '/Library/ColorSync/Profiles/Displays/Color LCD-37D8832A-2D66-02CA-B9F7-8F30A301B230.icc'
[   1.029][v][libmpv_render] Testing FBO format rgba16f
[   1.029][d][libmpv_render] Resizing texture: 16x16
[   1.029][v][libmpv_render] Using FBO format rgba16f.
[   1.029][v][libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[   1.029][v][libmpv_render] No advanced processing required. Enabling dumb mode.
[   1.030][v][libmpv_render] Detected ICC profile contrast: inf
[   1.064][d][libmpv_render] vertex shader source:
[   1.064][d][libmpv_render] [  1] #version 410
[   1.064][d][libmpv_render] [  2] #define tex1D texture
[   1.064][d][libmpv_render] [  3] #define tex3D texture
[   1.064][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.064][d][libmpv_render] [  5] in vec2 vertex_position;
[   1.064][d][libmpv_render] [  6] in vec2 vertex_texcoord0;
[   1.064][d][libmpv_render] [  7] out vec2 texcoord0;
[   1.064][d][libmpv_render] [  8] in vec2 vertex_texcoord1;
[   1.064][d][libmpv_render] [  9] out vec2 texcoord1;
[   1.064][d][libmpv_render] [ 10] void main() {
[   1.064][d][libmpv_render] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   1.064][d][libmpv_render] [ 12] texcoord0 = vertex_texcoord0;
[   1.064][d][libmpv_render] [ 13] texcoord1 = vertex_texcoord1;
[   1.064][d][libmpv_render] [ 14] }
[   1.064][d][libmpv_render] fragment shader source:
[   1.064][d][libmpv_render] [  1] #version 410
[   1.064][d][libmpv_render] [  2] #define tex1D texture
[   1.064][d][libmpv_render] [  3] #define tex3D texture
[   1.064][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.064][d][libmpv_render] [  5] out vec4 out_color;
[   1.064][d][libmpv_render] [  6] in vec2 texcoord0;
[   1.064][d][libmpv_render] [  7] in vec2 texcoord1;
[   1.064][d][libmpv_render] [  8] uniform mat3 colormatrix;
[   1.064][d][libmpv_render] [  9] uniform vec3 colormatrix_c;
[   1.064][d][libmpv_render] [ 10] uniform vec3 src_luma;
[   1.064][d][libmpv_render] [ 11] uniform vec3 dst_luma;
[   1.064][d][libmpv_render] [ 12] uniform sampler3D lut_3d;
[   1.064][d][libmpv_render] [ 13] uniform sampler2DRect texture0;
[   1.064][d][libmpv_render] [ 14] uniform vec2 texture_size0;
[   1.064][d][libmpv_render] [ 15] uniform mat2 texture_rot0;
[   1.064][d][libmpv_render] [ 16] uniform vec2 texture_off0;
[   1.064][d][libmpv_render] [ 17] uniform vec2 pixel_size0;
[   1.064][d][libmpv_render] [ 18] uniform sampler2DRect texture1;
[   1.064][d][libmpv_render] [ 19] uniform vec2 texture_size1;
[   1.064][d][libmpv_render] [ 20] uniform mat2 texture_rot1;
[   1.064][d][libmpv_render] [ 21] uniform vec2 texture_off1;
[   1.064][d][libmpv_render] [ 22] uniform vec2 pixel_size1;
[   1.064][d][libmpv_render] [ 23] void main() {
[   1.064][d][libmpv_render] [ 24] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   1.064][d][libmpv_render] [ 25] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   1.064][d][libmpv_render] [ 26] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg;
[   1.064][d][libmpv_render] [ 27] color = color.rgbr;
[   1.064][d][libmpv_render] [ 28] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   1.064][d][libmpv_render] [ 29] color.a = 1.0;
[   1.064][d][libmpv_render] [ 30] // color mapping
[   1.064][d][libmpv_render] [ 31] color.rgb *= vec3(1.000000);
[   1.064][d][libmpv_render] [ 32] color.rgb *= vec3(1.000000);
[   1.064][d][libmpv_render] [ 33] vec3 cpos;
[   1.064][d][libmpv_render] [ 34] cpos[0] = LUT_POS(color[0], 64.0);
[   1.064][d][libmpv_render] [ 35] cpos[1] = LUT_POS(color[1], 64.0);
[   1.064][d][libmpv_render] [ 36] cpos[2] = LUT_POS(color[2], 64.0);
[   1.064][d][libmpv_render] [ 37] color.rgb = tex3D(lut_3d, cpos).rgb;
[   1.064][d][libmpv_render] [ 38] out_color = color;
[   1.064][d][libmpv_render] [ 39] }
[   1.064][d][libmpv_render] shader link log (status=1): 
[   1.066][v][libmpv_render] Reallocating OSD texture to 2048x256.
[   1.070][d][libmpv_render] vertex shader source:
[   1.071][d][libmpv_render] [  1] #version 410
[   1.071][d][libmpv_render] [  2] #define tex1D texture
[   1.071][d][libmpv_render] [  3] #define tex3D texture
[   1.071][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.071][d][libmpv_render] [  5] in vec2 vertex_position;
[   1.071][d][libmpv_render] [  6] in vec2 vertex_texcoord;
[   1.071][d][libmpv_render] [  7] out vec2 texcoord;
[   1.071][d][libmpv_render] [  8] in vec4 vertex_ass_color;
[   1.071][d][libmpv_render] [  9] out vec4 ass_color;
[   1.071][d][libmpv_render] [ 10] void main() {
[   1.071][d][libmpv_render] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   1.071][d][libmpv_render] [ 12] texcoord = vertex_texcoord;
[   1.071][d][libmpv_render] [ 13] ass_color = vertex_ass_color;
[   1.071][d][libmpv_render] [ 14] }
[   1.071][d][libmpv_render] fragment shader source:
[   1.071][d][libmpv_render] [  1] #version 410
[   1.071][d][libmpv_render] [  2] #define tex1D texture
[   1.071][d][libmpv_render] [  3] #define tex3D texture
[   1.071][d][libmpv_render] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   1.071][d][libmpv_render] [  5] out vec4 out_color;
[   1.071][d][libmpv_render] [  6] in vec2 texcoord;
[   1.071][d][libmpv_render] [  7] in vec4 ass_color;
[   1.071][d][libmpv_render] [  8] uniform sampler2D osdtex;
[   1.071][d][libmpv_render] [  9] uniform vec3 src_luma;
[   1.071][d][libmpv_render] [ 10] uniform vec3 dst_luma;
[   1.071][d][libmpv_render] [ 11] uniform sampler3D lut_3d;
[   1.071][d][libmpv_render] [ 12] void main() {
[   1.071][d][libmpv_render] [ 13] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   1.071][d][libmpv_render] [ 14] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[   1.071][d][libmpv_render] [ 15] // color mapping
[   1.071][d][libmpv_render] [ 16] // linearize
[   1.071][d][libmpv_render] [ 17] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   1.071][d][libmpv_render] [ 18] color.rgb = mix(color.rgb * vec3(1.0/12.92),             
[   1.071][d][libmpv_render] [ 19]                 pow((color.rgb + vec3(0.055))/vec3(1.055), vec3(2.4)), 
[   1.071][d][libmpv_render] [ 20]                 bvec3(lessThan(vec3(0.04045), color.rgb))); 
[   1.071][d][libmpv_render] [ 21] color.rgb *= vec3(1.0/1.000000);
[   1.071][d][libmpv_render] [ 22] color.rgb *= vec3(1.000000);
[   1.071][d][libmpv_render] [ 23] color.rgb *= vec3(1.000000);
[   1.071][d][libmpv_render] [ 24] // delinearize
[   1.071][d][libmpv_render] [ 25] color.rgb = clamp(color.rgb, 0.0, 1.0);
[   1.071][d][libmpv_render] [ 26] color.rgb *= vec3(1.000000);
[   1.071][d][libmpv_render] [ 27] color.rgb = pow(color.rgb, vec3(1.0/2.4));
[   1.071][d][libmpv_render] [ 28] vec3 cpos;
[   1.071][d][libmpv_render] [ 29] cpos[0] = LUT_POS(color[0], 64.0);
[   1.071][d][libmpv_render] [ 30] cpos[1] = LUT_POS(color[1], 64.0);
[   1.071][d][libmpv_render] [ 31] cpos[2] = LUT_POS(color[2], 64.0);
[   1.071][d][libmpv_render] [ 32] color.rgb = tex3D(lut_3d, cpos).rgb;
[   1.071][d][libmpv_render] [ 33] out_color = color;
[   1.071][d][libmpv_render] [ 34] }
[   1.071][d][libmpv_render] shader link log (status=1): 
[   1.076][v][cplayer] Set property: window-scale=0.890625 -> 1
[   1.076][v][libmpv_render] Reallocating OSD texture to 2048x256.
[   1.087][v][libmpv_render] Window size: 3420x2138 (Borders: l=0 t=0 r=0 b=0)
[   1.087][v][libmpv_render] Video source: 1920x800 (1:1)
[   1.087][v][libmpv_render] Video display: (0, 0) 1920x800 -> (0, 356) 3420x1425
[   1.087][v][libmpv_render] Video scale: 1.781250/1.781250
[   1.087][v][libmpv_render] OSD borders: l=0 t=356 r=0 b=357
[   1.087][v][libmpv_render] Video borders: l=0 t=356 r=0 b=357
[   1.126][v][cplayer] Set property: window-scale=0.890625 -> 1
[   4.354][d][cplayer] Run command: cycle, flags=64, args=[name="audio", value="1.000000"]
[   4.354][d][ad] Uninit decoder.
[   4.354][v][mkv] deselect track 1
[   4.354][v][mkv] select track 2
[   4.354][v][mkv] refresh seek to 575.075000
[   4.355][v][mkv] execute seek (to 575.075000 flags 32)
[   4.355][v][file] stream level seek from 255699872 to 254385780
[   4.355][v][mkv] seek done
[   4.355][v][ad] Codec list:
[   4.355][v][ad]     ac3 - ATSC A/52A (AC-3)
[   4.355][v][ad]     ac3_fixed (ac3) - ATSC A/52A (AC-3)
[   4.355][v][ad]     ac3_at (ac3) - ac3 (AudioToolbox)
[   4.355][v][ad] Opening decoder ac3
[   4.355][v][ad] Detected 8 logical cores.
[   4.355][v][ad] Requesting 9 threads for decoding.
[   4.355][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[   4.355][v][af] User filter list:
[   4.355][v][af]   (empty)
[   4.355][i][cplayer] Track switched:
[   4.355][i][cplayer]  (+) Video --vid=1 (*) 'SomeMovie - 1080p - x264 - LotusFlower' (h264 1920x800 23.976fps)
[   4.355][i][cplayer]      Audio --aid=1 --alang=fre (*) 'VFF AC3 5.1' (ac3 6ch 48000Hz)
[   4.355][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Anglais AC3 51' (ac3 6ch 48000Hz)
[   4.355][i][cplayer]      Audio --aid=3 --alang=fre 'VFF AAC Stereo' (aac 2ch 48000Hz)
[   4.355][i][cplayer]      Subs  --sid=1 --slang=fre (*) 'Français Forcés' (subrip)
[   4.355][i][cplayer]      Subs  --sid=2 --slang=fre 'Français Complets' (subrip)
[   4.355][i][cplayer]  (+) Subs  --sid=3 --slang=eng 'Anglais' (subrip)
[   4.355][v][cplayer] Set property: aid -> 1
[   4.355][v][cplayer] Set property: audio -> 1
[   4.355][v][af] [in] 48000Hz 5.1(side) 6ch floatp
[   4.355][v][af] [userspeed] 48000Hz 5.1(side) 6ch floatp
[   4.355][v][af] [userspeed] (disabled)
[   4.355][v][af] [convert] 48000Hz 5.1(side) 6ch floatp
[   4.355][v][autoconvert] inserting resampler
[   4.355][v][swresample] format change, reinitializing resampler
[   4.355][v][swresample] 48000Hz 5.1(side) floatp -> 48000Hz stereo floatp
[   4.355][v][swresample] Remix: 5.1(side) -> stereo
[   4.356][v][af] [out] 48000Hz stereo 2ch floatp
[   4.362][v][cplayer] audio ready
[   4.362][v][cplayer] starting audio playback
[   6.284][d][cplayer] Run command: cycle, flags=64, args=[name="audio", value="1.000000"]
[   6.284][d][ad] Uninit decoder.
[   6.284][v][mkv] deselect track 2
[   6.284][v][mkv] select track 3
[   6.284][v][mkv] refresh seek to 576.827000
[   6.284][v][ad] Codec list:
[   6.284][v][ad]     aac - AAC (Advanced Audio Coding)
[   6.284][v][ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[   6.284][v][ad]     aac_at (aac) - aac (AudioToolbox)
[   6.284][v][ad] Opening decoder aac
[   6.284][v][ad] Detected 8 logical cores.
[   6.284][v][ad] Requesting 9 threads for decoding.
[   6.284][v][ad] Selected codec: aac (AAC (Advanced Audio Coding))
[   6.284][v][af] User filter list:
[   6.284][v][af]   (empty)
[   6.284][i][cplayer] Track switched:
[   6.284][i][cplayer]  (+) Video --vid=1 (*) 'SomeMovie - 1080p - x264 - LotusFlower' (h264 1920x800 23.976fps)
[   6.284][i][cplayer]      Audio --aid=1 --alang=fre (*) 'VFF AC3 5.1' (ac3 6ch 48000Hz)
[   6.284][i][cplayer]      Audio --aid=2 --alang=eng 'Anglais AC3 51' (ac3 6ch 48000Hz)
[   6.284][i][cplayer]  (+) Audio --aid=3 --alang=fre 'VFF AAC Stereo' (aac 2ch 48000Hz)
[   6.284][i][cplayer]      Subs  --sid=1 --slang=fre (*) 'Français Forcés' (subrip)
[   6.284][i][cplayer]      Subs  --sid=2 --slang=fre 'Français Complets' (subrip)
[   6.284][i][cplayer]  (+) Subs  --sid=3 --slang=eng 'Anglais' (subrip)
[   6.284][v][cplayer] Set property: aid -> 1
[   6.284][v][cplayer] Set property: audio -> 1
[   6.284][v][mkv] execute seek (to 576.827000 flags 32)
[   6.285][v][file] stream level seek from 256355232 to 254385780
[   6.285][v][mkv] seek done
[   6.285][v][af] [in] 48000Hz stereo 2ch floatp
[   6.285][v][af] [userspeed] 48000Hz stereo 2ch floatp
[   6.285][v][af] [userspeed] (disabled)
[   6.285][v][af] [convert] 48000Hz stereo 2ch floatp
[   6.316][v][ao] Trying audio driver 'coreaudio'
[   6.317][v][ao/coreaudio] requested format: 48000 Hz, stereo channels, floatp
[   6.317][v][ao/coreaudio] selected audio output device: Jean-Pods (99)
[   6.317][v][ao/coreaudio] input channel layout:
[   6.317][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   6.317][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   6.317][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   6.317][v][ao/coreaudio] mp chmap: stereo
[   6.317][v][ao/coreaudio] input channel layout:
[   6.317][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[   6.317][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   6.317][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[   6.317][v][ao/coreaudio] mp chmap: stereo
[   6.317][v][ao/coreaudio] Channel layouts:
[   6.317][v][ao/coreaudio]  - stereo
[   6.317][v][ao/coreaudio]  - stereo
[   6.317][v][ao/coreaudio]  - mono
[   6.317][v][ao/coreaudio] result: stereo
[   6.319][v][ao/coreaudio] Latency property cntl: 7680 frames
[   6.319][v][ao/coreaudio] Latency property zisf: 512 frames
[   6.319][v][ao/coreaudio] Latency property tfas: 0 frames
[   6.319][v][ao/coreaudio] Device sample rate: 48000.000000
[   6.319][v][ao/coreaudio] audiounit latency [us]: 0
[   6.319][v][ao/coreaudio] device latency [us]: 170666
[   6.319][v][ao/coreaudio] using soft-buffer of 9600 samples.
[   6.319][i][cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp
[   6.319][v][cplayer] AO: Description: CoreAudio AudioUnit
[   6.319][v][af] [convert] (disabled)
[   6.319][v][af] [out] 48000Hz stereo 2ch floatp
[   6.324][v][cplayer] audio ready
[   6.324][v][cplayer] starting audio playback
[   6.946][v][libmpv_render] Reallocating OSD texture to 2048x512.
[   8.581][d][cplayer] Run command: cycle, flags=64, args=[name="audio", value="1.000000"]
[   8.581][d][ad] Uninit decoder.
[   8.607][v][mkv] deselect track 3
[   8.607][i][cplayer] Track switched:
[   8.607][i][cplayer]  (+) Video --vid=1 (*) 'SomeMovie - 1080p - x264 - LotusFlower' (h264 1920x800 23.976fps)
[   8.607][i][cplayer]      Audio --aid=1 --alang=fre (*) 'VFF AC3 5.1' (ac3 6ch 48000Hz)
[   8.607][i][cplayer]      Audio --aid=2 --alang=eng 'Anglais AC3 51' (ac3 6ch 48000Hz)
[   8.607][i][cplayer]      Audio --aid=3 --alang=fre 'VFF AAC Stereo' (aac 2ch 48000Hz)
[   8.607][i][cplayer]      Subs  --sid=1 --slang=fre (*) 'Français Forcés' (subrip)
[   8.607][i][cplayer]      Subs  --sid=2 --slang=fre 'Français Complets' (subrip)
[   8.607][i][cplayer]  (+) Subs  --sid=3 --slang=eng 'Anglais' (subrip)
[   8.607][v][cplayer] Set property: aid -> 1
[   8.607][v][cplayer] Set property: audio -> 1
[  10.611][d][cplayer] Run command: cycle, flags=64, args=[name="audio", value="1.000000"]
[  10.611][v][mkv] select track 1
[  10.611][v][mkv] refresh seek to 580.748000
[  10.611][v][mkv] execute seek (to 580.748000 flags 32)
[  10.611][v][file] stream level seek from 257993632 to 254385780
[  10.611][v][mkv] seek done
[  10.611][v][ad] Codec list:
[  10.611][v][ad]     ac3 - ATSC A/52A (AC-3)
[  10.611][v][ad]     ac3_fixed (ac3) - ATSC A/52A (AC-3)
[  10.611][v][ad]     ac3_at (ac3) - ac3 (AudioToolbox)
[  10.611][v][ad] Opening decoder ac3
[  10.611][v][ad] Detected 8 logical cores.
[  10.612][v][ad] Requesting 9 threads for decoding.
[  10.612][v][ad] Selected codec: ac3 (ATSC A/52A (AC-3))
[  10.612][v][af] User filter list:
[  10.612][v][af]   (empty)
[  10.612][i][cplayer] Track switched:
[  10.612][i][cplayer]  (+) Video --vid=1 (*) 'SomeMovie - 1080p - x264 - LotusFlower' (h264 1920x800 23.976fps)
[  10.612][i][cplayer]  (+) Audio --aid=1 --alang=fre (*) 'VFF AC3 5.1' (ac3 6ch 48000Hz)
[  10.612][i][cplayer]      Audio --aid=2 --alang=eng 'Anglais AC3 51' (ac3 6ch 48000Hz)
[  10.612][i][cplayer]      Audio --aid=3 --alang=fre 'VFF AAC Stereo' (aac 2ch 48000Hz)
[  10.612][i][cplayer]      Subs  --sid=1 --slang=fre (*) 'Français Forcés' (subrip)
[  10.612][i][cplayer]      Subs  --sid=2 --slang=fre 'Français Complets' (subrip)
[  10.612][i][cplayer]  (+) Subs  --sid=3 --slang=eng 'Anglais' (subrip)
[  10.612][v][cplayer] Set property: aid -> 1
[  10.612][v][cplayer] Set property: audio -> 1
[  10.615][v][af] [in] 48000Hz 5.1(side) 6ch floatp
[  10.615][v][af] [userspeed] 48000Hz 5.1(side) 6ch floatp
[  10.615][v][af] [userspeed] (disabled)
[  10.615][v][af] [convert] 48000Hz 5.1(side) 6ch floatp
[  10.616][v][ao] Trying audio driver 'coreaudio'
[  10.616][v][ao/coreaudio] requested format: 48000 Hz, 5.1(side) channels, floatp
[  10.616][v][ao/coreaudio] selected audio output device: Jean-Pods (99)
[  10.617][v][ao/coreaudio] input channel layout:
[  10.617][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[  10.617][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[  10.617][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[  10.617][v][ao/coreaudio] mp chmap: stereo
[  10.618][v][ao/coreaudio] input channel layout:
[  10.618][v][ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>
[  10.618][v][ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[  10.618][v][ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[  10.618][v][ao/coreaudio] mp chmap: stereo
[  10.618][v][ao/coreaudio] Channel layouts:
[  10.618][v][ao/coreaudio]  - stereo
[  10.618][v][ao/coreaudio]  - stereo
[  10.618][v][ao/coreaudio]  - mono
[  10.618][v][ao/coreaudio] result: stereo
[  10.620][v][ao/coreaudio] Latency property cntl: 7680 frames
[  10.620][v][ao/coreaudio] Latency property zisf: 512 frames
[  10.620][v][ao/coreaudio] Latency property tfas: 0 frames
[  10.620][v][ao/coreaudio] Device sample rate: 48000.000000
[  10.620][v][ao/coreaudio] audiounit latency [us]: 0
[  10.620][v][ao/coreaudio] device latency [us]: 170666
[  10.620][v][ao/coreaudio] using soft-buffer of 9600 samples.
[  10.620][i][cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp
[  10.620][v][cplayer] AO: Description: CoreAudio AudioUnit
[  10.639][v][autoconvert] inserting resampler
[  10.639][v][swresample] format change, reinitializing resampler
[  10.639][v][swresample] 48000Hz 5.1(side) floatp -> 48000Hz stereo floatp
[  10.639][v][swresample] Remix: 5.1(side) -> stereo
[  10.639][v][af] [out] 48000Hz stereo 2ch floatp
[  10.670][v][cplayer] audio ready
[  10.670][v][cplayer] starting audio playback
[  18.867][v][cplayer] Set property: pause=true -> 1

@low-batt
Copy link
Contributor

low-batt commented May 5, 2024

Thank you for supplying the mpv logfile.

The log has an important clue:

[   4.354][d][cplayer] Run command: cycle, flags=64, args=[name="audio", value="1.000000"]

The API libmpv exposes provides commands and properties. That log indicates the cycle command:

cycle <name> [<value>]
Cycle the given property or option. The second argument can be up or down to set the cycle direction. On overflow, set the property back to the minimum, on underflow set it to the maximum. If up or down is omitted, assume up.

Is being run on the aid option using the alias audio:

--aid=<ID|auto|no>
Select audio track. auto selects the default, no disables audio. See also --alang. mpv normally prints available audio tracks on the terminal when starting playback of a file.

--audio is an alias for --aid.

It appears the audio track is changing because mpv is being commanded to change it.

Which key bindings are you using? IINA will send a cycle audio command upon a key press. The default IINA key bindings have this command bound to ⌃⌘A. Rather hard to press by accident. The VLC key bindings bind this command to L. Could there be an issue with that key such that closing the lid sends a key press?

I created a video with multiple audio tracks and tried to reproduce this, but could not get the audio track to change.

I'm confused by this behavior.

@Lynorek
Copy link
Author

Lynorek commented May 5, 2024

Ok so I did some digging and I might have made loose your time :/
The issue only happens when Amphetamine has this check box enabled:
CleanShot 2024-05-06 at 01 27 38@2x
I didn't suspect it because the issue also appeared when Amphetamine wasnt enabled (so it's not supposed to do anything).

Unless you think of something I think I'll contact Amphetamine's dev to let them know of the behavior.

Sorry for the trouble.

@low-batt
Copy link
Contributor

low-batt commented May 6, 2024

You are experiencing IINA behavior that can't be explained. That is a valid IINA issue, even if it is triggered by a 3rd party app. I'm very glad you entered an issue asking for help.

Although is seems the Amphetamine Lock screen immediately after display is close setting plays a role, I can't explain why that would trigger this behavior. Pretty sure Amphetamine support would not know what to make of your report.

Can you describe the situation a little more. Is IINA actively playing a video when you close the lid? In full screen mode? That kind of thing.

In IINA's settings on the Key Bindings tab which configuration is selected?

@Lynorek
Copy link
Author

Lynorek commented May 6, 2024

Hey low-batt, thank you for taking this seriously.
I've raised the issue with Amphetamine's dev and linked this thread, perhaps they'll have something to say about it.

In the meantime I have looked in the key bindings and you were right to point me toward it, I was using IINA bindings and after making a duplicate of it and changed the binding for Cycle Audio Track the issue doesn't appear anymore. So it looks like Amphetamine is calling the same binding when the lid is closed.

Just for the fun of it I made a video of the issue: https://youtu.be/ztyNghEbdUQ

For for know the fix on my end would be to simply change the binding, but I'm pretty sure now that Amphetamine has to look into it.

@low-batt
Copy link
Contributor

low-batt commented May 6, 2024

The video provides more evidence that something is sending IINA a key event as you showed the problem does not reproduce if the focus is not on the IINA window.

By default the command to cycle audio is bound to ⌃⌘A:
cycle-audio-key

The only other use of that I found was this entry from Mac keyboard shortcuts:

Finder and system shortcuts

  • Control-Command-A: Make an alias of the selected item.

Seem like an odd key combination for Amphetamine to be sending. Could an additional 3rd party app be involved? Do you have installed any "helper" apps that send key events to apps? Alfred, BetterTouchTool, Butler, etc. Something that might trigger when the screen is locked?

@Lynorek
Copy link
Author

Lynorek commented May 6, 2024

My guess could be that the shortcut has been mixed up with the proper one for Lock Screen

CleanShot 2024-05-06 at 20 39 16@2x

A and Q are often a source of issue when it comes to Qwerty/Azerty keyboard.

@Lynorek
Copy link
Author

Lynorek commented May 6, 2024

I also noticed that Amphetamine doesn't actually lock the screen when the lid is closed, so that's another clue tellling me that the feature isn't actually working and the shortcut might have just been mixed up.
I killed all other app and simply runned Amphetamine and the issue still persists.

@low-batt
Copy link
Contributor

low-batt commented May 6, 2024

This seems like a good theory to ask Amphetamine about.

@Lynorek
Copy link
Author

Lynorek commented May 6, 2024

I'll wait for their response, hopefully they'll have a look a this thread and might give us some answers. I'll be sure to let you know what's what.
I quite appreciate your interest into this issue, the mistery was quite puzzling initially. I really like bug digging, and I appreciate you taking the time to show me things to better give feedback in the future.

@low-batt
Copy link
Contributor

low-batt commented May 6, 2024

I am always frustrated when a computer refuses to obey me, especially if the reason for the rebellious behavior is a mystery.

Hopefully Amphetamine will be able to explain the behavior.

I do want to hear about it if the root cause is uncovered. If you need additional help, don't hesitate to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants