-
Notifications
You must be signed in to change notification settings - Fork 15
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
change mplayer #56
Comments
Hi, this might help: For mpv you can use Same for vlc or any other video player ofc.^ (Unfortunately, you can't specify multiple players right now…) |
Here's our own little script for launching mpv from Subtitle Editor.
Recommended Command: bash [script-path] "#video_file" "#subtitle_file" "#time" The actual script: #!/usr/bin/env bash
LENGTH_MS=10000
pkill mpv
END="$(date -d @"$(date -d "$3" +"%s%3N + $LENGTH_MS" | bc | awk ' { print substr( $0, 0, length($0)-3 ) } ')" +"%H:%M:%S.$(echo "$3" | awk ' { print substr( $0, length($0)-2, length($0) ) } ')")"
mpv "$1" --sub-file="$2" --start="$3" --ab-loop-a="$3" --ab-loop-b="$END" --force-window="yes" --sub-scale="0.35" --sub-pos="65" --sub-back-color="0.0/0.0/0.0/1.0" --osd-level="2" --osd-fractions="yes" --osd-font-size="16" --osd-margin-x="154" --osd-margin-y="475" --title="%NOFOCUS%%SCREEN2%" (The |
hello could you detaing how to sed mpv or vlc by default please ?
The text was updated successfully, but these errors were encountered: