-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secondary-sub-scale option? #14989
Comments
I use it in such way, too! |
What do you mean? |
|
How? |
Thank you, this could be very useful, but I couldn't get it to work. |
I haven't tested it with .mkv video files or subtitle formats other than .srt. You could test it using a .mp4 video file with .zh.srt and .es.srt subtitle files. If you encounter any issues, feel free to use notdiamond.ai for assistance. |
dualsubs-create.lua takes as input the current primary and secondary subtitles that are visible to you. You don't necessarily need to use dualsubs-init.lua. dualsubs-init.lua and dualsubs-create.lua are two separate lua srcipt. dualsubs-init.lua only serves to make mpv automatically load dual subtitles when starting a video, and has no other purpose. |
I see, so in case I've got four subtitles, it would take only the first two always? Thanks. |
No. It will take subs which you set in primary sub and secondary sub, just what you see in the screen when you play the video. |
Alright, I see what you mean now. Sadly, this does not seem to work with .mkv. After "parsing" the video two times, each for one sub, I guess, it says: |
Expected behavior of the wanted feature
Hello! I've been tinkering with the options to show two subtitles at the same time (which is especially useful for learning new languages, for example); but I have not been able to scale each subtitle separately. So far, I have this:
mpv --sid=4 --secondary-sid=3 --sub-pos=95 --secondary-sub-pos=100 --sub-scale=1 video.mkv
Let's say ID 4 is Chinese, ID 3 is English. Chinese is chosen as primary language, and the idea with --sub-pos=95 is so that it goes above the English, while --secondary-sub-pos=100 is so that English goes below the Chinese.
What I would like to do is have the, in this case, Chinese, be scaled bigger than the English. I have sub-scale=0.500 in my mpv.conf, so --sub-scale=1 would be double, but it seems to scale both subtitles at the same time, which is not what I would like. There does not seem to be a "--secondary-sub-scale" option anywhere, so it seems the default is to scale both, could this option be added? Thank you very much.
Alternative behavior of the wanted feature
No response
Log File
No response
Sample Files
No response
The text was updated successfully, but these errors were encountered: