{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/5755","repository_url":"https://api.github.com/repos/mpv-player/mpv","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/5755/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/5755/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/5755/events","html_url":"https://github.com/mpv-player/mpv/issues/5755","id":316333399,"node_id":"MDU6SXNzdWUzMTYzMzMzOTk=","number":5755,"title":"Failed to play in hardware decoding mode.","user":{"login":"kirbyzhou","id":3401630,"node_id":"MDQ6VXNlcjM0MDE2MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/3401630?v=4","gravatar_id":"","url":"https://api.github.com/users/kirbyzhou","html_url":"https://github.com/kirbyzhou","followers_url":"https://api.github.com/users/kirbyzhou/followers","following_url":"https://api.github.com/users/kirbyzhou/following{/other_user}","gists_url":"https://api.github.com/users/kirbyzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/kirbyzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirbyzhou/subscriptions","organizations_url":"https://api.github.com/users/kirbyzhou/orgs","repos_url":"https://api.github.com/users/kirbyzhou/repos","events_url":"https://api.github.com/users/kirbyzhou/events{/privacy}","received_events_url":"https://api.github.com/users/kirbyzhou/received_events","type":"User","site_admin":false},"labels":[{"id":29345092,"node_id":"MDU6TGFiZWwyOTM0NTA5Mg==","url":"https://api.github.com/repos/mpv-player/mpv/labels/osx","name":"osx","color":"e102d8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-04-20T16:28:52Z","updated_at":"2018-11-07T23:12:26Z","closed_at":"2018-11-07T23:12:26Z","author_association":"NONE","body":"### mpv version and platform\r\n\r\n0.28.2 / macOS 10.13.4\r\n\r\nIf you're not using git master or the latest release, update.\r\nReleases are listed here: https://github.com/mpv-player/mpv/releases\r\n\r\n### Reproduction steps\r\n\r\n### Expected behavior\r\n\r\nPlayback with hardware decoding.\r\n\r\n### Actual behavior\r\n\r\nPlayback with CPU decoding, CPU usage is very high\r\n\r\n![image](https://user-images.githubusercontent.com/3401630/39062661-cd1a02ec-44fa-11e8-9432-4f1d1022cfe2.jpeg)\r\n\r\n\r\n### Log file\r\n\r\nkirbyzhou@Kirby-iMac27:MacOS $ ./mpv -v /Volumes/Drobo/Movies/_4K/LG_Colors-of-Journey-HDR.mp4 \r\n[cplayer] Command line options: '-v' '/Volumes/Drobo/Movies/_4K/LG_Colors-of-Journey-HDR.mp4'\r\n[cplayer] mpv 0.28.2 (C) 2000-2017 mpv/MPlayer/mplayer2 projects\r\n[cplayer]  built on Sat Feb 17 13:54:24 CET 2018\r\n[cplayer] ffmpeg library versions:\r\n[cplayer]    libavutil       56.7.101\r\n[cplayer]    libavcodec      58.11.101\r\n[cplayer]    libavformat     58.9.100\r\n[cplayer]    libswscale      5.0.101\r\n[cplayer]    libavfilter     7.12.100\r\n[cplayer]    libswresample   3.0.101\r\n[cplayer] ffmpeg version: git-2018-02-14-dc77e64\r\n[cplayer] \r\n[cplayer] Configuration: waf configure --prefix=/Users/djinn/apps/homebrew/Cellar/mpv/0.28.2 --enable-zsh-comp --enable-libmpv-shared --enable-html-build --enable-lua --confdir=/Users/djinn/apps/homebrew/etc/mpv --datadir=/Users/djinn/apps/homebrew/Cellar/mpv/0.28.2/share/mpv --mandir=/Users/djinn/apps/homebrew/Cellar/mpv/0.28.2/share/man --docdir=/Users/djinn/apps/homebrew/Cellar/mpv/0.28.2/share/doc/mpv --zshdir=/Users/djinn/apps/homebrew/Cellar/mpv/0.28.2/share/zsh/site-functions --enable-javascript\r\n[cplayer] List of enabled features: 51deb apple-remote asm atomics bsd-fstatfs build-date cocoa coreaudio cplayer cplugins cuda-hwaccel debug-build drmprime encoding fchmod ffmpeg gl gl-cocoa glob glob-posix gnuc gpl iconv javascript jpeg lcms2 libaf libass libass-osd libav-any libavcodec libavdevice libdl libm libmpv-shared lua optimize osx-thread-name plain-gl posix posix-or-mingw posix-spawn posix-spawn-native pthreads stdatomic videotoolbox-gl videotoolbox-hwaccel zlib zsh-comp\r\n[osc] lua-settings/osc.conf not found. \r\n[osd/libass] Shaper: FriBidi 1.0.1 (SIMPLE)\r\n[osd/libass] Setting up fonts...\r\n[ytdl_hook] lua-settings/ytdl_hook.conf not found. \r\n[osd/libass] Using font provider coretext\r\n[osd/libass] Done.\r\n[stats] lua-settings/stats.conf not found. \r\n[cplayer] Playing: /Volumes/Drobo/Movies/_4K/LG_Colors-of-Journey-HDR.mp4\r\n[cplayer] Running hook: ytdl_hook/on_load\r\n[file] Opening /Volumes/Drobo/Movies/_4K/LG_Colors-of-Journey-HDR.mp4\r\n[demux] Trying demuxers for level=normal.\r\n[lavf] Found 'mpegts' at score=50 size=2048.\r\n[lavf] avformat_find_stream_info() finished after 0 bytes.\r\n[demux] Detected file format: mpegts (libavformat)\r\n[cplayer] Opening done: /Volumes/Drobo/Movies/_4K/LG_Colors-of-Journey-HDR.mp4\r\n[find_files] Loading external files in /Volumes/Drobo/Movies/_4K/\r\n[cplayer] Running hook: ytdl_hook/on_preloaded\r\n[lavf] select track 0\r\n[lavf] select track 1\r\n[cplayer]  (+) Video --vid=1 (hevc 3840x2160 60.000fps)\r\n[cplayer]  (+) Audio --aid=1 --alang=eng (aac 2ch 48000Hz)\r\n[vo/gpu] Probing for best GPU context.\r\n[vo/gpu/opengl] Initializing GPU context 'cocoa'\r\n[vo/gpu] GL_VERSION='4.1 ATI-1.66.31'\r\n[vo/gpu] Detected desktop OpenGL 4.1.\r\n[vo/gpu] GL_VENDOR='ATI Technologies Inc.'\r\n[vo/gpu] GL_RENDERER='AMD Radeon Pro 580 OpenGL Engine'\r\n[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.10'\r\n[vo/gpu] Loaded extension GL_APPLE_rgb_422.\r\n[vo/gpu] Testing FBO format rgba16\r\n[vo/gpu] Using FBO format rgba16.\r\n[vo/gpu] No advanced processing required. Enabling dumb mode.\r\n[vo/gpu] Assuming 59.992864 FPS for display sync.\r\n[vd] Container reported FPS: 60.000000\r\n[vd] Codec list:\r\n[vd]     hevc - HEVC (High Efficiency Video Coding)\r\n[vd] Opening video decoder hevc\r\n**[vd] Not trying to use hardware decoding: codec hevc is not on whitelist, or does not support hardware acceleration.**\r\n[vd] Using software decoding.\r\n[vd] Detected 4 logical cores.\r\n[vd] Requesting 5 threads for decoding.\r\n[vd] Selected video codec: hevc (HEVC (High Efficiency Video Coding))\r\n[ad] Codec list:\r\n[ad]     aac - AAC (Advanced Audio Coding)\r\n[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)\r\n[ad]     aac_at (aac) - aac (AudioToolbox)\r\n[ad] Opening audio decoder aac\r\n[ad] Requesting 1 threads for decoding.\r\n[ad] Selected audio codec: aac (AAC (Advanced Audio Coding))\r\n[cplayer] Starting playback...\r\n[af] Audio filter chain:\r\n[af]   [in] 48000Hz stereo 2ch floatp\r\n[af]   [out] 48000Hz stereo 2ch floatp\r\n[af]   [ao] 48000Hz stereo 2ch floatp\r\n[ao] Trying audio driver 'coreaudio'\r\n[ao/coreaudio] requested format: 48000 Hz, stereo channels, floatp\r\n[ao/coreaudio] selected audio output device: Built-in Output (45)\r\n[ao/coreaudio] input channel layout:\r\n[ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>\r\n[ao/coreaudio]  - description 0: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>\r\n[ao/coreaudio]  - description 1: label <4294967295, 64>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>\r\n[ao/coreaudio] mp chmap: unknown2\r\n[ao/coreaudio] input channel layout:\r\n[ao/coreaudio] layout: tag: <0>, bitmap: <0>, descriptions <2>\r\n[ao/coreaudio]  - description 0: label <1, 0>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>\r\n[ao/coreaudio]  - description 1: label <2, 1>,  flags: <0>, coords: <0.000000, 0.000000, 0.000000>\r\n[ao/coreaudio] mp chmap: stereo\r\n[ao/coreaudio] Channel layouts:\r\n[ao/coreaudio]  - stereo\r\n[ao/coreaudio]  - mono\r\n[ao/coreaudio] result: stereo\r\n[ao/coreaudio] Latency property cntl: 7 frames\r\n[ao/coreaudio] Latency property zisf: 512 frames\r\n[ao/coreaudio] Latency property tfas: 93 frames\r\n[ao/coreaudio] audiounit latency [us]: 354\r\n[ao/coreaudio] device latency [us]: 12749\r\n[ao/coreaudio] using soft-buffer of 9600 samples.\r\n[cplayer] AO: [coreaudio] 48000Hz stereo 2ch floatp\r\n[cplayer] AO: Description: CoreAudio AudioUnit\r\n[vd] Decoder format: 3840x2160 yuv420p10 bt.709/bt.2020/pq/limited SP=10.000000 CL=unknown (auto 0.000000/0.000000/0.000000)\r\n[vf] Video filter chain:\r\n[vf]   [in] 3840x2160 yuv420p10 bt.709/bt.2020/pq/limited SP=10.000000 CL=mpeg2/4/h264\r\n[vf]   [out] 3840x2160 yuv420p10 bt.709/bt.2020/pq/limited SP=10.000000 CL=mpeg2/4/h264\r\n[cplayer] VO: [gpu] 3840x2160 yuv420p10\r\n[cplayer] VO: Description: Shader-based GPU Renderer\r\n[vo/gpu] Resize: 7680x4320\r\n[vo/gpu] Window size: 7680x4320\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320\r\n[vo/gpu] Video scale: 2.000000/2.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Testing FBO format rgba16\r\n[vo/gpu] Using FBO format rgba16.\r\n[vo/gpu] No advanced processing required. Enabling dumb mode.\r\n[vo/gpu] Texture for plane 0: 3840x2160\r\n[vo/gpu] Texture for plane 1: 1920x1080\r\n[vo/gpu] Texture for plane 2: 1920x1080\r\n[vo/gpu] Resize: 7680x4320\r\n[vo/gpu] Window size: 7680x4320\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320\r\n[vo/gpu] Video scale: 2.000000/2.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[osd/libass] fontselect: (sans-serif, 400, 0) -> /System/Library/Fonts/Helvetica.ttc, -1, Helvetica\r\n[cplayer] first video frame after restart shown\r\n[cplayer] starting audio playback\r\n[cplayer] playback restart complete\r\n[statusline] AV: 00:00:00 / 00:01:41 (0%) A-V: -0.000\r\n[vo/gpu] Resize: 7680x4320\r\n[vo/gpu] Window size: 7680x4320\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 7680x4320\r\n[vo/gpu] Video scale: 2.000000/2.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[statusline] AV: 00:00:01 / 00:01:41 (1%) A-V:  0.000 Dropped: 26\r\n[osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular\r\n[vo/gpu] Reallocating OSD texture to 8192x1024.\r\n[statusline] AV: 00:00:04 / 00:01:41 (4%) A-V:  0.000 Dropped: 92\r\n[cplayer] Set property: window-scale=0.500000 -> 1\r\n[vo/gpu] Resize: 3840x2160\r\n[vo/gpu] Window size: 3840x2160\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160\r\n[vo/gpu] Video scale: 1.000000/1.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Resize: 3840x2160\r\n[vo/gpu] Window size: 3840x2160\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160\r\n[vo/gpu] Video scale: 1.000000/1.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Resize: 3840x2160\r\n[vo/gpu] Window size: 3840x2160\r\n[vo/gpu] Video source: 3840x2160 (1:1)\r\n[vo/gpu] Video display: (0, 0) 3840x2160 -> (0, 0) 3840x2160\r\n[vo/gpu] Video scale: 1.000000/1.000000\r\n[vo/gpu] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/gpu] Video borders: l=0 t=0 r=0 b=0\r\n[statusline] AV: 00:00:04 / 00:01:41 (5%) A-V:  0.164 Dropped: 93\r\n[osd/libass] Shaper: FriBidi 1.0.1 (SIMPLE)\r\n[osd/libass] Setting up fonts...\r\n[osd/libass] Using font provider coretext\r\n[osd/libass] Done.\r\n[osd/libass] fontselect: (sans-serif, 400, 0) -> /System/Library/Fonts/Helvetica.ttc, -1, Helvetica\r\n[vo/gpu] Reallocating OSD texture to 2048x512.\r\n[statusline] AV: 00:00:06 / 00:01:41 (6%) A-V:  0.008 Dropped: 159\r\n[cplayer] EOF code: 6  \r\n[ad] Uninit audio decoder.\r\n[vd] Uninit video.\r\n[cplayer] finished playback, success (reason 3)\r\n[cplayer] \r\n[cplayer] \r\n[cplayer] Exiting... (Quit)\r\n[osx] Exiting...\r\n[ytdl_hook] Exiting...\r\n[stats] Exiting...\r\n[osc] Exiting...\r\n\r\n### Sample files\r\n\r\nhttp://demo-uhd3d.com/files/uhd4k/LG_Colors-of-Journey-HDR.mp4 [download by xunlei]\r\nor\r\ned2k://|file|LG_Colors-of-Journey-HDR.mp4|498852548|b0eb94aaf2eb63bcd830df7ad519be34|h=wlsjogtccj6uwa42br5j4iesz5rc2gm7|/  [download by eMule]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/436812228","html_url":"https://github.com/mpv-player/mpv/issues/5755#issuecomment-436812228","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/5755","id":436812228,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjgxMjIyOA==","user":{"login":"Akemi","id":680386,"node_id":"MDQ6VXNlcjY4MDM4Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/680386?v=4","gravatar_id":"","url":"https://api.github.com/users/Akemi","html_url":"https://github.com/Akemi","followers_url":"https://api.github.com/users/Akemi/followers","following_url":"https://api.github.com/users/Akemi/following{/other_user}","gists_url":"https://api.github.com/users/Akemi/gists{/gist_id}","starred_url":"https://api.github.com/users/Akemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akemi/subscriptions","organizations_url":"https://api.github.com/users/Akemi/orgs","repos_url":"https://api.github.com/users/Akemi/repos","events_url":"https://api.github.com/users/Akemi/events{/privacy}","received_events_url":"https://api.github.com/users/Akemi/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T23:12:26Z","updated_at":"2018-11-07T23:12:26Z","author_association":"MEMBER","body":"so i could test this myself now and the initial reported problem is fixed.\r\n\r\none problem still persists, the `Could not find ref with POC X` when seeking. though since this is a different issue and the seeking problem was already reported (#5893) i will close this."}}
{"actor":{"display_login":"Akemi"}}