`mpv` with hwdec set to auto ``` ➜ ~ mpv --hwdec=auto -v 4K\ HDR\ 60FPS\ ●\ Bike\ Chase\ Scene\ \(Gemini\ Man\)\ ●\ Dolby\ Vision\ ●\ Dolby\ Atmos\ \[t-R8PIADl7s\].mkv [cplayer] Command line options: '--hwdec=auto' '-v' '4K HDR 60FPS ● Bike Chase Scene (Gemini Man) ● Dolby Vision ● Dolby Atmos [t-R8PIADl7s].mkv' [cplayer] mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] FFmpeg library versions: [cplayer] libavutil 57.28.100 [cplayer] libavcodec 59.37.100 [cplayer] libavformat 59.27.100 [cplayer] libswscale 6.7.100 [cplayer] libavfilter 8.44.100 [cplayer] libswresample 4.7.100 [cplayer] FFmpeg version: 5.1.2-3 [cplayer] [cplayer] Configuration: meson configure build -Dprefix=/usr -Dbuildtype=plain -Doptimization=plain [cplayer] List of enabled features: alsa av-channel-layout caca cdda cplayer cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs lua52 manpage-build memfd_create noexecstack pipewire plain-gl posix pulse rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video sixel spirv-cross stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland_protocols_1_24 x11 xv zimg zlib [cplayer] Reading config file /etc/mpv/encoding-profiles.conf [cplayer] Applying profile 'default'... [cplayer] Setting option 'hwdec' = 'auto' (flags = 8) [cplayer] Setting option 'v' = '' (flags = 8) [cplayer] Waiting for scripts... [cplayer] Set property: shared-script-properties -> 1 [cplayer] Set property: shared-script-properties -> 1 [cplayer] Set property: shared-script-properties -> 1 [cplayer] Set property: shared-script-properties -> 1 [osd/libass] libass API version: 0x1701000 [osd/libass] libass source: tarball: 0.17.1 [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX) [osd/libass] Setting up fonts... [osd/libass] Using font provider fontconfig [osd/libass] Done. [cplayer] Done loading scripts. [cplayer] Running hook: ytdl_hook/on_load [ytdl_hook] ytdl:// hook [osd/libass] libass API version: 0x1701000 [osd/libass] libass source: tarball: 0.17.1 [osd/libass] Shaper: FriBidi 1.0.8 (SIMPLE) HarfBuzz-ng 6.0.0 (COMPLEX) [osd/libass] Setting up fonts... [osd/libass] Using font provider fontconfig [osd/libass] Done. [ytdl_hook] not a ytdl:// url [ifo_dvdnav] Opening 4K HDR 60FPS ● Bike Chase Scene (Gemini Man) ● Dolby Vision ● Dolby Atmos [t-R8PIADl7s].mkv [cplayer] Set property: shared-script-properties -> 1 [bdmv/bluray] Opening 4K HDR 60FPS ● Bike Chase Scene (Gemini Man) ● Dolby Vision ● Dolby Atmos [t-R8PIADl7s].mkv [file] Opening 4K HDR 60FPS ● Bike Chase Scene (Gemini Man) ● Dolby Vision ● Dolby Atmos [t-R8PIADl7s].mkv [demux] Trying demuxers for level=normal. [mkv] Deferring reading cues. [mkv] All headers are parsed! [demux] Detected file format: Matroska [cplayer] Opening done: 4K HDR 60FPS ● Bike Chase Scene (Gemini Man) ● Dolby Vision ● Dolby Atmos [t-R8PIADl7s].mkv [find_files] Loading external files in . [cplayer] Running hook: ytdl_hook/on_preloaded [mkv] select track 0 [mkv] select track 1 [cplayer] (+) Video --vid=1 (*) (vp9 2560x1440 59.940fps) [cplayer] (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz) [vo/gpu] Probing for best GPU context. [vo/gpu/opengl] Initializing GPU context 'wayland' [vo/gpu/wayland] Registered for protocol wl_compositor [vo/gpu/wayland] Registered for protocol wl_shm [vo/gpu/wayland] Registered for protocol wl_output [vo/gpu/wayland] Registered for protocol wl_data_device_manager [vo/gpu/wayland] Registered for protocol wl_subcompositor [vo/gpu/wayland] Registered for protocol xdg_wm_base [vo/gpu/wayland] Registered for protocol wp_viewporter [vo/gpu/wayland] Registered for protocol wl_seat [vo/gpu/wayland] Registered for protocol zwp_linux_dmabuf_v1 [vo/gpu/wayland] Registered for protocol wp_presentation [vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback. [vo/gpu/wayland] Compositor doesn't support the zxdg_decoration_manager_v1 protocol! [vo/gpu/wayland] Compositor doesn't support the zwp_idle_inhibit_manager_v1 protocol! [vo/gpu/wayland] Registered output BOE 0x095f (0x4): [vo/gpu/wayland] x: 0px, y: 0px [vo/gpu/wayland] w: 2256px (280mm), h: 1504px (190mm) [vo/gpu/wayland] scale: 1 [vo/gpu/wayland] Hz: 59.998000 [vo/gpu/opengl] EGL_VERSION=1.4 [vo/gpu/opengl] EGL_VENDOR=Mesa Project [vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES [vo/gpu/opengl] Trying to create Desktop OpenGL context. [vo/gpu/wayland] GL_VERSION='3.1 Mesa 22.3.6' [vo/gpu/wayland] Detected desktop OpenGL 3.1. [vo/gpu/wayland] GL_VENDOR='Panfrost' [vo/gpu/wayland] GL_RENDERER='Mali-G57 (Panfrost)' [vo/gpu/wayland] GL_SHADING_LANGUAGE_VERSION='1.40' [vo/gpu/wayland] Loaded extension GL_ARB_sync. [vo/gpu/wayland] Loaded extension GL_ARB_invalidate_subdata. [vo/gpu/wayland] Loaded extension GL_ARB_get_program_binary. [vo/gpu/wayland] Loaded extension GL_ARB_buffer_storage. [vo/gpu/wayland] Loaded extension GL_ARB_shader_image_load_store. [vo/gpu/wayland] Loaded extension GL_ARB_shader_storage_buffer_object. [vo/gpu/wayland] Loaded extension GL_ARB_arrays_of_arrays. [vo/gpu/wayland] Loaded extension GL_ARB_debug_output. [vo/gpu/wayland] Loaded extension GL_KHR_debug. [vo/gpu] Testing FBO format rgba16f [vo/gpu] Using FBO format rgba16f. [vo/gpu] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1). [vo/gpu] No advanced processing required. Enabling dumb mode. [vo/gpu] Resize: 0x0 [vd] Container reported FPS: 59.940065 [vd] Codec list: [vd] vp9 - Google VP9 [vd] vp9_v4l2m2m (vp9) - V4L2 mem2mem VP9 decoder wrapper [vd] libvpx-vp9 (vp9) - libvpx VP9 [vd] vp9_cuvid (vp9) - Nvidia CUVID VP9 decoder [vd] Opening decoder vp9 [vd] Looking at hwdec vp9-nvdec... [vo/gpu] Loading hwdec drivers for format: 'cuda' [vo/gpu] Loading hwdec driver 'cuda' Cannot load libcuda.so.1 [vo/gpu/cuda] Failed to load CUDA symbols [vo/gpu] Loading failed. [vd] Could not create device. [vd] Looking at hwdec vp9-vaapi... [vo/gpu] Loading hwdec drivers for format: 'vaapi' [vo/gpu] Loading hwdec driver 'vaapi' [vo/gpu/vaapi] using EGL dmabuf interop [vo/gpu/vaapi] Trying to open a x11 VA display... [vo/gpu/vaapi] Trying to open a wayland VA display... [vo/gpu] Loading failed. [vd] Could not create device. [vd] Looking at hwdec vp9-vdpau... [vo/gpu] Loading hwdec drivers for format: 'vdpau' [vd] Could not create device. [vd] Looking at hwdec vp9-nvdec-copy... [ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1 [ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA [vd] Could not create device. [vd] Looking at hwdec vp9-vaapi-copy... [vd] Could not create device. [vd] Looking at hwdec vp9-vdpau-copy... Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vd] Error when calling vdp_device_create_x11: 1 [vd] Could not create device. [vd] Looking at hwdec vp9_cuvid-cuda... [vo/gpu] Loading hwdec drivers for format: 'cuda' [vo/gpu] Loading hwdec driver 'cuda' Cannot load libcuda.so.1 [vo/gpu/cuda] Failed to load CUDA symbols [vo/gpu] Loading failed. [vd] Could not create device. [vd] Looking at hwdec vp9_v4l2m2m-v4l2m2m-copy... [vd] Trying hardware decoding via vp9_v4l2m2m-v4l2m2m-copy. [vd] Using underlying hw-decoder 'vp9_v4l2m2m' [ffmpeg/video] vp9_v4l2m2m: Could not find a valid device [ffmpeg/video] vp9_v4l2m2m: can't configure decoder [vd] Could not open codec. [vd] Falling back to software decoding. [vd] Detected 8 logical cores. [vd] Requesting 9 threads for decoding. [vd] Selected codec: vp9 (Google VP9) [vf] User filter list: [vf] (empty) [ad] Codec list: [ad] aac - AAC (Advanced Audio Coding) [ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ad] Opening decoder aac [ad] Requesting 1 threads for decoding. [ad] Selected codec: aac (AAC (Advanced Audio Coding)) [af] User filter list: [af] (empty) [cplayer] Starting playback... [af] [in] 48000Hz 5.1 6ch floatp [af] [userspeed] 48000Hz 5.1 6ch floatp [af] [userspeed] (disabled) [af] [convert] 48000Hz 5.1 6ch floatp [vd] DR failed - disabling. [ao] Trying audio driver 'pipewire' [ao/pipewire] requested format: 48000 Hz, 5.1 channels, floatp [ao/pipewire] Headers version: 0.3.65 [ao/pipewire] Library version: 0.3.65 [ao/pipewire] Core user: X [ao/pipewire] Core host: X [ao/pipewire] Core version: 0.3.65 [ao/pipewire] Core name: pipewire-0 [ao/pipewire] device buffer: 960 samples. [ao/pipewire] using soft-buffer of 9600 samples. [cplayer] AO: [pipewire] 48000Hz 5.1 6ch floatp [cplayer] AO: Description: PipeWire audio output [af] [convert] (disabled) [af] [out] 48000Hz 5.1 6ch floatp [vd] Using software decoding. [vd] Decoder format: 2560x1440 [0:1] yuv420p bt.709/auto/auto/limited/auto CL=unknown [vd] Using container aspect ratio. [vf] [in] 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [userdeint] 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [userdeint] (disabled) [vf] [autorotate] 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [autorotate] (disabled) [vf] [convert] 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vf] [convert] (disabled) [vf] [out] 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [cplayer] VO: [gpu] 2560x1440 yuv420p [cplayer] VO: Description: Shader-based GPU Renderer [vo/gpu] DR path suspected slow/uncached, disabling..reconfig to 2560x1440 yuv420p bt.709/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [vo/gpu/wayland] Reconfiguring! [vo/gpu] Resize: 2560x1440 [vo/gpu] Window size: 2560x1440 (Borders: l=0 t=0 r=0 b=0) [vo/gpu] Video source: 2560x1440 (1:1) [vo/gpu] Video display: (0, 0) 2560x1440 -> (0, 0) 2560x1440 [vo/gpu] Video scale: 1.000000/1.000000 [vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [vo/gpu] Video borders: l=0 t=0 r=0 b=0 [vo/gpu] Texture for plane 0: 2560x1440 [vo/gpu] Texture for plane 1: 1280x720 [vo/gpu] Texture for plane 2: 1280x720 [vo/gpu] Testing FBO format rgba16f [vo/gpu] Using FBO format rgba16f. [vo/gpu] No advanced processing required. Enabling dumb mode. [vo/gpu/wayland] Handling resize on the egl side [vo/gpu] Resize: 2256x1440 [vo/gpu] Window size: 2256x1440 (Borders: l=0 t=0 r=0 b=0) [vo/gpu] Video source: 2560x1440 (1:1) [vo/gpu] Video display: (0, 0) 2560x1440 -> (0, 85) 2256x1269 [vo/gpu] Video scale: 0.881250/0.881250 [vo/gpu] OSD borders: l=0 t=85 r=0 b=86 [vo/gpu] Video borders: l=0 t=85 r=0 b=86 [vo/gpu] Reported display depth: 10 [cplayer] first video frame after restart shown [cplayer] Set property: shared-script-properties -> 1 [cplayer] audio ready [cplayer] delaying audio start 0.000000 vs. 0.000000, diff=0.000000 [vo/gpu/wayland] Resizing due to xdg from 2256x1440 to 2256x1472 [vo/gpu/wayland] Given DND offer with mime type text/plain [vo/gpu/wayland] Given DND offer with mime type text/plain;charset=utf-8 [vo/gpu/wayland] Received a new DND offer. Releasing the previous offer. [vo/gpu/wayland] Surface entered output BOE 0x095f (0x4), scale = 1, refresh rate = 59.998000 Hz [vo/gpu] Resize: 2256x1440 [vo/gpu] Window size: 2256x1440 (Borders: l=0 t=0 r=0 b=0) [vo/gpu] Video source: 2560x1440 (1:1) [vo/gpu] Video display: (0, 0) 2560x1440 -> (0, 85) 2256x1269 [vo/gpu] Video scale: 0.881250/0.881250 [vo/gpu] OSD borders: l=0 t=85 r=0 b=86 [vo/gpu] Video borders: l=0 t=85 r=0 b=86 [vo/gpu] Reported display depth: 10 [vo/gpu/wayland] Handling resize on the egl side [cplayer] playback restart complete @ 0.000000, audio=ready, video=playing [vo/gpu] Resize: 2256x1472 [vo/gpu] Window size: 2256x1472 (Borders: l=0 t=0 r=0 b=0) [vo/gpu] Video source: 2560x1440 (1:1) [vo/gpu] Video display: (0, 0) 2560x1440 -> (0, 101) 2256x1269 [vo/gpu] Video scale: 0.881250/0.881250 [vo/gpu] OSD borders: l=0 t=101 r=0 b=102 [vo/gpu] Video borders: l=0 t=101 r=0 b=102 [vo/gpu] Reported display depth: 10 [vo/gpu] Assuming 59.998000 FPS for display sync. [statusline] AV: 00:00:00 / 00:09:57 (0%) A-V: 0.000 [cplayer] starting audio playback [statusline] AV: 00:00:00 / 00:09:57 (0%) A-V: 0.000 [cplayer] Set property: shared-script-properties -> 1 [cplayer] Set property: shared-script-properties -> 1 [statusline] AV: 00:00:01 / 00:09:57 (0%) A-V: 0.001 Dropped: 2 [cplayer] Set property: shared-script-properties -> 1 [statusline] AV: 00:00:01 / 00:09:57 (0%) A-V: 0.000 Dropped: 2 [osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans [osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular [vo/gpu] Reallocating OSD texture to 4096x1024. [statusline] AV: 00:00:02 / 00:09:57 (0%) A-V: 0.000 Dropped: 4 [mkv] queuing seek to 117.297945 [mkv] execute seek (to 117.297945 flags 32) [mkv] Seeking to 804417627 to read header element 0x1c53bb6b. [file] stream level seek from 3116014 to 804417627 [mkv] Parsing cues... [file] stream level seek from 804422732 to 141883011 [mkv] seek done [cplayer] hr-seek, skipping to 117.297945 [vd] Decoder format: 2560x1440 [0:1] yuv420p bt.709/auto/auto/limited/auto CL=unknown [vd] Using container aspect ratio. [statusline] (...) AV: 00:01:57 / 00:09:57 (20%) A-V: 0.000 [cplayer] first video frame after restart shown [cplayer] audio ready [cplayer] starting audio playback [cplayer] playback restart complete @ 117.300000, audio=playing, video=playing [statusline] AV: 00:01:58 / 00:09:57 (20%) A-V: 0.000 [cplayer] Set property: shared-script-properties -> 1 [statusline] AV: 00:01:59 / 00:09:57 (20%) A-V: 0.000 [cplayer] Set property: shared-script-properties -> 1 [statusline] AV: 00:02:01 / 00:09:57 (20%) A-V: 0.000 Dropped: 9 [cplayer] EOF code: 5 [cplayer] finished playback, success (reason 3) [cplayer] [cplayer] Exiting... (Quit) [cplayer] Set property: shared-script-properties -> 1 [vo/gpu/wayland] Deregistering output BOE 0x095f (0x4) ```