Skip to content

Instantly share code, notes, and snippets.

@mnn
Created January 10, 2018 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnn/c12cf23643c9a448ca6c4341d8e271fc to your computer and use it in GitHub Desktop.
Save mnn/c12cf23643c9a448ca6c4341d8e271fc to your computer and use it in GitHub Desktop.
mpv bug af=pan
[cplayer] Command line options: '-v' '--af=pan=6:[1,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,1,0,0,1]' 'vid.webm'
[cplayer] mpv 0.28.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects
[cplayer] built on Thu Dec 28 00:34:43 UTC 2017
[cplayer] ffmpeg library versions:
[cplayer] libavutil 56.7.100
[cplayer] libavcodec 58.9.100
[cplayer] libavformat 58.3.100
[cplayer] libswscale 5.0.101
[cplayer] libavfilter 7.7.100
[cplayer] libswresample 3.0.101
[cplayer] ffmpeg version: git-2017-12-26-e6a1dfc
[cplayer]
[cplayer] Configuration: ./waf configure CC=clang-5.0 --enable-pdf-build --enable-dvbin --enable-dvdread --enable-dvdnav --enable-html-build --prefix=/usr --confdir=/etc/mpv
[cplayer] List of enabled features: 52arch alsa asm atomics build-date cplayer cplugins cuda-hwaccel debug-build drm dvbin dvdnav dvdread dvdread-common egl-drm egl-helpers egl-x11 encoding fchmod ffmpeg gbm gbm.h gl gl-x11 glibc-thread-name glob glob-posix gnuc gpl iconv jack jpeg lcms2 libaf libass libass-osd libav-any libavcodec libavdevice libbluray libdl libm librt linux-fstatfs lua optimize oss-audio posix posix-or-mingw posix-spawn posix-spawn-native pthreads pulse rubberband stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vt.h x11 xv zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[osc] lua-settings/osc.conf not found.
[osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.0.1 (COMPLEX)
[osd/libass] Setting up fonts...
[ytdl_hook] lua-settings/ytdl_hook.conf not found.
[stats] lua-settings/stats.conf not found.
[cplayer] Playing: vid.webm
[cplayer] Running hook: ytdl_hook/on_load
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[ifo] Opening vid.webm
[ifo_dvdnav] Opening vid.webm
[bdmv/bluray] Opening vid.webm
[file] Opening vid.webm
[demux] Trying demuxers for level=normal.
[mkv] Found the head...
[mkv] + a segment...
[mkv] Parsing seek head...
[mkv] |+ segment information...
[mkv] | + muxing app: Lavf56.40.101
[mkv] | + writing app: Lavf56.40.101
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 1920.041s
[mkv] | + segment uid 75 d3 5a 1b 19 94 89 8d d7 31 a0 40 1f f2 31 f3
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] | + Track number: 1
[mkv] | + Track type: Video
[mkv] | + Video track
[mkv] | + Display width: 1920
[mkv] | + Display height: 1080
[mkv] | + Pixel width: 1920
[mkv] | + Pixel height: 1080
[mkv] | + Codec ID: V_VP9
[mkv] | + Language: eng
[mkv] | + Default duration: 16.667ms ( = 60.000 fps)
[mkv] | + a track...
[mkv] | + Track number: 2
[mkv] | + Track type: Audio
[mkv] | + Audio track
[mkv] | + Sampling frequency: 48000.000000
[mkv] | + Bit depth: 16
[mkv] | + Channels: 1
[mkv] | + Codec ID: A_OPUS
[mkv] | + CodecPrivate, length 19
[mkv] | + Language: eng
[mkv] |+ found cluster
[mkv] Deferring reading cues.
[mkv] All headers are parsed!
[demux] Detected file format: Matroska
[cplayer] Opening done: vid.webm
[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 1920x1080 60.000fps)
[cplayer] (+) Audio --aid=1 --alang=eng (*) (opus 1ch 48000Hz)
[vo/gpu] Probing for best GPU context.
[vo/gpu/opengl] Initializing GPU context 'x11probe'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] X11 running at 5760x2160 (":0" => local display)
[vo/gpu/x11] Detected wm supports NetWM.
[vo/gpu/x11] Detected wm supports FULLSCREEN state.
[vo/gpu/x11] Detected wm supports ABOVE state.
[vo/gpu/x11] Detected wm supports BELOW state.
[vo/gpu/x11] Detected wm supports STAYS_ON_TOP state.
[vo/gpu/x11] Display 0 (DVI-D-0): [0, 540, 1920, 1620] @ 60.000000 FPS
[vo/gpu/x11] Display 1 (HDMI-0): [0, 540, 1920, 1620] @ 60.000000 FPS
[vo/gpu/x11] Display 2 (DP-0): [1920, 0, 5760, 2160] @ 59.996625 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0xad
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 387.34'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GTX 1070/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Testing FBO format rgba16
[vo/gpu] Using FBO format rgba16.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 60.000004
[vd] Codec list:
[vd] vp9 - Google VP9
[vd] libvpx-vp9 (vp9) - libvpx VP9
[vd] vp9_cuvid (vp9) - Nvidia CUVID VP9 decoder
[vd] Opening video decoder vp9
[vd] Not trying to use hardware decoding: codec vp9 is not on whitelist, or does not support hardware acceleration.
[vd] Using software decoding.
[vd] Detected 4 logical cores.
[vd] Requesting 5 threads for decoding.
[vd] Selected video codec: vp9 (Google VP9)
[ad] Codec list:
[ad] opus - Opus
[ad] libopus (opus) - libopus Opus
[ad] Opening audio decoder opus
[ad] Requesting 1 threads for decoding.
[ad] Selected audio codec: opus (Opus)
[cplayer] Starting playback...
[af] Adding filter pan
[pan] AVOption '@1' not found.
[pan] Can't configure libavfilter graph.
[af] Reinitialization did not work, audio filter 'lavfi-bridge' returned error code -2
[af] Audio filter chain:
[af] [in] 48000Hz mono 1ch floatp
[af] [pan (lavfi)] 0Hz empty 0ch ?? <-
[af] [out] 0Hz empty 0ch ??
[af] [ao] 0Hz empty 0ch ??
[af] Could not create audio filter chain.
[cplayer] Error at audio filter chain pre-init!
[ad] Uninit audio decoder.
[af] Removing filter lavfi-bridge
[mkv] deselect track 1
[cplayer] Audio: no audio
[vd] Decoder format: 1920x1080 [0:1] yuv420p bt.601/auto/auto/limited CL=unknown (auto 0.000000/0.000000/0.000000)
[vd] Using container aspect ratio.
[vf] Video filter chain:
[vf] [in] 1920x1080 yuv420p bt.601/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[vf] [out] 1920x1080 yuv420p bt.601/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[cplayer] VO: [gpu] 1920x1080 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] Resize: 1920x1080
[vo/gpu] Window size: 1920x1080
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[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] Reported display depth: 8
[vo/gpu] Testing FBO format rgba16
[vo/gpu] Using FBO format rgba16.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Texture for plane 0: 1920x1080
[vo/gpu] Texture for plane 1: 960x540
[vo/gpu] Texture for plane 2: 960x540
[vo/gpu] Resize: 1826x1027
[vo/gpu] Window size: 1826x1027
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (0, 0) 1825x1027
[vo/gpu] Video scale: 0.950521/0.950926
[vo/gpu] OSD borders: l=0 t=0 r=1 b=0
[vo/gpu] Video borders: l=0 t=0 r=1 b=0
[vo/gpu] Reported display depth: 8
[osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans
[cplayer] first video frame after restart shown
[cplayer] playback restart complete
[vo/gpu/x11] Disabling screensaver.
[statusline] V: 00:00:05 / 00:32:00 (0%)
[cplayer] EOF code: 6
[vd] Uninit video.
[vo/gpu/x11] Enabling screensaver.
[cplayer] finished playback, success (reason 3)
[cplayer]
[cplayer]
[cplayer] Exiting... (Quit)
[ytdl_hook] Exiting...
[stats] Exiting...
[osc] Exiting...
[vo/gpu/x11] uninit ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment