mpv-player / mpv

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

mpv not play youtube links anymore #13066

Closed Monirzadeh closed 9 months ago

Monirzadeh commented 10 months ago

Important Information

Provide following Information:

Reproduction steps

if i play any youtube link with mpv it is not play anything. yt-dlp easily download video without problem. for example:

mpv "https://www.youtube.com/watch?v=v5tRc_5-8G4"

Expected behavior

start play youtube video

Actual behavior

it not play video and keep for ever running with bellow log

Log file

[cplayer] Command line options: '-v' 'https://www.youtube.com/watch?v=E7prlBHKLiU&pp=ygUNZm9vdCB0ZXJtaW5hbA%3D%3D'
[cplayer] mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Sun Jul 23 05:49:29 2023
[cplayer] libplacebo version: v5.264.1
[cplayer] FFmpeg version: n6.1
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.2.100 (runtime 58.29.100)
[cplayer]    libavcodec      60.3.100 (runtime 60.31.102)
[cplayer]    libavformat     60.3.100 (runtime 60.16.100)
[cplayer]    libswscale      7.1.100 (runtime 7.5.100)
[cplayer]    libavfilter     9.3.100 (runtime 9.12.100)
[cplayer]    libswresample   4.10.100 (runtime 4.12.100)
[cplayer] 
[cplayer] Configuration: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa av-channel-layout avif_muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libplacebo libplacebo-next librt linux-fstatfs luajit manpage-build memfd_create noexecstack pipewire posix posix_shm pulse rubberband rubberband-3 shaderc stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vk_khr_display vt.h vulkan wayland wayland_protocols_1_27 wayland_protocols_1_31 wayland_protocols_1_32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
[file] Opening /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /path/to/mpv.conf
[ifo_dvdnav] Opening /path/to/mpv.conf
[bdmv/bluray] Opening /path/to/mpv.conf
[file] Opening /path/to/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts' = 'osc-visibility=never' (flags = 4)
[cplayer] Setting option 'sub-font' = 'Vazirmatn RD FD Medium' (flags = 4)
[cplayer] Setting option 'sub-font-size' = '50' (flags = 4)
[cplayer] Setting option 'video-unscaled' = 'no' (flags = 4)
[cplayer] Setting option 'sub-border-size' = '1' (flags = 4)
[cplayer] Setting option 'embeddedfonts' = 'no' (flags = 4)
[cplayer] Setting option 'sub-scale-by-window' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-ass-scale-with-window' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-use-margins' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-ass-force-margins' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-auto' = 'exact' (flags = 4)
[cplayer] Setting option 'osd-font' = 'Vazirmatn WOL' (flags = 4)
[cplayer] Setting option 'script-opts' = 'osc-deadzonesize=1' (flags = 4)
[cplayer] Setting option 'script-opts' = 'ytdl_hook-ytdl_path=/bin/yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bestvideo[height<=1080]+bestaudio/best' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[ifo_dvdnav] Opening /path/to/input.conf
[bdmv/bluray] Opening /path/to/input.conf
[file] Opening /path/to/input.conf
[input] Parsing input config file /path/to/input.conf
[input] Input config file /path/to/input.conf parsed: 26 binds
[cplayer] Waiting for scripts...
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[cplayer] Done loading scripts.
[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[cplayer] Loading config '/path/to/destionation/watch_later/4B178F53CA9228D0C0C23CB014983452'
[cplayer] Reading config file /path/to/destionation/watch_later/4B178F53CA9228D0C0C23CB014983452
[ifo_dvdnav] Opening /path/to/destionation/watch_later/4B178F53CA9228D0C0C23CB014983452
[bdmv/bluray] Opening /path/to/destionation/watch_later/4B178F53CA9228D0C0C23CB014983452
[file] Opening /path/to/destionation/watch_later/4B178F53CA9228D0C0C23CB014983452
[cplayer] Applying profile 'default'...
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook 
[ytdl_hook] not a ytdl:// url 
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[ffmpeg] Opening https://www.youtube.com/watch?v=E7prlBHKLiU&pp=ygUNZm9vdCB0ZXJtaW5hbA%3D%3D
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"t":0,"l":0,"r":0,"b":0} -> 1
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
CounterPillow commented 10 months ago

[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.

it's trying to seek in the stream, which is throttled to hell by YouTube.

Monirzadeh commented 10 months ago

i try

mpv -v --no-resume-playback "https://www.youtube.com/watch?v=v5tRc_5-8G4"

but still get this

[cplayer] Command line options: '-v' '--no-resume-playback' 'https://www.youtube.com/watch?v=v5tRc_5-8G4'
[cplayer] mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Sun Jul 23 05:49:29 2023
[cplayer] libplacebo version: v5.264.1
[cplayer] FFmpeg version: n6.1
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.2.100 (runtime 58.29.100)
[cplayer]    libavcodec      60.3.100 (runtime 60.31.102)
[cplayer]    libavformat     60.3.100 (runtime 60.16.100)
[cplayer]    libswscale      7.1.100 (runtime 7.5.100)
[cplayer]    libavfilter     9.3.100 (runtime 9.12.100)
[cplayer]    libswresample   4.10.100 (runtime 4.12.100)
[cplayer] 
[cplayer] Configuration: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa av-channel-layout avif_muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libplacebo libplacebo-next librt linux-fstatfs luajit manpage-build memfd_create noexecstack pipewire posix posix_shm pulse rubberband rubberband-3 shaderc stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vk_khr_display vt.h vulkan wayland wayland_protocols_1_27 wayland_protocols_1_31 wayland_protocols_1_32 x11 xv zimg zimg-st428 zlib
[cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
[bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
[file] Opening /etc/mpv/encoding-profiles.conf
[cplayer] Applying profile 'default'...
[cplayer] Reading config file /path/to/mpv.conf
[ifo_dvdnav] Opening /path/to/mpv.conf
[bdmv/bluray] Opening /path/to/mpv.conf
[file] Opening /path/to/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts' = 'osc-visibility=never' (flags = 4)
[cplayer] Setting option 'sub-font' = 'Vazirmatn RD FD Medium' (flags = 4)
[cplayer] Setting option 'sub-font-size' = '50' (flags = 4)
[cplayer] Setting option 'video-unscaled' = 'no' (flags = 4)
[cplayer] Setting option 'sub-border-size' = '1' (flags = 4)
[cplayer] Setting option 'embeddedfonts' = 'no' (flags = 4)
[cplayer] Setting option 'sub-scale-by-window' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-ass-scale-with-window' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-use-margins' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-ass-force-margins' = 'yes' (flags = 4)
[cplayer] Setting option 'sub-auto' = 'exact' (flags = 4)
[cplayer] Setting option 'osd-font' = 'Vazirmatn WOL' (flags = 4)
[cplayer] Setting option 'script-opts' = 'osc-deadzonesize=1' (flags = 4)
[cplayer] Setting option 'script-opts' = 'ytdl_hook-ytdl_path=/bin/yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bestvideo[height<=1080]+bestaudio/best' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'resume-playback' = 'no' (flags = 8)
[ifo_dvdnav] Opening /path/to/input.conf
[bdmv/bluray] Opening /path/to/input.conf
[file] Opening /path/to/input.conf
[input] Parsing input config file /path/to/input.conf
[input] Input config file /path/to/input.conf parsed: 26 binds
[cplayer] Waiting for scripts...
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/visibility="auto" -> 1
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"t":0,"l":0} -> 1
[cplayer] Done loading scripts.
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook 
[ytdl_hook] not a ytdl:// url 
[ffmpeg] Opening https://www.youtube.com/watch?v=v5tRc_5-8G4
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"t":0,"l":0} -> 1
[osd/libass] libass API version: 0x1701000
[osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"t":0,"l":0} -> 1
[cplayer] Set property: shared-script-properties -> 1
[cplayer] Set property: user-data/osc/margins={"r":0,"b":0,"t":0,"l":0} -> 1
llyyr commented 10 months ago

Upload the full log file, that looks truncated

Monirzadeh commented 10 months ago

Upload the full log file, that looks truncated

how can i get full log? current log use -v

christoph-heinrich commented 10 months ago

how can i get full log?

--log-file=log.txt

Monirzadeh commented 10 months ago

how can i get full log?

--log-file=log.txt

[   0.000][d][global] user path: 'log.txt' -> 'log.txt'
[   0.004][v][cplayer] mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Sun Jul 23 05:49:29 2023
[   0.004][v][cplayer] libplacebo version: v5.264.1
[   0.004][v][cplayer] FFmpeg version: n6.1
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       58.2.100 (runtime 58.29.100)
[   0.004][v][cplayer]    libavcodec      60.3.100 (runtime 60.31.102)
[   0.004][v][cplayer]    libavformat     60.3.100 (runtime 60.16.100)
[   0.004][v][cplayer]    libswscale      7.1.100 (runtime 7.5.100)
[   0.004][v][cplayer]    libavfilter     9.3.100 (runtime 9.12.100)
[   0.004][v][cplayer]    libswresample   4.10.100 (runtime 4.12.100)
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[   0.004][v][cplayer] List of enabled features: alsa av-channel-layout avif_muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libplacebo libplacebo-next librt linux-fstatfs luajit manpage-build memfd_create noexecstack pipewire posix posix_shm pulse rubberband rubberband-3 shaderc stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vk_khr_display vt.h vulkan wayland wayland_protocols_1_27 wayland_protocols_1_31 wayland_protocols_1_32 x11 xv zimg zimg-st428 zlib
[   0.004][v][cplayer] Command line options: '--log-file=log.txt' '--no-resume-playback' 'https://www.youtube.com/watch?v=v5tRc_5-8G4'
[   0.004][v][cplayer] mpv 0.36.0 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
[   0.004][v][cplayer]  built on Sun Jul 23 05:49:29 2023
[   0.004][v][cplayer] libplacebo version: v5.264.1
[   0.004][v][cplayer] FFmpeg version: n6.1
[   0.004][v][cplayer] FFmpeg library versions:
[   0.004][v][cplayer]    libavutil       58.2.100 (runtime 58.29.100)
[   0.004][v][cplayer]    libavcodec      60.3.100 (runtime 60.31.102)
[   0.004][v][cplayer]    libavformat     60.3.100 (runtime 60.16.100)
[   0.004][v][cplayer]    libswscale      7.1.100 (runtime 7.5.100)
[   0.004][v][cplayer]    libavfilter     9.3.100 (runtime 9.12.100)
[   0.004][v][cplayer]    libswresample   4.10.100 (runtime 4.12.100)
[   0.004][v][cplayer] 
[   0.004][v][cplayer] Configuration: -Db_lto=true -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dcaca=disabled -Dcdda=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[   0.004][v][cplayer] List of enabled features: alsa av-channel-layout avif_muxer build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-interop-pl dmabuf-wayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libplacebo libplacebo-next librt linux-fstatfs luajit manpage-build memfd_create noexecstack pipewire posix posix_shm pulse rubberband rubberband-3 shaderc stdatomic threads uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vector vk_khr_display vt.h vulkan wayland wayland_protocols_1_27 wayland_protocols_1_31 wayland_protocols_1_32 x11 xv zimg zimg-st428 zlib
[   0.004][d][global] home path: '' -> '/path/to'
[   0.004][d][global] user path: '~~home/' -> '/path/to'
[   0.004][d][global] user path: '~~old_home/' -> '/path/to/destionation/.mpv'
[   0.004][d][global] config path: 'encoding-profiles.conf' -/-> '/path/to/encoding-profiles.conf'
[   0.004][d][global] config path: 'encoding-profiles.conf' -/-> '/path/to/destionation/.mpv/encoding-profiles.conf'
[   0.004][d][global] config path: 'encoding-profiles.conf' -> '/etc/mpv/encoding-profiles.conf'
[   0.004][v][cplayer] Reading config file /etc/mpv/encoding-profiles.conf
[   0.005][v][ifo_dvdnav] Opening /etc/mpv/encoding-profiles.conf
[   0.005][v][bdmv/bluray] Opening /etc/mpv/encoding-profiles.conf
[   0.005][v][file] Opening /etc/mpv/encoding-profiles.conf
[   0.005][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.005][d][file] Stream opened successfully.
[   0.006][v][cplayer] Applying profile 'default'...
[   0.006][d][global] config path: 'mpv.conf' -> '/path/to/mpv.conf'
[   0.006][d][global] config path: 'config' -/-> '/path/to/config'
[   0.006][d][global] config path: 'mpv.conf' -/-> '/path/to/destionation/.mpv/mpv.conf'
[   0.006][d][global] config path: 'config' -/-> '/path/to/destionation/.mpv/config'
[   0.006][d][global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'
[   0.006][d][global] config path: 'config' -/-> '/etc/mpv/config'
[   0.006][v][cplayer] Reading config file /path/to/mpv.conf
[   0.006][v][ifo_dvdnav] Opening /path/to/mpv.conf
[   0.006][v][bdmv/bluray] Opening /path/to/mpv.conf
[   0.006][v][file] Opening /path/to/mpv.conf
[   0.006][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.006][d][file] Stream opened successfully.
[   0.006][v][cplayer] Applying profile 'default'...
[   0.006][v][cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[   0.006][v][cplayer] Setting option 'script-opts' = 'osc-visibility=never' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-font' = 'Vazirmatn RD FD Medium' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-font-size' = '50' (flags = 4)
[   0.006][v][cplayer] Setting option 'video-unscaled' = 'no' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-border-size' = '1' (flags = 4)
[   0.006][v][cplayer] Setting option 'embeddedfonts' = 'no' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-scale-by-window' = 'yes' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-ass-scale-with-window' = 'yes' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-use-margins' = 'yes' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-ass-force-margins' = 'yes' (flags = 4)
[   0.006][v][cplayer] Setting option 'sub-auto' = 'exact' (flags = 4)
[   0.006][v][cplayer] Setting option 'osd-font' = 'Vazirmatn WOL' (flags = 4)
[   0.006][v][cplayer] Setting option 'script-opts' = 'osc-deadzonesize=1' (flags = 4)
[   0.006][v][cplayer] Setting option 'script-opts' = 'ytdl_hook-ytdl_path=/bin/yt-dlp' (flags = 4)
[   0.006][v][cplayer] Setting option 'ytdl-format' = 'bestvideo[height<=1080]+bestaudio/best' (flags = 4)
[   0.006][v][cplayer] Setting option 'log-file' = 'log.txt' (flags = 8)
[   0.006][v][cplayer] Setting option 'resume-playback' = 'no' (flags = 8)
[   0.008][d][global] config path: 'input.conf' -> '/path/to/input.conf'
[   0.008][d][global] config path: 'input.conf' -/-> '/path/to/destionation/.mpv/input.conf'
[   0.008][d][global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'
[   0.008][d][global] user path: '/path/to/input.conf' -> '/path/to/input.conf'
[   0.008][v][ifo_dvdnav] Opening /path/to/input.conf
[   0.008][v][bdmv/bluray] Opening /path/to/input.conf
[   0.008][v][file] Opening /path/to/input.conf
[   0.008][d][file] resize stream to 131072 bytes, drop 0 bytes
[   0.008][d][file] Stream opened successfully.
[   0.008][v][input] Parsing input config file /path/to/input.conf
[   0.008][v][input] Input config file /path/to/input.conf parsed: 26 binds
[   0.008][d][global] user path: 'log.txt' -> 'log.txt'
[   0.009][d][osc] Loading lua script @osc.lua...
[   0.009][d][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.009][d][stats] Loading lua script @stats.lua...
[   0.009][d][console] Loading lua script @console.lua...
[   0.009][d][auto_profiles] Loading lua script @auto_profiles.lua...
[   0.009][d][osc] loading mp.defaults
[   0.009][d][ytdl_hook] loading mp.defaults
[   0.009][d][stats] loading mp.defaults
[   0.009][d][console] loading mp.defaults
[   0.009][d][auto_profiles] loading mp.defaults
[   0.010][d][global] config path: 'scripts' -> '/path/to/scripts'
[   0.010][d][global] config path: 'scripts' -/-> '/path/to/destionation/.mpv/scripts'
[   0.010][d][global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[   0.010][d][lytrics] Loading lua script /path/to/scripts/lytrics.lua...
[   0.010][d][reload] Loading lua script /path/to/scripts/reload.lua...
[   0.010][d][osc] loading @osc.lua
[   0.010][d][ytdl_hook] loading @ytdl_hook.lua
[   0.012][d][lytrics] loading mp.defaults
[   0.012][v][cplayer] Waiting for scripts...
[   0.012][d][stats] loading @stats.lua
[   0.012][d][console] loading @console.lua
[   0.012][d][auto_profiles] loading @auto_profiles.lua
[   0.012][d][reload] loading mp.defaults
[   0.012][d][lytrics] loading file /path/to/scripts/lytrics.lua
[   0.012][d][console] reading options for console 
[   0.012][d][ytdl_hook] reading options for ytdl_hook 
[   0.012][d][global] config path: 'script-opts/console.conf' -/-> '/path/to/script-opts/console.conf'
[   0.012][d][reload] loading file /path/to/scripts/reload.lua
[   0.012][d][global] config path: 'script-opts/console.conf' -/-> '/path/to/destionation/.mpv/script-opts/console.conf'
[   0.012][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/path/to/script-opts/ytdl_hook.conf'
[   0.012][d][global] config path: 'script-opts/console.conf' -/-> '/etc/mpv/script-opts/console.conf'
[   0.012][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/path/to/destionation/.mpv/script-opts/ytdl_hook.conf'
[   0.012][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/etc/mpv/script-opts/ytdl_hook.conf'
[   0.012][d][console] script-opts/console.conf not found. 
[   0.012][d][ytdl_hook] script-opts/ytdl_hook.conf not found. 
[   0.012][d][global] config path: 'lua-settings/console.conf' -/-> '/path/to/lua-settings/console.conf'
[   0.012][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/path/to/lua-settings/ytdl_hook.conf'
[   0.012][d][global] config path: 'lua-settings/console.conf' -/-> '/path/to/destionation/.mpv/lua-settings/console.conf'
[   0.012][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/path/to/destionation/.mpv/lua-settings/ytdl_hook.conf'
[   0.012][d][global] config path: 'lua-settings/console.conf' -/-> '/etc/mpv/lua-settings/console.conf'
[   0.012][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/etc/mpv/lua-settings/ytdl_hook.conf'
[   0.012][d][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.012][d][console] lua-settings/console.conf not found. 
[   0.012][d][cplayer] Run command: define-section, flags=64, args=[name="input_reload", contents="R script-binding reload/reload\n", flags="default"]
[   0.012][d][cplayer] Run command: enable-section, flags=64, args=[name="input_reload", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.012][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_reload", contents="", flags="force"]
[   0.013][d][stats] reading options for stats 
[   0.013][d][global] config path: 'script-opts/stats.conf' -/-> '/path/to/script-opts/stats.conf'
[   0.013][d][global] config path: 'script-opts/stats.conf' -/-> '/path/to/destionation/.mpv/script-opts/stats.conf'
[   0.013][d][global] config path: 'script-opts/stats.conf' -/-> '/etc/mpv/script-opts/stats.conf'
[   0.013][d][stats] script-opts/stats.conf not found. 
[   0.013][d][global] config path: 'lua-settings/stats.conf' -/-> '/path/to/lua-settings/stats.conf'
[   0.013][d][global] config path: 'lua-settings/stats.conf' -/-> '/path/to/destionation/.mpv/lua-settings/stats.conf'
[   0.013][d][global] config path: 'lua-settings/stats.conf' -/-> '/etc/mpv/lua-settings/stats.conf'
[   0.013][d][stats] lua-settings/stats.conf not found. 
[   0.013][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_reload", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.013][d][global] config path: 'fonts' -/-> '/path/to/fonts'
[   0.013][d][global] config path: 'fonts' -/-> '/path/to/destionation/.mpv/fonts'
[   0.013][d][global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[   0.013][d][osd/libass] ASS library version: 0x1701000 (runtime 0x1701000)
[   0.013][v][osd/libass] libass API version: 0x1701000
[   0.013][v][osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[   0.013][d][osc] reading options for osc 
[   0.013][d][global] config path: 'script-opts/osc.conf' -/-> '/path/to/script-opts/osc.conf'
[   0.013][d][global] config path: 'script-opts/osc.conf' -/-> '/path/to/destionation/.mpv/script-opts/osc.conf'
[   0.013][d][global] config path: 'script-opts/osc.conf' -/-> '/etc/mpv/script-opts/osc.conf'
[   0.013][d][osc] script-opts/osc.conf not found. 
[   0.013][d][global] config path: 'lua-settings/osc.conf' -/-> '/path/to/lua-settings/osc.conf'
[   0.013][d][global] config path: 'lua-settings/osc.conf' -/-> '/path/to/destionation/.mpv/lua-settings/osc.conf'
[   0.013][d][global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf'
[   0.013][d][osc] lua-settings/osc.conf not found. 
[   0.013][v][osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[   0.013][d][global] config path: 'subfont.ttf' -/-> '/path/to/subfont.ttf'
[   0.013][d][auto_profiles] Exiting...
[   0.013][d][global] config path: 'subfont.ttf' -/-> '/path/to/destionation/.mpv/subfont.ttf'
[   0.014][d][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[   0.014][d][global] config path: 'fonts.conf' -/-> '/path/to/fonts.conf'
[   0.014][d][global] config path: 'fonts.conf' -/-> '/path/to/destionation/.mpv/fonts.conf'
[   0.014][d][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'
[   0.014][v][osd/libass] Setting up fonts...
[   0.022][v][osd/libass] Using font provider fontconfig
[   0.022][v][osd/libass] Done.
[   0.023][d][cplayer] Run command: define-section, flags=64, args=[name="input_stats", contents="", flags="default"]
[   0.023][d][cplayer] Run command: enable-section, flags=64, args=[name="input_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.023][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_stats", contents="", flags="force"]
[   0.023][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.023][d][cplayer] Run command: define-section, flags=64, args=[name="input_console", contents="", flags="default"]
[   0.023][d][cplayer] Run command: enable-section, flags=64, args=[name="input_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.023][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_console", contents="", flags="force"]
[   0.023][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.024][d][cplayer] Run command: define-section, flags=64, args=[name="showhide", contents="mouse_move script-binding osc/__keybinding1\nmouse_leave script-binding osc/__keybinding2\n", flags="force"]
[   0.024][d][cplayer] Run command: define-section, flags=64, args=[name="showhide_wc", contents="mouse_move script-binding osc/__keybinding3\nmouse_leave script-binding osc/__keybinding4\n", flags="force"]
[   0.024][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.024][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide_wc", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.024][d][cplayer] Run command: define-section, flags=64, args=[name="input", contents="mbtn_left script-binding osc/__keybinding5\nshift+mbtn_left script-binding osc/__keybinding6\nmbtn_right script-binding osc/__keybinding7\nmbtn_mid script-binding osc/__keybinding8\nwheel_up script-binding osc/__keybinding9\nwheel_down script-binding osc/__keybinding10\nmbtn_left_dbl ignore\nshift+mbtn_left_dbl ignore\nmbtn_right_dbl ignore\n", flags="force"]
[   0.024][d][cplayer] Run command: enable-section, flags=64, args=[name="input", flags=""]
[   0.024][d][cplayer] Run command: define-section, flags=64, args=[name="window-controls", contents="mbtn_left script-binding osc/__keybinding11\n", flags="force"]
[   0.024][d][cplayer] Run command: enable-section, flags=64, args=[name="window-controls", flags=""]
[   0.024][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-visibility=auto"]
[   0.024][v][cplayer] Set property: shared-script-properties -> 1
[   0.024][v][cplayer] Set property: user-data/osc/visibility="auto" -> 1
[   0.024][d][cplayer] Run command: disable-section, flags=64, args=[name="input"]
[   0.024][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"]
[   0.024][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-margins=0.000000,0.000000,0.000000,0.000000"]
[   0.024][v][cplayer] Set property: shared-script-properties -> 1
[   0.024][v][cplayer] Set property: user-data/osc/margins={"l":0,"r":0,"b":0,"t":0} -> 1
[   0.024][v][cplayer] Done loading scripts.
[   0.024][v][cplayer] Running hook: ytdl_hook/on_load
[   0.025][v][ytdl_hook] ytdl:// hook 
[   0.025][v][ytdl_hook] not a ytdl:// url 
[   0.025][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-margins=0.000000,0.000000,0.000000,0.000000"]
[   0.025][v][cplayer] Set property: shared-script-properties -> 1
[   0.025][v][ffmpeg] Opening https://www.youtube.com/watch?v=v5tRc_5-8G4
[   0.025][v][cplayer] Set property: user-data/osc/margins={"l":0,"r":0,"b":0,"t":0} -> 1
[   0.025][d][osc] osc_init 
[   0.025][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-margins=0.000000,0.000000,0.000000,0.000000"]
[   0.025][v][cplayer] Set property: shared-script-properties -> 1
[   0.025][v][cplayer] Set property: user-data/osc/margins={"l":0,"r":0,"b":0,"t":0} -> 1
[   0.025][d][global] config path: 'fonts' -/-> '/path/to/fonts'
[   0.025][d][global] config path: 'fonts' -/-> '/path/to/destionation/.mpv/fonts'
[   0.025][d][global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[   0.025][d][osd/libass] ASS library version: 0x1701000 (runtime 0x1701000)
[   0.025][v][osd/libass] libass API version: 0x1701000
[   0.025][v][osd/libass] libass source: commit: 0.17.1-0-ge8ad72accd3a84268275a9385beb701c9284e5b3-dirty
[   0.025][v][osd/libass] Shaper: FriBidi 1.0.13 (SIMPLE) HarfBuzz-ng 8.3.0 (COMPLEX)
[   0.025][d][global] config path: 'subfont.ttf' -/-> '/path/to/subfont.ttf'
[   0.025][d][global] config path: 'subfont.ttf' -/-> '/path/to/destionation/.mpv/subfont.ttf'
[   0.025][d][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[   0.025][d][global] config path: 'fonts.conf' -/-> '/path/to/fonts.conf'
[   0.025][d][global] config path: 'fonts.conf' -/-> '/path/to/destionation/.mpv/fonts.conf'
[   0.025][d][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'
[   0.025][v][osd/libass] Setting up fonts...
[   0.034][v][osd/libass] Using font provider fontconfig
[   0.034][v][osd/libass] Done.
[   0.034][d][cplayer] Run command: define-section, flags=64, args=[name="input_osc", contents="", flags="default"]
[   0.034][d][cplayer] Run command: enable-section, flags=64, args=[name="input_osc", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.035][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_osc", contents="", flags="force"]
[   0.035][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_osc", flags="allow-hide-cursor+allow-vo-dragging"]
Dudemanguy commented 9 months ago

Is this still a problem? The link plays for me. Your full log doesn't look like the entire output either...

Monirzadeh commented 9 months ago

I found the problem. I have some DNS proxy active that cause the problem. When I disabled DNS proxy, everything works fine.

Monirzadeh commented 9 months ago

@Dudemanguy should we reopen this or open issue to fix this?

llyyr commented 9 months ago

mpv can't fix your broken or misconfigured dns proxy, and we also aren't Linux tech support. Ask elsewhere