문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
linux:video [2015/10/05 00:57] kwon37xi [smi2srt] |
linux:video [2023/06/05 16:30] (현재) kwon37xi |
||
|---|---|---|---|
| 줄 2: | 줄 2: | ||
| * [[linux: | * [[linux: | ||
| + | * [[: | ||
| + | * [[linux: | ||
| + | * [[linux: | ||
| + | * [[linux: | ||
| * [[linux: | * [[linux: | ||
| * [[linux: | * [[linux: | ||
| + | * [[linux: | ||
| * [[: | * [[: | ||
| - | * Handbrake : 손쉬운 동영상 변환기 | + | * [[linux: |
| + | * [[linux: | ||
| + | |||
| + | ===== 동영상 편집 ===== | ||
| + | * [[linux: | ||
| + | * [[linux: | ||
| + | * [[linux: | ||
| + | |||
| + | ===== 방송 ===== | ||
| + | * [[linux: | ||
| + | |||
| + | ===== Live Stream 녹화 ===== | ||
| + | * [[https:// | ||
| + | * [[: | ||
| + | * [[youtube: | ||
| + | |||
| + | <code sh> | ||
| + | # 단순히 아래 명령만으로도 충분히 잘 녹화된다. Ctrl-C 를 눌러 종료한다. | ||
| + | youtube-dl "< | ||
| + | </ | ||
| ===== 자막 합치기 ===== | ===== 자막 합치기 ===== | ||
| <code sh> | <code sh> | ||
| 줄 30: | 줄 54: | ||
| 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 | ||
| 줄 45: | 줄 82: | ||
| iconv -f euc-kr -t utf8 -c 파일명1 > 파일명2 | iconv -f euc-kr -t utf8 -c 파일명1 > 파일명2 | ||
| </ | </ | ||
| - | * 위 명령을 스크립트 파일로 만들어두기 '' | + | * 위 명령을 스크립트 파일로 만들어두기 '' |
| #!/bin/sh | #!/bin/sh | ||
| fn=$(basename " | fn=$(basename " | ||
| dn=$(dirname " | dn=$(dirname " | ||
| targetname=" | targetname=" | ||
| - | echo " | ||
| subs -c srt " | subs -c srt " | ||
| read -p "Press Enter." | read -p "Press Enter." | ||
| </ | </ | ||
| - | * [[linux: | + | * [[linux: |
| [Nemo Action] | [Nemo Action] | ||
| Name=SMI to SRT | Name=SMI to SRT | ||
| 줄 62: | 줄 98: | ||
| 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 | ||
| + | </ | ||
| + | |||
| + | ===== 바탕화면을 동영상으로 만들기 ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | |||