smplayer-dev / smplayer

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

Mpv fail playback #1033

Open trimechee opened 2 weeks ago

trimechee commented 2 weeks ago

Hello, thank you again for th amazing SMPlayer :) 💯 🥇

So my main laptop has a breakdown so I go back to using my old eee pc which dates from 2012 and which has windows 7 OS 32 bits, but I can no longer watch streaming video because it lags freeze probably because my cpu is weak and old and the html5 web browser is heavy but I can watch videos without lag freeze with our beloved SMPlayer, the problem now is that on this famous Russian site mail ru video, there are a lot of streaming videos posted by my favorite streaming site and the mail ru platform offers standard quality unlike other streaming platforms which only offer full HD 720p or 1080p videos while my cpu is weak and internet weak, so we hope the bug with mail ru video will be resolved please, it's vital, thank you very much :)

https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html

Here the mpv logs of this bug in mail ru site :

mpv/mpv.exe --no-quiet --terminal --no-msg-color --input-ipc-server=C:/Users/Administrateur.ASUS-PC/AppData/Local/Temp/smplayer-mpv-2b8 --msg-level=ffmpeg/demuxer=error --video-rotate=no --no-config -v --no-fs --vd-lavc-skiploopfilter=all --hwdec=no --sub-auto=fuzzy --vo=direct3d, --priority=normal --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=3277224 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-scale=5 --sub-codepage=ISO-8859-1 --sid=auto --sub-pos=100 --volume=58 --cache=auto --audio-pitch-correction=yes --volume-max=100 --ytdl -ytdl-format=bestvideo[height<=?480]+bestaudio/best[height<=?480] --script-opts=ytdl_hook-ytdl_path=C:/Users/Administrateur.ASUS-PC/.smplayer/yt-dlp --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-format} INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation} INFO_AUDIO_FORMAT=${=audio-codec-name} INFO_AUDIO_CODEC=${=audio-codec-name} 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} --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} https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html

Command line options: '--no-quiet' '--terminal' '--no-msg-color' '--input-ipc-server=C:/Users/Administrateur.ASUS-PC/AppData/Local/Temp/smplayer-mpv-2b8' '--msg-level=ffmpeg/demuxer=error' '--video-rotate=no' '--no-config' '-v' '--no-fs' '--vd-lavc-skiploopfilter=all' '--hwdec=no' '--sub-auto=fuzzy' '--vo=direct3d,' '--priority=normal' '--no-input-default-bindings' '--input-vo-keyboard=no' '--no-input-cursor' '--cursor-autohide=no' '--no-keepaspect' '--wid=3277224' '--monitorpixelaspect=1' '--osd-level=1' '--osd-scale=1' '--osd-bar-align-y=0.6' '--sub-scale=5' '--sub-codepage=ISO-8859-1' '--sid=auto' '--sub-pos=100' '--volume=58' '--cache=auto' '--audio-pitch-correction=yes' '--volume-max=100' '--ytdl' '-ytdl-format=bestvideo[height<=?480]+bestaudio/best[height<=?480]' '--script-opts=ytdl_hook-ytdl_path=C:/Users/Administrateur.ASUS-PC/.smplayer/yt-dlp' '--term-playing-msg=MPV_VERSION=${=mpv-version:} [debug] INFO_VIDEO_WIDTH=${=width} [debug] INFO_VIDEO_HEIGHT=${=height} [debug] INFO_VIDEO_ASPECT=${=video-params/aspect} [debug] INFO_VIDEO_FPS=${=container-fps:${=fps}} [debug] INFO_VIDEO_FORMAT=${=video-format} [debug] INFO_VIDEO_CODEC=${=video-format} [debug] INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation} [debug] INFO_AUDIO_FORMAT=${=audio-codec-name} [debug] INFO_AUDIO_CODEC=${=audio-codec-name} [debug] INFO_AUDIO_RATE=${=audio-params/samplerate} [debug] INFO_AUDIO_NCH=${=audio-params/channel-count} [debug] INFO_LENGTH=${=duration:${=length}} [debug] INFO_DEMUXER=${=current-demuxer:${=demuxer}} [debug] INFO_SEEKABLE=${=seekable} [debug] INFO_TITLES=${=disc-titles} [debug] INFO_CHAPTERS=${=chapters} [debug] INFO_TRACKS_COUNT=${=track-list/count} [debug] METADATA_TITLE=${metadata/by-key/title:} [debug] METADATA_ARTIST=${metadata/by-key/artist:} [debug] METADATA_ALBUM=${metadata/by-key/album:} [debug] METADATA_GENRE=${metadata/by-key/genre:} [debug] METADATA_DATE=${metadata/by-key/date:} [debug] METADATA_TRACK=${metadata/by-key/track:} [debug] METADATA_COPYRIGHT=${metadata/by-key/copyright:} [debug] INFO_MEDIA_TITLE=${=media-title:} [debug] INFO_STREAM_PATH=${stream-path} ' '--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}' 'https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html' mpv 0.34.0 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects built on Sun Nov 7 20:13:45 +08 2021 FFmpeg library versions: libavutil 57.7.100 libavcodec 59.12.100 libavformat 59.8.100 libswscale 6.1.100 libavfilter 8.16.101 libswresample 4.0.100 FFmpeg version: git-2021-11-06-1728127e8

Configuration: /home/shinchiro/build32/packages/mpv-stable-prefix/src/mpv-stable/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-lua --enable-javascript --enable-sdl2 --enable-libarchive --enable-libbluray --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --enable-openal --enable-spirv-cross --enable-vulkan --enable-vapoursynth --prefix=/home/shinchiro/build32/install/mingw List of enabled features: asm build-date cplayer cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug-build direct3d dos-paths dvdnav egl-angle egl-angle-win32 egl-helpers ffmpeg ffmpeg-aviocontext-bytes-read ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg lcms2 libarchive libass libavdevice libbluray libm libmpv-shared libplacebo lua luajit mingw noexecstack openal optimize plain-gl posix-or-mingw rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc shaderc-static spirv-cross spirv-cross-static static-build stdatomic uchardet vapoursynth vector vulkan wasapi win32-desktop win32-internal-pthreads zimg zlib Setting option 'quiet' = 'no' (flags = 8) Setting option 'terminal' = '' (flags = 8) Setting option 'msg-color' = 'no' (flags = 8) Setting option 'input-ipc-server' = 'C:/Users/Administrateur.ASUS-PC/AppData/Local/Temp/smplayer-mpv-2b8' (flags = 8) Setting option 'msg-level' = 'ffmpeg/demuxer=error' (flags = 8) Setting option 'video-rotate' = 'no' (flags = 8) Setting option 'config' = 'no' (flags = 8) Setting option 'v' = '' (flags = 8) Setting option 'fs' = 'no' (flags = 8) Setting option 'vd-lavc-skiploopfilter' = 'all' (flags = 8) Setting option 'hwdec' = 'no' (flags = 8) Setting option 'sub-auto' = 'fuzzy' (flags = 8) Setting option 'vo' = 'direct3d,' (flags = 8) Setting option 'priority' = 'normal' (flags = 8) Setting option 'input-default-bindings' = 'no' (flags = 8) Setting option 'input-vo-keyboard' = 'no' (flags = 8) Setting option 'input-cursor' = 'no' (flags = 8) Setting option 'cursor-autohide' = 'no' (flags = 8) Setting option 'keepaspect' = 'no' (flags = 8) Setting option 'wid' = '3277224' (flags = 8) Setting option 'monitorpixelaspect' = '1' (flags = 8) Setting option 'osd-level' = '1' (flags = 8) Setting option 'osd-scale' = '1' (flags = 8) Setting option 'osd-bar-align-y' = '0.6' (flags = 8) Setting option 'sub-scale' = '5' (flags = 8) Setting option 'sub-codepage' = 'ISO-8859-1' (flags = 8) Setting option 'sid' = 'auto' (flags = 8) Setting option 'sub-pos' = '100' (flags = 8) Setting option 'volume' = '58' (flags = 8) Setting option 'cache' = 'auto' (flags = 8) Setting option 'audio-pitch-correction' = 'yes' (flags = 8) Setting option 'volume-max' = '100' (flags = 8) Setting option 'ytdl' = '' (flags = 8) Setting option 'ytdl-format' = 'bestvideo[height<=?480]+bestaudio/best[height<=?480]' (flags = 8) Setting option 'script-opts' = 'ytdl_hook-ytdl_path=C:/Users/Administrateur.ASUS-PC/.smplayer/yt-dlp' (flags = 8) Setting option 'term-playing-msg' = 'MPV_VERSION=${=mpv-version:} [debug] INFO_VIDEO_WIDTH=${=width} [debug] INFO_VIDEO_HEIGHT=${=height} [debug] INFO_VIDEO_ASPECT=${=video-params/aspect} [debug] INFO_VIDEO_FPS=${=container-fps:${=fps}} [debug] INFO_VIDEO_FORMAT=${=video-format} [debug] INFO_VIDEO_CODEC=${=video-format} [debug] INFO_DEMUX_ROTATION=${=track-list/0/demux-rotation} [debug] INFO_AUDIO_FORMAT=${=audio-codec-name} [debug] INFO_AUDIO_CODEC=${=audio-codec-name} [debug] INFO_AUDIO_RATE=${=audio-params/samplerate} [debug] INFO_AUDIO_NCH=${=audio-params/channel-count} [debug] INFO_LENGTH=${=duration:${=length}} [debug] INFO_DEMUXER=${=current-demuxer:${=demuxer}} [debug] INFO_SEEKABLE=${=seekable} [debug] INFO_TITLES=${=disc-titles} [debug] INFO_CHAPTERS=${=chapters} [debug] INFO_TRACKS_COUNT=${=track-list/count} [debug] METADATA_TITLE=${metadata/by-key/title:} [debug] METADATA_ARTIST=${metadata/by-key/artist:} [debug] METADATA_ALBUM=${metadata/by-key/album:} [debug] METADATA_GENRE=${metadata/by-key/genre:} [debug] METADATA_DATE=${metadata/by-key/date:} [debug] METADATA_TRACK=${metadata/by-key/track:} [debug] METADATA_COPYRIGHT=${metadata/by-key/copyright:} [debug] INFO_MEDIA_TITLE=${=media-title:} [debug] INFO_STREAM_PATH=${stream-path} ' (flags = 8) Setting option '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}' (flags = 8) Waiting for scripts... [osd/libass] libass API version: 0x1502000 [osd/libass] libass source: commit: 0.15.2-24-gac2ddef8841aa2ff37ca9b83f19f15092d0cacc6 [ipc] Starting IPC master [osd/libass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.1.0 (COMPLEX) [osd/libass] Setting up fonts... [osd/libass] Using font provider directwrite (with GDI) [osd/libass] Done. Set property: shared-script-properties -> 1 Set property: shared-script-properties -> 1 Set property: shared-script-properties -> 1 Set property: shared-script-properties -> 1 [osd/libass] libass API version: 0x1502000 [osd/libass] libass source: commit: 0.15.2-24-gac2ddef8841aa2ff37ca9b83f19f15092d0cacc6 [ipc] Listening to IPC pipe. [osd/libass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.1.0 (COMPLEX) [osd/libass] Setting up fonts... [osd/libass] Using font provider directwrite (with GDI) [osd/libass] Done. Done loading scripts. Running hook: ytdl_hook/on_load [ytdl_hook] ytdl:// hook [ytdl_hook] not a ytdl:// url [ffmpeg] Opening https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html Set property: shared-script-properties -> 1 [ffmpeg] Mime-type: 'text/html; charset=UTF-8' [demux] Trying demuxers for level=normal. [lavf] No format found, try lowering probescore or forcing the format. [demux] Trying demuxers for level=unsafe. [lavf] No format found, try lowering probescore or forcing the format. Opening failed or was aborted: https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html Running hook: ytdl_hook/on_load_fail [ytdl_hook] full hook [ytdl_hook] No youtube-dl found with path C:/Users/Administrateur.ASUS-PC/.smplayer/yt-dlp.exe in config directories [ytdl_hook] Found youtube-dl with path C:/Users/Administrateur.ASUS-PC/.smplayer/yt-dlp.exe in PATH [ytdl_hook] youtube-dl succeeded! Set property: file-local-options/user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.41 Safari/537.36" -> 1 [ytdl_hook] format selection: youtube-dl (single) Set property: stream-open-filename="http://cdn62.my.mail.ru/v/75225143.mp4?slave[]=s%3Ahttp%3A%2F%2F10.146.243.3%3A9091%2Fvideo4%2F75225143-v&p=f&expire_at=1724526000&touch=1663615315&reg=216&sign=6e9ae6793ad6daca57c05de9383ce947bd49a7d2" -> 1 Set property: file-local-options/force-media-title="MYpUvQveB8XRDXdIqfo1d4jXNBbWc84V5dT2R" -> 1 Set property: file-local-options/stream-lavf-o={} -> 1 [ffmpeg] Opening http://cdn62.my.mail.ru/v/75225143.mp4?slave[]=s%3Ahttp%3A%2F%2F10.146.243.3%3A9091%2Fvideo4%2F75225143-v&p=f&expire_at=1724526000&touch=1663615315&reg=216&sign=6e9ae6793ad6daca57c05de9383ce947bd49a7d2 [ffmpeg] http: HTTP error 403 Forbidden [stream] Failed to open http://cdn62.my.mail.ru/v/75225143.mp4?slave[]=s%3Ahttp%3A%2F%2F10.146.243.3%3A9091%2Fvideo4%2F75225143-v&p=f&expire_at=1724526000&touch=1663615315&reg=216&sign=6e9ae6793ad6daca57c05de9383ce947bd49a7d2. Opening failed or was aborted: http://cdn62.my.mail.ru/v/75225143.mp4?slave[]=s%3Ahttp%3A%2F%2F10.146.243.3%3A9091%2Fvideo4%2F75225143-v&p=f&expire_at=1724526000&touch=1663615315&reg=216&sign=6e9ae6793ad6daca57c05de9383ce947bd49a7d2 finished playback, loading failed (reason 4)

Exiting... (Errors when loading file) Set property: shared-script-properties -> 1

Bluey26 commented 2 weeks ago

Hi, do you have the lastest yt-dlp version?

mpv https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html and smplayer https://my.mail.ru/mail/izzahbillerbeck/video/_myvideo/261.html plays the video in here, i would try to download last yt-dlp.exe version and try again.

trimechee commented 2 weeks ago

Hi Mr @Bluey26 , thank you somuch for your great advices :) 💯

normally, as soon as I learn that there is a new version of yt-dlp, I activate the internal updater of yt-dlp of SMPlayer....i will try to make new pdate of yt dlp....

the weird thing at the first attempt I can playback the videos of mail ru in smplayer, then the bug comes back, sometimes if I change the support of websites from auto to mpv, the playback of mail ru works then if I try again it doesn't work....

this bug is also present when I tested with windows 10.... mpv is a powerful media player and should play this video, I tried with mpc-qt and it works with mail ru, on the other hand with mpc be and mpc hc, it doesn't work unless I disable yt-dlp internal support in mpc hc and mpc be to use only 3D youtube source plugin which unfortunately is not compatible with SMPlayer:

https://ys.3dyd.com/

with potplayer and 3D YOUTUBE SOURCE plugin by activating the options cookies, hls..., I can playback the mail ru videos without any bug...

Bluey26 commented 2 weeks ago

I dont know if there is an issue with mpv,smplayer and yt-dlp in windows, but as i said it seems to work in here (linux). I would try to download the video using yt-dlp and waiting until 10% or closer to open the part file with smplayer or mpv (commented in the other issue topic).

trimechee commented 2 weeks ago

Great ! Thank you so much for your precious advices :) 💯 i speak about streaming sites like third media player in this site :

https://french-anime.com/animes-vf/1443-kaiju-n8.html

i tried with to download by detecting media links with cat catch, open in vlc, live stream downloader, stream recorder.....extensions and preview the downaloded part but dowlnoad fail if we preview and it seems we can watch only the dowloaded part when we begin to preview the video with Smplayer then we shoudl close the player and play again the downloaded part....

fdm has sequential download ans we can preview video if we put 1 as number of threds but fdm can"t detet vidmoly videos any more and i need the standard video quaitiéy of this platform..