mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
27.85k stars 2.87k forks source link

fullscreen and screen=1 always playback full screen on screen 0 #4494

Closed allegfede closed 6 years ago

allegfede commented 7 years ago

mpv version

mpv version 0.24 [cplayer] mpv 0.24.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects [cplayer] built on UNKNOWN [cplayer] ffmpeg library versions: [cplayer] libavutil 55.34.101 [cplayer] libavcodec 57.64.101 [cplayer] libavformat 57.56.101 [cplayer] libswscale 4.2.100 [cplayer] libavfilter 6.65.100 [cplayer] libswresample 2.3.100

platform

ubuntu gnome 17.04 Linux v1p3rbox 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

video card

NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) nvidia driver: 375.66 X11 version: 1.19.3 (11903000)

Reproduction steps

test1) mpv -screen=1 path_to_video_file sends video to secondary monitor (NVIDIA secondary) test2) mpv -fs -screen=1 path_to_video_file sends video FULL SCREEN to screen 0 (nvidia main)

Expected behavior

Actual behavior

workaround (i actually bypass the bug configuring mpv.conf like this)

vim: syntax=config

###########

General

###########

save-position-on-quit

no-border # no window title bar msg-module # prepend module name to log messages msg-color # color log messages on terminal term-osd-bar # display a progress bar on the terminal use-filedir-conf # look for additional config files in the directory of the opened file

pause # no autoplay (comment for autoplay)

keep-open # keep the player open when a file's end is reached autofit-larger=100%x95% # resize window in case it's larger than W%xH% of the screen

anche questo lo metto io (per compensare l'effetto buggato del full screen)

autofit-smaller=100%x95%

questo lo aggiungo io

fullscreen #buggato, me lo rimette sempre nello schermo primario anche se -screen=1 settato

deinterlace=auto # 'auto' does not imply interlacing-detection

cursor-autohide-fs-only # don't autohide the cursor in window mode, only fullscreen (uncomment if needed)

input-media-keys=no # enable/disable OSX media keys cursor-autohide=1000 # autohide the curser after 1s

screenshot-format=png screenshot-png-compression=8 screenshot-template='~/Desktop/%F (%P) %n'

hls-bitrate=max # use max quality for HLS streams ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best #[protocol!=http_dash_segments][protocol!=rtmp]

#####################

iscreen options

##################### screen=1

#########

Cache

#########

cache=yes cache-default=5000000 # size in KB cache-backbuffer=25000 # size in KB cache-initial=0 # start playback when your cache is filled up with x kB cache-secs=10 # how many seconds of audio/video to prefetch if the cache is active

#############

OSD / OSC

#############

osd-level=0 # enable osd and display (enable=1) --osd-status-msg on interaction

osd-duration=2500 # hide the osd after x ms osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}'

osd-font='Source Sans Pro' osd-font-size=32 osd-color='#CCFFFFFF' # ARGB format osd-border-color='#DD322640' # ARGB format

osd-shadow-offset=1 # pixel width for osd text and progress bar

osd-bar-align-y=0 # progress bar y alignment (-1 top, 0 centered, 1 bottom) osd-border-size=2 # size for osd text and progress bar osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height osd-bar-w=60 # width of " " "

#############

Subtitles

#############

sub-use-margins sub-ass-force-margins

demuxer-mkv-subtitle-preroll # try to correctly show embedded subs when seeking sub-auto=fuzzy # external subs don't have to match the file name exactly to autoload sub-paths=ass:srt:sub:subs:subtitles # search for external subs in the listed subdirectories embeddedfonts=yes # use embedded fonts for SSA/ASS subs sub-fix-timing=no # do not try to fix gaps (which might make it worse in some cases) sub-ass-force-style=Kerning=yes # allows you to override style parameters of ASS scripts

the following options only apply to subtitles without own styling (i.e. not ASS but e.g. SRT)

sub-font="Source Sans Pro Semibold" sub-font-size=36 sub-color="#FFFFFFFF" sub-border-color="#FF262626" sub-border-size=3.2 sub-shadow-offset=1 sub-shadow-color="#33000000" sub-spacing=0.5

#############

Languages

#############

slang=enm,en,eng,de,deu,ger # automatically select these subtitles (decreasing priority) alang=ja,jp,jpn,en,eng,de,deu,ger # automatically select these audio tracks (decreasing priority)

#########

Audio

#########

audio-file-auto=fuzzy # external audio doesn't has to match the file name exactly to autoload audio-pitch-correction=yes # automatically insert scaletempo when playing with higher speed volume-max=200 # maximum volume in %, everything above 100 results in amplification volume=100 # default volume, 100 = unchanged

################

Video Output

################

Active VOs (and some other options) are set conditionally

See here for more information: https://github.com/wm4/mpv-scripts/blob/master/auto-profiles.lua

on_battery(), is_laptop() and is_dektop() are my own additional functions imported from scripts/auto-profiles-functions.lua

Defaults for all profiles

vo=opengl tscale=catmull_rom # sharp: oversample <-> linear (triangle) <-> catmull_rom <-> mitchell <-> gaussian <-> bicubic : smooth opengl-early-flush=no opengl-pbo=yes sigmoid-slope=10

[high-quality] profile-desc=cond:is_desktop() and get('width', math.huge) < 3840 scale=ewa_hanning scale-radius=3.2383154841662362 cscale=ewa_lanczos dscale=mitchell scale-antiring=0 cscale-antiring=0 dither-depth=auto correct-downscaling=yes sigmoid-upscaling=yes deband=yes hwdec=no

[mid-quality] profile-desc=cond:(is_laptop() and not on_battery() and get('width', math.huge) < 1920) or (is_desktop() and get('width', math.huge) >= 3840) scale=spline36 cscale=bilinear dscale=mitchell scale-antiring=1.0 cscale-antiring=1.0 dither-depth=auto correct-downscaling=yes sigmoid-upscaling=yes deband=yes hwdec=no

[low-quality] profile-desc=cond:is_laptop() and (on_battery() or get('width', math.huge) >= 1920) scale=bilinear cscale=bilinear dscale=bilinear scale-antiring=0 cscale-antiring=0 dither-depth=no correct-downscaling=no sigmoid-upscaling=no deband=no hwdec=auto

[60FPS] profile-desc=cond:is_laptop() and get('container-fps', 0) >= 59 scale=bilinear cscale=bilinear

[4K] profile-desc=cond:get('width', -math.huge) >= 3840 vd-lavc-threads=32

[4K-inverted] profile-desc=cond:get('width', math.huge) < 3840 vd-lavc-threads=0

[default]

###################################

Protocol Specific Configuration

###################################

[protocol.https]

cache=yes

cache-default=500000 # size in KB

cache-backbuffer=250000 # size in KB

cache-secs=100 # how many seconds of audio/video to prefetch user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'

[protocol.http]

cache=yes

cache-default=500000 # size in KB

cache-backbuffer=250000 # size in KB

cache-secs=100 # how many seconds of audio/video to prefetch user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'

Log file

[ 0.003][v][cplayer] Command line options: '-fs' '-screen=1' '/mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv' '--log-file=output.txt' [ 0.003][v][cplayer] mpv 0.24.0 (C) 2000-2017 mpv/MPlayer/mplayer2 projects [ 0.003][v][cplayer] built on UNKNOWN [ 0.003][v][cplayer] ffmpeg library versions: [ 0.003][v][cplayer] libavutil 55.34.101 [ 0.003][v][cplayer] libavcodec 57.64.101 [ 0.003][v][cplayer] libavformat 57.56.101 [ 0.003][v][cplayer] libswscale 4.2.100 [ 0.003][v][cplayer] libavfilter 6.65.100 [ 0.003][v][cplayer] libswresample 2.3.100 [ 0.003][v][cplayer] ffmpeg version: 3.2.4-1build2 [ 0.003][v][cplayer] [ 0.003][v][cplayer] Configuration: ./waf configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --confdir=/etc/mpv --zshdir=/usr/share/zsh/vendor-completions --enable-cdda --enable-sdl2 --enable-sndio --enable-zsh-comp --enable-libmpv-shared --enable-encoding --disable-build-date [ 0.003][v][cplayer] List of enabled features: alsa any-gl asm atomics audio-input c11-tls cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread egl-drm egl-helpers egl-x11 encoding fchmod gbm gbm.h gcc-tls gl gl-wayland gl-x11 glibc-thread-name glob gnuc iconv is_ffmpeg jack jpeg lcms2 libass libass-osd libav libavcodec libavdevice libbluray libdl libm libmpv-shared librt libsmbclient libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native plain-gl posix posix-or-mingw posix-spawn pthreads pulse rubberband sdl2 shm sndio sse4-intrinsics standard-gl stdatomic subprocess termios tv tv-v4l2 uchardet vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-hwaccel vaapi-hwaccel-old vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp [ 0.003][v][cplayer] Reading config file /home/v1p3r/.config/mpv/mpv.conf [ 0.003][e][cplayer] Error parsing option input-media-keys (option not found) [ 0.003][e][cplayer] /home/v1p3r/.config/mpv/mpv.conf:23: setting option input-media-keys='no' failed. [ 0.004][v][cplayer] Setting option 'border' = 'no' (flags = 4) [ 0.004][v][cplayer] Setting option 'msg-module' = '' (flags = 4) [ 0.004][v][cplayer] Setting option 'msg-color' = '' (flags = 4) [ 0.004][v][cplayer] Setting option 'term-osd-bar' = '' (flags = 4) [ 0.004][v][cplayer] Setting option 'use-filedir-conf' = '' (flags = 4) [ 0.004][v][cplayer] Setting option 'keep-open' = '' (flags = 4) [ 0.004][v][cplayer] Setting option 'autofit-larger' = '100%x95%' (flags = 4) [ 0.004][v][cplayer] Setting option 'autofit-smaller' = '100%x95%' (flags = 4) [ 0.004][v][cplayer] Setting option 'deinterlace' = 'auto' (flags = 4) [ 0.004][v][cplayer] Setting option 'cursor-autohide' = '1000' (flags = 4) [ 0.004][v][cplayer] Setting option 'screenshot-format' = 'png' (flags = 4) [ 0.004][v][cplayer] Setting option 'screenshot-png-compression' = '8' (flags = 4) [ 0.004][v][cplayer] Setting option 'screenshot-template' = '~/Desktop/%F (%P) %n' (flags = 4) [ 0.004][v][cplayer] Setting option 'hls-bitrate' = 'max' (flags = 4) [ 0.004][v][cplayer] Setting option 'ytdl-format' = 'bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash_segments]+bestaudio/best' (flags = 4) [ 0.004][v][cplayer] Setting option 'screen' = '1' (flags = 4) [ 0.004][v][cplayer] Setting option 'cache' = 'yes' (flags = 4) [ 0.004][v][cplayer] Setting option 'cache-default' = '5000000' (flags = 4) [ 0.004][v][cplayer] Setting option 'cache-backbuffer' = '25000' (flags = 4) [ 0.004][v][cplayer] Setting option 'cache-initial' = '0' (flags = 4) [ 0.004][v][cplayer] Setting option 'cache-secs' = '10' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-level' = '0' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-duration' = '2500' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-status-msg' = '${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-font' = 'Source Sans Pro' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-font-size' = '32' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-color' = '#CCFFFFFF' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-border-color' = '#DD322640' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-bar-align-y' = '0' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-border-size' = '2' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-bar-h' = '2' (flags = 4) [ 0.004][v][cplayer] Setting option 'osd-bar-w' = '60' (flags = 4) [ 0.004][v][cplayer] Setting option 'sub-use-margins' = '' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-ass-force-margins' = '' (flags = 4) [ 0.005][v][cplayer] Setting option 'demuxer-mkv-subtitle-preroll' = '' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-auto' = 'fuzzy' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-paths' = 'ass:srt:sub:subs:subtitles' (flags = 4) [ 0.005][v][cplayer] Setting option 'embeddedfonts' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-fix-timing' = 'no' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-ass-force-style' = 'Kerning=yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-font' = 'Source Sans Pro Semibold' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-font-size' = '36' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-color' = '#FFFFFFFF' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-border-color' = '#FF262626' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-border-size' = '3.2' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-shadow-offset' = '1' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-shadow-color' = '#33000000' (flags = 4) [ 0.005][v][cplayer] Setting option 'sub-spacing' = '0.5' (flags = 4) [ 0.005][v][cplayer] Setting option 'slang' = 'enm,en,eng,de,deu,ger' (flags = 4) [ 0.005][v][cplayer] Setting option 'alang' = 'ja,jp,jpn,en,eng,de,deu,ger' (flags = 4) [ 0.005][v][cplayer] Setting option 'audio-file-auto' = 'fuzzy' (flags = 4) [ 0.005][v][cplayer] Setting option 'audio-pitch-correction' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'volume-max' = '200' (flags = 4) [ 0.005][v][cplayer] Setting option 'volume' = '100' (flags = 4) [ 0.005][v][cplayer] Setting option 'vo' = 'opengl' (flags = 4) [ 0.005][v][cplayer] Setting option 'tscale' = 'catmull_rom' (flags = 4) [ 0.005][v][cplayer] Setting option 'opengl-early-flush' = 'no' (flags = 4) [ 0.005][v][cplayer] Setting option 'opengl-pbo' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'sigmoid-slope' = '10' (flags = 4) [ 0.005][v][cplayer] Setting option 'fs' = '' (flags = 8) [ 0.005][v][cplayer] Setting option 'screen' = '1' (flags = 8) [ 0.005][v][cplayer] Setting option 'log-file' = 'output.txt' (flags = 8) [ 0.006][v][global] user path: 'output.txt' -> 'output.txt' [ 0.006][v][osc] Loading lua script @osc.lua... [ 0.006][v][global] config path: 'scripts' -/-> '/home/v1p3r/.config/mpv/scripts' [ 0.006][v][global] config path: 'scripts' -/-> '/home/v1p3r/.mpv/scripts' [ 0.006][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts' [ 0.006][v][osc] loading mp.defaults [ 0.008][v][osc] loading @osc.lua [ 0.012][v][global] config path: 'lua-settings/osc.conf' -/-> '/home/v1p3r/.config/mpv/lua-settings/osc.conf' [ 0.012][v][global] config path: 'lua-settings/osc.conf' -/-> '/home/v1p3r/.mpv/lua-settings/osc.conf' [ 0.012][v][global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf' [ 0.012][v][osc] lua-settings/osc.conf not found. [ 0.013][v][cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/keybinding1 [ 0.013][v][cplayer] mouse_leave script-binding osc/__keybinding2 [ 0.013][v][cplayer] , force] [ 0.013][v][cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging] [ 0.013][v][cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/keybinding3 [ 0.013][v][cplayer] shift+mouse_btn0 script-binding osc/keybinding4 [ 0.013][v][cplayer] mouse_btn2 script-binding osc/__keybinding5 [ 0.013][v][cplayer] mouse_btn0_dbl ignore [ 0.013][v][cplayer] shift+mouse_btn0_dbl ignore [ 0.013][v][cplayer] mouse_btn2_dbl ignore [ 0.013][v][cplayer] , force] [ 0.013][v][cplayer] Run command: enable-section, flags=0, args=[input, ] [ 0.013][v][cplayer] Run command: define-section, flags=0, args=[input_osc, del script-binding osc/keybinding6 [ 0.013][v][cplayer] , default] [ 0.013][v][cplayer] Run command: enable-section, flags=0, args=[input_osc, allow-hide-cursor+allow-vo-dragging] [ 0.013][v][cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force] [ 0.013][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, allow-hide-cursor+allow-vo-dragging] [ 0.013][v][cplayer] Done loading @osc.lua. [ 0.013][v][ytdl_hook] Loading lua script @ytdl_hook.lua... [ 0.013][v][global] config path: 'scripts' -/-> '/home/v1p3r/.config/mpv/scripts' [ 0.013][v][global] config path: 'scripts' -/-> '/home/v1p3r/.mpv/scripts' [ 0.013][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts' [ 0.014][v][ytdl_hook] loading mp.defaults [ 0.014][v][cplayer] Run command: disable-section, flags=0, args=[input] [ 0.014][v][global] config path: 'fonts' -/-> '/home/v1p3r/.config/mpv/fonts' [ 0.014][v][global] config path: 'fonts' -/-> '/home/v1p3r/.mpv/fonts' [ 0.014][v][global] config path: 'fonts' -/-> '/etc/mpv/fonts' [ 0.014][v][osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.4.2 (COMPLEX) [ 0.014][v][global] config path: 'subfont.ttf' -/-> '/home/v1p3r/.config/mpv/subfont.ttf' [ 0.014][v][global] config path: 'subfont.ttf' -/-> '/home/v1p3r/.mpv/subfont.ttf' [ 0.014][v][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf' [ 0.014][v][global] config path: 'fonts.conf' -/-> '/home/v1p3r/.config/mpv/fonts.conf' [ 0.014][v][global] config path: 'fonts.conf' -/-> '/home/v1p3r/.mpv/fonts.conf' [ 0.014][v][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf' [ 0.014][v][osd/libass] Setting up fonts... [ 0.015][v][ytdl_hook] loading @ytdl_hook.lua [ 0.016][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10] [ 0.016][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10] [ 0.017][v][cplayer] Done loading @ytdl_hook.lua. [ 0.017][v][global] config path: 'scripts' -/-> '/home/v1p3r/.config/mpv/scripts' [ 0.017][v][global] config path: 'scripts' -/-> '/home/v1p3r/.mpv/scripts' [ 0.017][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts' [ 0.017][v][global] config path: 'watch_later' -> '/home/v1p3r/.config/mpv/watch_later' [ 0.019][v][global] config path: 'artisti_oggi_22012015_de_majo.mkv.conf' -/-> '/home/v1p3r/.config/mpv/artisti_oggi_22012015_de_majo.mkv.conf' [ 0.019][v][global] config path: 'artisti_oggi_22012015_de_majo.mkv.conf' -/-> '/home/v1p3r/.mpv/artisti_oggi_22012015_de_majo.mkv.conf' [ 0.019][v][global] config path: 'artisti_oggi_22012015_de_majo.mkv.conf' -/-> '/etc/mpv/artisti_oggi_22012015_de_majo.mkv.conf' [ 0.019][i][cplayer] Playing: /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.019][v][cplayer] Running hook: ytdl_hook/on_load [ 0.034][v][osd/libass] Using font provider fontconfig [ 0.035][v][osd/libass] Done. [ 0.035][v][cplayer] Run command: hook-ack, flags=0, args=[on_load] [ 0.036][v][ifo] Opening /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.036][v][ifo_dvdnav] Opening /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.044][v][bdmv/bluray] Opening /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.045][v][file] Opening /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.045][v][file] Stream opened successfully. [ 0.046][v][cache] no backbuffer needed [ 0.046][v][cache] Cache size set to 75913 KiB (32 KiB backbuffer) [ 0.046][v][demux] Trying demuxers for level=normal. [ 0.051][v][mkv] Found the head... [ 0.051][v][mkv] + a segment... [ 0.051][v][mkv] Parsing seek head... [ 0.051][v][mkv] |+ segment information... [ 0.051][v][mkv] | + muxing app: Lavf57.56.101 [ 0.051][v][mkv] | + writing app: Lavf57.56.101 [ 0.051][v][mkv] | + timecode scale: 1000000 [ 0.051][v][mkv] | + duration: 1775.461s [ 0.051][v][mkv] | + segment uid 4f 66 ca b3 ff 74 43 1e c4 2d 08 fa 7e fa 20 28 [ 0.051][v][mkv] |+ segment tracks... [ 0.051][v][mkv] | + a track... [ 0.051][v][mkv] | + Track number: 1 [ 0.051][v][mkv] | + Track type: Video [ 0.051][v][mkv] | + Video track [ 0.051][v][mkv] | + Display width: 768 [ 0.051][v][mkv] | + Display height: 576 [ 0.051][v][mkv] | + Pixel width: 720 [ 0.051][v][mkv] | + Pixel height: 576 [ 0.051][v][mkv] | + Codec ID: V_MPEGH/ISO/HEVC [ 0.051][v][mkv] | + CodecPrivate, length 1810 [ 0.051][v][mkv] | + Language: und [ 0.051][v][mkv] | + Default duration: 40.000ms ( = 25.000 fps) [ 0.051][v][mkv] | + a track... [ 0.051][v][mkv] | + Track number: 2 [ 0.051][v][mkv] | + Track type: Audio [ 0.051][v][mkv] | + Audio track [ 0.051][v][mkv] | + Sampling frequency: 48000.000000 [ 0.051][v][mkv] | + Bit depth: 32 [ 0.051][v][mkv] | + Channels: 2 [ 0.051][v][mkv] | + Codec ID: A_AAC [ 0.051][v][mkv] | + CodecPrivate, length 5 [ 0.051][v][mkv] | + Language: und [ 0.051][v][mkv] |+ found cluster [ 0.051][v][mkv] Deferring reading cues. [ 0.051][v][mkv] All headers are parsed! [ 0.051][v][mkv] Start PTS: 0.040000 [ 0.051][v][demux] Detected file format: Matroska [ 0.051][v][cache] blocking for STREAM_CTRL 6 [ 0.052][v][cplayer] Opening done: /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/artisti_oggi_22012015_de_majo.mkv [ 0.052][v][find_files] Loading external files in /mnt/Qnap2OTVA/_OTVAMedia/02/Artisti Oggi/2014-2015/ [ 0.062][v][global] config path: 'sub/' -/-> '/home/v1p3r/.config/mpv/sub/' [ 0.062][v][global] config path: 'sub/' -/-> '/home/v1p3r/.mpv/sub/' [ 0.062][v][global] config path: 'sub/' -/-> '/etc/mpv/sub/' [ 0.062][v][global] config path: 'audio/' -/-> '/home/v1p3r/.config/mpv/audio/' [ 0.062][v][global] config path: 'audio/' -/-> '/home/v1p3r/.mpv/audio/' [ 0.062][v][global] config path: 'audio/' -/-> '/etc/mpv/audio/' [ 0.062][v][cplayer] Running hook: ytdl_hook/on_preloaded [ 0.062][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded] [ 0.063][i][cplayer] (+) Video --vid=1 () (hevc) [ 0.063][i][cplayer] (+) Audio --aid=1 () (aac) [ 0.063][v][vo/opengl] Initializing OpenGL backend 'wayland' [ 0.063][v][vo/opengl/wayland] failed to connect to a wayland server: check if a wayland compositor is running [ 0.063][v][vo/opengl] Initializing OpenGL backend 'x11probe' [ 0.063][v][vo/opengl/x11] X11 opening display: :1 [ 0.067][v][vo/opengl/x11] X11 running at 3600x1080 (":1" => local display) [ 0.068][v][vo/opengl/x11] Detected wm supports NetWM. [ 0.068][v][vo/opengl/x11] Detected wm supports FULLSCREEN state. [ 0.068][v][vo/opengl/x11] Detected wm supports ABOVE state. [ 0.068][v][vo/opengl/x11] Detected wm supports BELOW state. [ 0.068][v][vo/opengl/x11] Display 0 (DVI-I-2): [1680, 0, 3600, 1080] @ 60.053381 FPS [ 0.068][v][vo/opengl/x11] Display 1 (DVI-I-3): [0, 0, 1680, 1050] @ 59.954250 FPS [ 0.068][v][vo/opengl/x11] Current display FPS: 60.053381 [ 0.097][v][vo/opengl] GLX chose FB config with ID 0x135 [ 0.097][v][vo/opengl] GLX chose visual with ID 0x4f [ 0.097][v][vo/opengl] Creating OpenGL 3.3 context... [ 0.165][v][vo/opengl] GL_VERSION='3.3.0 NVIDIA 375.66' [ 0.165][v][vo/opengl] Detected desktop OpenGL 3.3. [ 0.165][v][vo/opengl] GL_VENDOR='NVIDIA Corporation' [ 0.165][v][vo/opengl] GL_RENDERER='GeForce GTX 560 Ti/PCIe/SSE2' [ 0.165][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='3.30 NVIDIA via Cg compiler' [ 0.166][v][vo/opengl] Loaded extension GLX_SGI_swap_control. [ 0.166][v][vo/opengl] Loaded extension GLX_SGI_video_sync. [ 0.166][v][vo/opengl] Loaded extension GL_NV_vdpau_interop. [ 0.166][v][vo/opengl] Loaded extension GL_ARB_debug_output. [ 0.166][v][vo/opengl] 16 bit texture depth: 16. [ 0.166][v][vo/opengl] Reported display depth: R=8, G=8, B=8 [ 0.166][v][vo/opengl] Testing FBO format 0x805b [ 0.166][v][vo/opengl] Create FBO: 16x16 (16x16) [ 0.166][v][vo/opengl] Using FBO format 0x805b. [ 0.166][v][vo/opengl] No advanced processing required. Enabling dumb mode. [ 0.166][v][vo/opengl] Assuming 60.053381 FPS for display sync. [ 0.167][v][vd] Container reported FPS: 25.000000 [ 0.167][v][vd] Codec list: [ 0.167][v][vd] hevc - HEVC (High Efficiency Video Coding) [ 0.167][v][vd] Opening video decoder hevc [ 0.167][v][vd] Using software decoding. [ 0.167][v][vd] Detected 8 logical cores. [ 0.167][v][vd] Requesting 9 threads for decoding. [ 0.168][v][vd] Selected video codec: hevc (HEVC (High Efficiency Video Coding)) [ 0.168][v][ad] Codec list: [ 0.168][v][ad] aac - AAC (Advanced Audio Coding) [ 0.168][v][ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ 0.168][v][ad] Opening audio decoder aac [ 0.168][v][ad] Requesting 1 threads for decoding. [ 0.170][v][ad] Selected audio codec: aac (AAC (Advanced Audio Coding)) [ 0.170][v][cplayer] Starting playback... [ 0.170][v][vo/opengl/x11] Disabling screensaver. [ 0.171][v][af] Audio filter chain: [ 0.171][v][af] [in] 48000Hz stereo 2ch floatp [ 0.171][v][af] [out] 48000Hz stereo 2ch floatp [ 0.171][v][af] [ao] 48000Hz stereo 2ch floatp [ 0.171][v][ao] Trying audio driver 'pulse' [ 0.171][v][ao/pulse] requested format: 48000 Hz, stereo channels, floatp [ 0.172][v][ao/pulse] Library version: 10.0.0 [ 0.172][v][ao/pulse] Proto: 32 [ 0.172][v][ao/pulse] Server proto: 4294967295 [ 0.172][v][ao/pulse] Channel layouts: [ 0.173][v][ao/pulse] - #fl [ 0.173][v][ao/pulse] - #fr [ 0.173][v][ao/pulse] - #fc [ 0.173][v][ao/pulse] - #lfe [ 0.173][v][ao/pulse] - #bl [ 0.173][v][ao/pulse] - #br [ 0.173][v][ao/pulse] - #flc [ 0.173][v][ao/pulse] - #frc [ 0.173][v][ao/pulse] - #bc [ 0.173][v][ao/pulse] - #sl [ 0.173][v][ao/pulse] - #sr [ 0.173][v][ao/pulse] - #tc [ 0.173][v][ao/pulse] - #tfl [ 0.173][v][ao/pulse] - #tfc [ 0.173][v][ao/pulse] - #tfr [ 0.173][v][ao/pulse] - #tbl [ 0.173][v][ao/pulse] - #tbc [ 0.173][v][ao/pulse] - #tbr [ 0.173][v][ao/pulse] result: stereo [ 0.175][v][ao/pulse] device buffer: 6000 samples. [ 0.175][v][ao/pulse] using soft-buffer of 9600 samples. [ 0.175][i][cplayer] AO: [pulse] 48000Hz stereo 2ch float [ 0.175][v][cplayer] AO: Description: PulseAudio audio output [ 0.175][v][af] Adding filter lavrresample [ 0.176][v][af] Audio filter chain: [ 0.176][v][af] [in] 48000Hz stereo 2ch floatp [ 0.176][v][af] [lavrresample] 48000Hz stereo 2ch float [a] [ 0.176][v][af] [out] 48000Hz stereo 2ch float [ 0.176][v][af] [ao] 48000Hz stereo 2ch float [ 0.185][v][vd] Decoder format: 720x576 [16:15] yuv420p auto/auto/auto/limited CL=unknown [ 0.185][v][vd] Using container aspect ratio. [ 0.185][v][vf] Video filter chain: [ 0.185][v][vf] [in] 720x576 [16:15] yuv420p bt.601/bt.601-625/bt.1886/limited CL=unknown [ 0.185][v][vf] [out] 720x576 [16:15] yuv420p bt.601/bt.601-625/bt.1886/limited CL=unknown [ 0.185][i][cplayer] VO: [opengl] 720x576 => 768x576 yuv420p [ 0.185][v][cplayer] VO: Description: Extended OpenGL Renderer [ 0.226][v][vo/opengl/x11] Current display FPS: 59.954250 [ 0.247][v][vo/opengl/x11] not waiting for MapNotify [ 0.247][v][vo/opengl] Resize: 1680x1050 [ 0.247][v][vo/opengl] Window size: 1680x1050 [ 0.247][v][vo/opengl] Video source: 720x576 (16:15) [ 0.247][v][vo/opengl] Video display: (0, 0) 720x576 -> (140, 0) 1400x1050 [ 0.247][v][vo/opengl] Video scale: 1.944444/1.822917 [ 0.247][v][vo/opengl] OSD borders: l=140 t=0 r=140 b=0 [ 0.247][v][vo/opengl] Video borders: l=140 t=0 r=140 b=0 [ 0.248][v][vo/opengl] Testing FBO format 0x805b [ 0.248][v][vo/opengl] Create FBO: 16x16 (16x16) [ 0.248][v][vo/opengl] Using FBO format 0x805b. [ 0.248][v][vo/opengl] No advanced processing required. Enabling dumb mode. [ 0.248][v][vo/opengl] Texture for plane 0: 720x576 [ 0.248][v][vo/opengl] Texture for plane 1: 360x288 [ 0.248][v][vo/opengl] Texture for plane 2: 360x288 [ 0.248][v][cplayer] set video colors output-levels=0 [ 0.248][v][vo/opengl] Assuming 59.954250 FPS for display sync. [ 0.254][v][vo/opengl] recompiling a shader program: [ 0.254][v][vo/opengl] [ 1] color.r = 1.000000 vec4(texture(texture0, texcoord0)).r; [ 0.254][v][vo/opengl] [ 2] color.g = 1.000000 vec4(texture(texture1, texcoord1)).r; [ 0.254][v][vo/opengl] [ 3] color.b = 1.000000 vec4(texture(texture2, texcoord2)).r; [ 0.254][v][vo/opengl] [ 4] // color conversion [ 0.254][v][vo/opengl] [ 5] color.rgb = mat3(colormatrix) color.rgb + colormatrix_c; [ 0.254][v][vo/opengl] [ 6] color.a = 1.0; [ 0.254][v][vo/opengl] [ 7] // color mapping [ 0.257][v][osd/libass] fontselect: (Source Sans Pro, 400, 0) -> /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf, 0, DejaVuSans [ 0.260][v][cplayer] first video frame after restart shown [ 0.260][v][cplayer] starting audio playback [ 0.260][v][cplayer] playback restart complete [ 0.272][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+22MB [ 0.322][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+27MB [ 0.362][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+31MB [ 0.392][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+35MB [ 0.441][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+40MB [ 0.482][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+44MB [ 0.522][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+49MB [ 0.562][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+53MB [ 0.602][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+57MB [ 0.641][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+61MB [ 0.682][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+65MB [ 0.722][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+70MB [ 0.753][v][cache] EOF reached. [ 0.762][s][statusline] AV: 00:00:00 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+73MB [ 1.289][s][statusline] AV: 00:00:01 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+73MB [ 2.298][s][statusline] AV: 00:00:02 / 00:29:35 (0%) A-V: 0.000 Cache: 9s+73MB [ 3.222][v][cplayer] Run command: quit, flags=9, args=[0] [ 3.222][v][cplayer] EOF code: 6
[ 3.223][v][ad] Uninit audio decoder. [ 3.223][v][af] Removing filter lavrresample [ 3.224][v][vd] Uninit video. [ 3.225][v][cache] Terminating cache... [ 3.225][v][cache] Cache exiting... [ 3.261][v][vo/opengl/x11] Enabling screensaver. [ 3.262][v][cplayer] finished playback, success (reason 3) [ 3.262][i][cplayer] [ 3.262][i][cplayer] [ 3.262][i][cplayer] Exiting... (Quit) [ 3.262][v][ytdl_hook] Exiting... [ 3.262][v][osc] Exiting... [ 3.264][v][ao/pulse] draining... [ 3.272][v][vo/opengl] flushing shader cache [ 3.273][v][vo/opengl/x11] uninit ...

Make a log file made with -v or --log-file=output.txt, paste it to http://sprunge.us or a similar site, and replace this text with a link to it.

Providing a log file is strongly encouraged. It is very helpful for reproducing bugs or getting important technical context. Without a log it might not be possible to analyze and fix certain bugs, and your bug report will be closed or ignored.

Sample files

Sample files needed to reproduce this issue can be uploaded to https://0x0.st/ or similar sites. (Only needed if the issue cannot be reproduced without it.)

ghost commented 7 years ago

Try --fs-screen instead of --screen.

Akemi commented 6 years ago

no response.