smplayer freezes for a ~1 sec when taking screenshot (only w/ mpv in...
Free media player with support for Youtube
Brought to you by:
rvm
... [13:31:19:301] Core::startMplayer: command: 'O:/Programs/Players/SMPlayer/mpv/mpv.exe --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --vd-lavc-threads=4 --hwdec=auto --sub-auto=fuzzy --vo=direct3d, --audio-device=dsound/1 --ao=dsound, --priority=high --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=2163954 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-codepage=CP1251 --vid=1 --sid=no --alang=jap,jpn,jp --slang=ru,rus --sub-pos=100 --volume=53 --cache=65536 --screenshot-template=cap_%F_%p_%02n --screenshot-format=png --screenshot-directory=M:\Pictures\Screenshots\SMPlayer --audio-pitch-correction=yes --af-add=lavfi=[firequalizer=gain='cubic_interpolate(f)':zero_phase=on:wfunc=tukey:delay=0.027:gain_entry='entry(0,0);entry(62.5,0);entry(125,0);entry(250,0);entry(500,0);entry(1000,0);entry(2000,0);entry(4000,0);entry(8000,0);entry(16000,0)'] --volume-max=110 --osd-level=0 --term-playing-msg=MPV_VERSION=${=mpv-version:} ... [13:31:29:037] BaseGuiPlus::eventFilter: key: QKeySequence("S") [13:31:29:037] Core::screenshot [13:31:29:037] Core::screenshot: include_subtitles: false [13:31:29:038] Core::pausing_prefix [13:31:29:038] PlayerProcess::writeToStdin: screenshot video single [13:31:29:038] Core::screenshot: screenshot taken [13:31:29:039] MPVProcess::parseLine: "Screenshot: 'M:\\Pictures\\Screenshots\\***'"
It's me again. Freezing occurs because of smplayer.ini->[%General]->screenshot_format=png.
No freezing with jpg. But the issue is still here, because mplayer and "mpv in separate window mode" can take png screenshots without freezing.
Reproduced on "18.6.0 x64 portable" with default settings (except jpg->png, of course).
Taking a screenshot with "mpv in separate window mode" produces only one line in log:
Multiple Screenshots (Shift + D) also have freezing.
mpv's png compression options settings doesn't matter since they must be same and default in separate/non-separate window modes because of --no-config flag. Those options and default values:
No filtering, lower compression rate -> less freeze time, but it's a weird workaround. Taking a screenshot must be async.
Last edit: terpavor 2018-08-09
Might be related. When I upgraded to 19.1.0 I noticed mvp will rarely freeze for 1 sec when switching from/to fullscreen.
Happens only when MVP is set to GPU as output.
Last edit: koko 2019-03-01