mpv-player / mpv

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

SRT subtitles to be covered by a blank bottom black edge when video-sync is configured #9937

Closed kingwwh closed 2 years ago

kingwwh commented 2 years ago

Important Information

Provide following Information:

Reproduction steps

Enabling the "video-sync = display-resample" configuration will cause the SRT subtitles to be covered by a blank black edge when moving down.It's normal without any configuration. screenshot

Expected behavior

Fix bug

Actual behavior

Fix bug

Log file

Make a log file made with -v -v or --log-file=output.txt, paste it to https://0x0.st/ or attach it to the github issue, and replace this text with a link to it.

The issue will be closed for ignoring the issue template.

Sample files

Sample files needed to reproduce this issue can be uploaded to https://0x0.st/ or similar sites. (Only needed if the issue cannot be reproduced without it.) Do not use garbage like "cloud storage", especially not Google Drive.

kingwwh commented 2 years ago
conf

Configuration above

zhongfly commented 2 years ago

Configuration above

upload configuration or paste will be better than a picture

and please follow the issue template

maybe duplicate of https://github.com/mpv-player/mpv/issues/9923 and https://github.com/mpv-player/mpv/issues/9928

kingwwh commented 2 years ago

priority=high priority:ignored-issue-template input-ipc-server=mpvpipe

ontop save-position-on-quit keep-open=yes msg-level=all=debug no-border

fs

autofit-larger=100%x95% cursor-autohide-fs-only cursor-autohide=1000 no-input-default-bindings

profile=gpu-hq vo=gpu-next gpu-context=d3d11 hwdec=d3d11va-copy hwdec-codecs=all deband=no video-sync=display-resample video-sync-max-video-change=5

kingwwh commented 2 years ago

Remove the configuration in the red box, the subtitle is completely displayed, but the video is torn shot2

1Naim commented 2 years ago

Can reproduce with the video from issue #9928. For some reason, commenting out video-sync makes subtitles visible in the black bars (it's not supposed to, right?)

hooke007 commented 2 years ago

It cannot be rendered in the blackbar https://github.com/mpv-player/mpv/pull/9870#issuecomment-1046040009

1Naim commented 2 years ago

image This screenshot apparently says otherwise (screenshot taken with sharex because it'll show the subtitles regardless if the screenshot was taken with mpv)

Log file for what it's worth

kingwwh commented 2 years ago

Set vo=gpu makes subtitles visible in the black bars,vo=gpu-next is invisible; But vo=gpu-next support Dolby vision, yet vo=gpu the color of dovi video will occur deviation

kingwwh commented 2 years ago

So these are contradictory.