smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
689 stars 93 forks source link

Error Stay On Video while playing #869

Open 3xploiton3 opened 11 months ago

3xploiton3 commented 11 months ago

Describe the bug bug stay on video while playing

To Reproduce Steps to reproduce the behavior:

  1. Right Click
  2. Video > stay on video while playing
  3. Error Crash

Screenshots image

Your Enviroment

Logs

/usr/bin/mpv --no-quiet --terminal --no-msg-color --input-ipc-server=/tmp/smplayer-mpv-4d39 --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-config --no-fs --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=44040209 --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-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-margin-y=8 --sub-margin-x=20 --sub-codepage=UTF-8 --vid=1 --sid=2 --sub-file=/mount/e-Course/Film/Escape Plan/Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.ssa --sub-pos=100 --volume=110 --cache=auto --start=122 --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:} INFO_VIDEO_WIDTH=${=width} INFO_VIDEO_HEIGHT=${=height} INFO_VIDEO_ASPECT=${=video-params/aspect} INFO_VIDEO_FPS=${=container-fps:${=fps}} INFO_VIDEO_FORMAT=${=video-format} INFO_VIDEO_CODEC=${=video-codec} INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation} 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:} INFO_STREAM_PATH=${stream-path} --audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /media/e-Course/Film/Escape Plan/Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.mkv [file] Cannot open file '/mount/e-Course/Film/Escape Plan/Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.ssa': No such file or directory Failed to open /mount/e-Course/Film/Escape Plan/Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.ssa. Can not open external file /mount/e-Course/Film/Escape Plan/Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.ssa. (+) Video --vid=1 (*) (h264 1920x804 23.976fps) Video --vid=2 [P] 'cover.jpg' (mjpeg) (+) Audio --aid=1 --alang=eng (ac3 6ch 48000Hz) Subs --sid=1 --slang=eng (*) (hdmv_pgs_subtitle) (+) Subs --sid=2 --slang=in 'Escape.Plan.2.Hades.2018.1080p.BluRay.x264.DD5.1-Pahe.in.ssa' (ass) (external) File tags: Title: Escape Plan 2: Hades 2018 [vo/gpu/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 2a00011, serial: 15 [vo/gpu/x11] Error code: 9, request code: e, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 2a00011, serial: 16 [vo/gpu/x11] Error code: 3, request code: 28, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 2a00011, serial: 1f [vo/gpu/x11] Error code: 3, request code: 2, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 2a00011, serial: 21 [vo/gpu/x11] Error code: 3, request code: 1, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 24 [vo/gpu/x11] Error code: 3, request code: 12, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 27 [vo/gpu/x11] Error code: 3, request code: 94, minor code: 3 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 29 [vo/gpu/x11] Error code: 3, request code: 12, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 2a [vo/gpu/x11] Error code: 3, request code: 12, minor code: 0 [vo/gpu/opengl] Could not create EGL surface! [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 2c [vo/gpu/x11] Error code: 3, request code: 12, minor code: 0 [vo/gpu/x11] X11 error: BadWindow (invalid Window parameter) [vo/gpu/x11] Type: 0, display: 0x7f8b24003b10, resourceid: 4800002, serial: 2d [vo/gpu/x11] Error code: 3, request code: 12, minor code: 0 X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 10 (X_UnmapWindow) Resource id in failed request: 0x4800002 Serial number of failed request: 48 Current serial number in output stream: 52
Raza-0007 commented 11 months ago

This might be an issue with the X11 VO. mpv no longer recommends this VO.

The recommended VO with mpv is --vo=gpu. Other VO's are for compatibility purposes only. See this link: https://mpv.io/manual/master/#video-output-drivers

Or try putting the video output driver in smplayer to default, so mpv can pick a working VO for your system.