문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
linux:video [2015/10/05 01:43] kwon37xi [smi2srt] |
linux:video [2020/07/17 15:35] kwon37xi |
||
---|---|---|---|
줄 30: | 줄 30: | ||
println "crop left and right ${crop / 2}px" | println "crop left and right ${crop / 2}px" | ||
</ | </ | ||
+ | * 혹은 '' | ||
+ | # | ||
+ | import sys | ||
- | ====== | + | width = int(sys.argv[1]) |
+ | height | ||
+ | |||
+ | if width/ | ||
+ | print 'no need to crop' | ||
+ | |||
+ | crop = width - (16.0 / 9.0 * height) | ||
+ | print(' | ||
+ | </ | ||
+ | |||
+ | ===== smi2srt | ||
* [[http:// | * [[http:// | ||
sudo apt-get install libsubtitles-perl | sudo apt-get install libsubtitles-perl | ||
줄 53: | 줄 66: | ||
read -p "Press Enter." | read -p "Press Enter." | ||
</ | </ | ||
- | * [[linux: | + | * [[linux: |
[Nemo Action] | [Nemo Action] | ||
Name=SMI to SRT | Name=SMI to SRT | ||
줄 61: | 줄 74: | ||
Extensions=smi | Extensions=smi | ||
</ | </ | ||
+ | * SRT가 '' | ||
+ | [Nemo Action] | ||
+ | Name=EUC-KR SRT to UTF-8 SRT | ||
+ | Comment=EUC-KR SRT to UTF-8 SRT | ||
+ | Exec=gnome-terminal -x sh -c "iconv -f euc-kr -t utf8 ' | ||
+ | Selection=Any | ||
+ | Extensions=srt | ||
+ | </ | ||
+ | |||
+ | ===== Video Background ===== | ||
+ | * [[https:// | ||
+ |