Skip to content

Instantly share code, notes, and snippets.

@badgerkin
Created June 26, 2019 16:50
Show Gist options
  • Save badgerkin/c729bbba32129ab0595292a293f06b96 to your computer and use it in GitHub Desktop.
Save badgerkin/c729bbba32129ab0595292a293f06b96 to your computer and use it in GitHub Desktop.
Test of patch z2Yc to mpv
build/mpv -v -no-config -ao=coreaudio_exclusive ~/24.wav
[cplayer] Command line options: '-v' '-no-config' '-ao=coreaudio_exclusive' '/Users/badgerkin/24.wav'
[cplayer] mpv 0.29.0-341-g77b6290706-dirty Copyright © 2000-2019 mpv/MPlayer/mplayer2 projects
[cplayer] built on Wed Jun 26 12:28:46 EDT 2019
[cplayer] ffmpeg library versions:
[cplayer] libavutil 56.22.100
[cplayer] libavcodec 58.35.100
[cplayer] libavformat 58.20.100
[cplayer] libswscale 5.3.100
[cplayer] libavfilter 7.40.101
[cplayer] libswresample 3.3.100
[cplayer] ffmpeg version: 4.1.3
[cplayer]
[cplayer] Configuration: ./waf configure
[cplayer] List of enabled features: 51deb apple-remote asm atomics bsd-fstatfs build-date cocoa coreaudio cplayer cplugins debug-build drmprime fchmod ffmpeg gl gl-cocoa glob glob-posix gnuc gpl iconv javascript jpeg lcms2 libaf libass libass-osd libav-any libavcodec libavdevice libbluray libdl libm lua macos-cocoa-cb macos-touchbar optimize osx-thread-name posix posix-or-mingw posix-spawn posix-spawn-native pthreads rubberband stdatomic uchardet vapoursynth vapoursynth-core vapoursynth-lazy videotoolbox-gl videotoolbox-hwaccel zlib
[ytdl_hook] script-opts/ytdl_hook.conf not found.
[ytdl_hook] lua-settings/ytdl_hook.conf not found.
[stats] script-opts/stats.conf not found.
[stats] lua-settings/stats.conf not found.
[osc] script-opts/osc.conf not found.
[osc] lua-settings/osc.conf not found.
[osx/cocoacb] Created CGL pixel format with attributes: kCGLPFAOpenGLProfile, kCGLOGLPVersion_3_2_Core, kCGLPFAAccelerated, kCGLPFADoubleBuffer, kCGLPFABackingStore, kCGLPFAAllowOfflineRenderers, kCGLPFASupportsAutomaticGraphicsSwitching
[libmpv_render] GL_VERSION='4.1 NVIDIA-10.33.0 387.10.10.10.40.128'
[libmpv_render] Detected desktop OpenGL 4.1.
[libmpv_render] GL_VENDOR='NVIDIA Corporation'
[libmpv_render] GL_RENDERER='NVIDIA GeForce GTX 970 OpenGL Engine'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.10'
[libmpv_render] Loaded extension GL_APPLE_rgb_422.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=0).
[libmpv_render] No advanced processing required. Enabling dumb mode.
[libmpv_render] Loading hwdec driver 'videotoolbox'
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Playing: /Users/badgerkin/24.wav
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[bdmv/bluray] Opening /Users/badgerkin/24.wav
[osd/libass] Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.4.0 (COMPLEX)
[osd/libass] Setting up fonts...
[file] Opening /Users/badgerkin/24.wav
[demux] Trying demuxers for level=normal.
[osd/libass] Using font provider coretext
[osd/libass] Done.
[lavf] Found 'wav' at score=99 size=2048.
[lavf] avformat_find_stream_info() finished after 229420 bytes.
[demux] Detected file format: wav (libavformat)
[cplayer] Opening done: /Users/badgerkin/24.wav
[find_files] Loading external files in /Users/badgerkin/
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[cplayer] (+) Audio --aid=1 (pcm_s24le 2ch 48000Hz)
[ad] Codec list:
[ad] pcm_s24le - PCM signed 24-bit little-endian
[ad] Opening decoder pcm_s24le
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: pcm_s24le (PCM signed 24-bit little-endian)
[af] User filter list:
[af] (empty)
[cplayer] Starting playback...
[af] [in] 48000Hz stereo 2ch s32
[af] [userspeed] 48000Hz stereo 2ch s32
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch s32
[ao] Trying audio driver 'coreaudio_exclusive'
[ao/coreaudio_exclusive] requested format: 48000 Hz, stereo channels, s32
[ao/coreaudio_exclusive] Selected audio output device: Resonessence Labs CONCERO HP (0x5f)
[ao/coreaudio_exclusive] Device transport type: usb
[ao/coreaudio_exclusive] Using substream 0/1.
[ao/coreaudio_exclusive] Our format: lpcm 32/48/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/352.8/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/192/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/176.4/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/96/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/88.2/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/48/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 24/44.1/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] lpcm 16/352.8/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/192/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/176.4/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/96/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/88.2/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/48/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 16/44.1/2ch [4bpp][1fbp][4bpf] [12] P Int Mix (s16)
[ao/coreaudio_exclusive] lpcm 24/352.8/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/192/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/176.4/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/96/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/88.2/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/48/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 24/44.1/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] lpcm 16/352.8/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/192/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/176.4/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/96/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/88.2/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/48/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] lpcm 16/44.1/2ch [4bpp][1fbp][4bpf] [76] P Int Unmix (s16)
[ao/coreaudio_exclusive] Setting stream physical format:lpcm 24/48/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] Format in use before switching:lpcm 24/48/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] Actual format in use:lpcm 24/48/2ch [6bpp][1fbp][6bpf] [12] P Int Mix (-)
[ao/coreaudio_exclusive] input channel layout:
[ao/coreaudio_exclusive] layout: tag: <0>, bitmap: <0>, descriptions <2>
[ao/coreaudio_exclusive] - description 0: label <4294967295, 64>, flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[ao/coreaudio_exclusive] - description 1: label <4294967295, 64>, flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[ao/coreaudio_exclusive] mp chmap: unknown2
[ao/coreaudio_exclusive] input channel layout:
[ao/coreaudio_exclusive] layout: tag: <0>, bitmap: <0>, descriptions <2>
[ao/coreaudio_exclusive] - description 0: label <1, 0>, flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[ao/coreaudio_exclusive] - description 1: label <2, 1>, flags: <0>, coords: <0.000000, 0.000000, 0.000000>
[ao/coreaudio_exclusive] mp chmap: stereo
[ao/coreaudio_exclusive] Channel layouts:
[ao/coreaudio_exclusive] - stereo
[ao/coreaudio_exclusive] - mono
[ao/coreaudio_exclusive] result: stereo
[ao/coreaudio_exclusive] Virtual master volume: 0.19
[ao/coreaudio_exclusive] Master volume: 0.19 (-36.0dB)
[ao/coreaudio_exclusive] Stream Terminal Type: [0][0][3][1]
[ao/coreaudio_exclusive] Integer Mode is ON.
[ao/coreaudio_exclusive] Frame buffer size: 15 to 4096 frames
[ao/coreaudio_exclusive] Set frame buffer size to 1024 frames
[ao/coreaudio_exclusive] Virtual format: lpcm 24/48/2ch [6bpp][1fbp][6bpf] [76] P Int Unmix (-)
[ao/coreaudio_exclusive] Hacking 32-bit stream on 24-bit device in Integer Mode
[ao/coreaudio_exclusive] hardware format not supported
[ao] Failed to initialize audio driver 'coreaudio_exclusive'
[cplayer] Could not open/initialize audio device -> no sound.
[ad] Uninit decoder.
[lavf] deselect track 0
[cplayer] Audio: no audio
[cplayer] playback restart complete @ -9223372036854775808.000000
[cplayer] EOF code: 6
[cplayer] finished playback, audio output initialization failed (reason 4)
[cplayer]
[cplayer]
[cplayer] Exiting... (Errors when loading file)
[osx] Exiting...
[ytdl_hook] Exiting...
[stats] Exiting...
[osc] Exiting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment