Advertisement
constantin-net

.config/mpv/input.conf

Jun 25th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. #F1 run "/bin/bash" "-c" "echo \"${sub-text}\" | tr -s ' ',',','!','?','.','-','—' '\n' > ~/.config/mpv/sub; /home/amd/.config/mpv/words \"${time-pos}\""
  2. #ENTER cycle pause
  3. F1 run "/bin/bash" "-c" "echo \"${sub-text}\" | tr -s ' ',',','!','?','.','-','—',':' '\\n' > /tmp/sub; ~/.bin/words.sh \"${time-pos}\""
  4. F2 run "/bin/bash" "-c" "echo \"${sub-text}\" | tr -s ' ',',','!','?','.','-','—',':' '\\n' > /tmp/sub; ~/.bin/words2.sh \"${time-pos}\""
  5. F3 run "/bin/bash" "-c" "echo \"${sub-text}\" | tr -s ' ',',','!','?','.','-','—' '\\n' > /tmp/sub; ~/.bin/words3.sh \"${time-pos}\""
  6. F4 run "/bin/bash" "-c" "echo \"${=time-pos}\" > /tmp/webm_start"; show-text "добавлена метка начала \"${time-pos}\""
  7. F5 run "/bin/bash" "-c" "echo \"${=time-pos}\" > /tmp/webm_end"; show-text "добавлена метка конца \"${time-pos}\""
  8. F6 run "/bin/bash" "-c" "mpv --title='PREVIEW' --geometry=640x360 --no-resume-playback --start=`cat /tmp/webm_start` --end=`cat /tmp/webm_end` --loop=inf \"${filename}\" "
  9. F7 run "/usr/bin/xterm" "-e" "/usr/local/sbin/webm_encode \"${filename}\" "; show-text "webm_encode"
  10. F9 run "/bin/bash" "-c" "echo ${sub-text} | tr -s ' ',',','!','?','.','-','—',':' '\\n' > /tmp/sub; ~/.bin/words2.sh \"${time-pos}\""
  11. MOUSE_BTN1 screenshot
  12. ENTER cycle pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement