Help me to fix this config
os:win
### mpv Information
```bash
mpv v0.41.0-dev-g2d5dfb343 Copyright © 2000-2026 mpv/MPlayer/mplayer2 projects
built on Jun 18 2026 03:45:40
libplacebo version: v7.365.0
FFmpeg version: bd98801
FFmpeg library versions:
libavcodec 62.28.100
libavdevice 62.3.100
libavfilter 11.14.100
libavformat 62.12.100
libavutil 60.26.100
libswresample 6.3.100
libswscale 9.5.100
```
### Other Information
```text
- Windows version: 10
- GPU model, driver and version:
- Source of mpv:
- Latest known working version:
- Issue started after the following happened:
```
### Reproduction Steps
```
# Launch mpv maximized (not fullscreen)
window-maximized=yes
# Show file name in title bar instead of media title
title="${filename}"
# Start mpv at 50% volume and hide the horizontal volume bar
volume=50
osd-bar=no
# Show media length instead of remaining time
script-opts=osc-timetotal=yes
# Repeat current file forever
loop-file=inf
# 🎬 MPC-HC style subtitles
sub-font="Arial" # Use Arial font
sub-font-size=25 # Font size 25px
sub-bold=yes # Force bold text
sub-border-size=0 # No border outline
sub-border-color="#000000" # Border color black (unused since size=0)
sub-shadow-offset=1.5 # Shadow distance = 1.5
sub-shadow-color="#C0000000" # Black shadow @ 75% opacity (C0 = alpha)
sub-use-margins=no # Position relative to video frame, not black bars
sub-margin-y=25 # Distance from bottom = 25px
sub-scale-by-window=yes # Scale subs with window size
sub-ass-override=force # Disable embedded ASS/SSA styles, enforce config
# Integrate yt-dlp hook path
script-opts=ytdl_hook-ytdl_path="C:\Users\BIBHAS\Downloads\yt-dlp.exe"
# yt-dlp codec selection logic
# VP9.2 → VP9 → H265 → H264
# Resolution capped at 1080p
# EAC3 → AC3 → AAC → Opus
# Final /best fallback
ytdl-format=(bv[vcodec*=vp9.2][height<=1080]/bv[vcodec*=vp9][height<=1080]/bv[vcodec*=hev1][height<=1080]/bv[vcodec*=hvc1][height<=1080]/bv[vcodec*=avc1][height<=1080]/bv[height<=1080]/bv)+(ba[acodec*=eac3]/ba[acodec*=eac-3]/ba[acodec*=ec-3]/ba[acodec*=ac3]/ba[acodec*=ac-3]/ba[acodec*=mp4a]/ba[acodec*=aac]/ba[acodec*=opus]/ba)/best
# Use fast profile for efficient playback
profile=fast
# Use Direct3D 11 Video Acceleration (native mode)
hwdec=d3d11va
### Expected Behavior
osc timetotal and ytdl hook path should work together.
### Actual Behavior
osc timetotal and ytdl hook path not working tother. If I remove ytdl hook then osc timetotal works.
How to use both?
### Log File
I don't know. I'm new user.
### Sample Files
_No response_
### I carefully read all instruction and confirm that I did the following:
- [x] I tested and confirmed that the issue exists with the [latest release version](https://github.com/mpv-player/mpv/releases/latest) or newer.
- [x] I provided all required information including system and mpv version.
- [x] I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of `--log-file=output.txt`.
- [x] I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- [x] I attached the full, untruncated log file.
- [x] I attached the backtrace in the case of a crash.
2 条评论