mpv-player / mpv

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

watch-later-options missing secondary subtitle delay and sid #14417

Closed low-batt closed 3 months ago

low-batt commented 3 months ago

mpv Information

low-batt@gag mpv-build (master %=)$ mpv/build/mpv --version
mpv v0.38.0-523-ge5d85704a3 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Jun 22 2024 14:01:44
libplacebo version: v7.349.0 (v7.349.0-rc1-3-g1fd3c7bd)
FFmpeg version: n7.0.1
FFmpeg library versions:
   libavcodec      61.3.100
   libavdevice     61.1.100
   libavfilter     10.1.100
   libavformat     61.1.100
   libavutil       59.8.100
   libswresample   5.1.100
   libswscale      8.1.100

Other Information

Reproduction Steps

Run:

mpv --no-config -help=watch-later-options

And inspect the default value shown in the output

Expected Behavior

I was expecting the default value for watch-later-options to contain the corresponding secondary subtitle options (when they exist) for any primary subtitle options in the default value.

Actual Behavior

Running this command in Terminal on a Mac:

mpv --no-config -help=watch-later-options | grep 'default:' | sed 's/.*(default: //; s/).*//' | sed -e $'s/,/\\\n/g' | sort

Provides an easy to read list of the options contained in the default value for watch-later-options:

watch-later-options default: ```text low-batt@gag mpv-build (master %=)$ mpv/build/mpv --no-config -help=watch-later-options | grep 'default:' | sed 's/.*(default: //; s/).*//' | sed -e $'s/,/\\\n/g' | sort ab-loop-a ab-loop-b af aid audio-delay brightness contrast deinterlace edition gamma hue mute panscan saturation secondary-sub-ass-override secondary-sub-pos secondary-sub-visibility sid speed start sub-ass-force-margins sub-ass-override sub-ass-vsfilter-aspect-compat sub-delay sub-pos sub-scale sub-speed sub-use-margins sub-visibility vf vid video-align-x video-align-y video-aspect-method video-aspect-override video-crop video-pan-x video-pan-y video-rotate video-scale-x video-scale-y video-unscaled video-zoom volume low-batt@gag mpv-build (master %=)$ ```

The following secondary subtitle options are present:

secondary-sub-ass-override
secondary-sub-pos
secondary-sub-visibility

But secondary-sub-delay and secondary-sid are missing.

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following: