#783 mpv's video playback freezes sometimes when switching between fullscreen modes

smplayer
open
nobody
None
5
2016-11-29
2016-11-29
No

Hi,

I'm not 100% sure if it's an issue on SMPlayers side or not, but it does not occur when using mpv as a standalone player at least.
When switching between fullscreen and windowed mode, the video playback sometimes freezes. Audio keeps playing. Stopping the playback causes a mpv crash dialog to appear.
The video freezes regardless of the playback being paused at the time of switching the fullscreen mode.
It doesn't seem to occur when using Direct3D as output driver.

I'm using SMPlayer 16.11.0 with mpv 0.22.0-git-1d4273c on Windows 10 (all 64-bit).
Here's the log:

C:/Program Files/SMPlayer/mpv/mpv.exe --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --vd-lavc-threads=6 --hwdec=no --sub-auto=fuzzy --vo=opengl-hq, --ao=wasapi, --priority=abovenormal --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=1707020 --monitorpixelaspect=1 --osd-scale=1 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-codepage=utf8:ISO-8859-1 --sub-pos=100 --volume=110 --cache=auto --osd-level=0 --vf-add=lavfi=[pp] --screenshot-template=cap_%F_%p_%02n --screenshot-format=png --screenshot-directory=D:\ --audio-channels=6 --af-add=drc=1 --audio-pitch-correction=yes --af-add=equalizer=0:0:0:0:0:0:0:0:0:0 --volume-max=110 --interpolation --scale=ewa_lanczossharp --cscale=ewa_lanczossoft --blend-subtitles=video --tscale-radius=3 -video-sync=display-resample -screenshot-format=png --vf=gradfun --ytdl-format=bestvideo+bestaudio --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
 --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} [file].mkv

--vo=opengl-hq is deprecated! Use --profile=opengl-hq instead.
Playing: [file].mkv
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=jpn (*) (aac)
 (+) Subs  --sid=1 --slang=eng (*) (ass)
Opening video filter: [gradfun]
AO: [wasapi] 96000Hz 5.1(side) 6ch float
VO: [opengl] 1280x720 yuv420p
Invalid video timestamp: 0.000000 -> 0.000000
INFO_VIDEO_DSIZE=1280x720
MPV_VERSION=mpv 0.22.0-git-1d4273c
INFO_VIDEO_WIDTH=1280
INFO_VIDEO_HEIGHT=720
INFO_VIDEO_ASPECT=1.777778
INFO_VIDEO_FPS=23.809525
INFO_VIDEO_FORMAT=h264
INFO_VIDEO_CODEC=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
INFO_AUDIO_FORMAT=aac
INFO_AUDIO_CODEC=AAC (Advanced Audio Coding) [lavc:aac]
INFO_AUDIO_RATE=44100
INFO_AUDIO_NCH=2
INFO_LENGTH=1440.000000
INFO_DEMUXER=mkv
INFO_SEEKABLE=yes
INFO_TITLES=
INFO_CHAPTERS=0
INFO_TRACKS_COUNT=3
METADATA_TITLE=
METADATA_ARTIST=
METADATA_ALBUM=
METADATA_GENRE=
METADATA_DATE=
METADATA_TRACK=
METADATA_COPYRIGHT=
INFO_MEDIA_TITLE=[file].mkv
INFO_TRACK_0: video 1 '' '' yes
INFO_TRACK_1: audio 1 'jpn' '' yes
INFO_TRACK_2: sub 1 'eng' '' yes
Track switched:
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=jpn (*) (aac)
 (+) Subs  --sid=1 --slang=eng (*) (ass)
Track switched:
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=jpn (*) (aac)
 (+) Subs  --sid=1 --slang=eng (*) (ass)
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
INFO_VIDEO_BITRATE=
INFO_AUDIO_BITRATE=126856

Though to be honest I don't see anything helpful there. That last message is more like the result of the video not playing further.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks