3a8c938d78283322781acecb7d0864c71844b076
Etc/VideoCapture.md
| ... | ... | @@ -64,11 +64,35 @@ |
| 64 | 64 | |
| 65 | 65 | ## FFmpeg |
| 66 | 66 | - [FFmpeg](http://ffmpeg.org/) |
| 67 | - - [FFmpeg GUI, by Create Software](http://ffmpeg-gui.sourceforge.net/) |
|
| 67 | + - [GitHub](https://github.com/FFmpeg/FFmpeg) |
|
| 68 | + - [Linux Static Builds](https://github.com/BtbN/FFmpeg-Builds/releases) |
|
| 69 | + - [FFmpeg GUI, by Create Software](http://ffmpeg-gui.sourceforge.net/) |
|
| 68 | 70 | - [オプション](https://ffmpeg.org/ffmpeg.html) / [フィルター](https://ffmpeg.org/ffmpeg-filters.html) |
| 69 | - - https://github.com/FFmpeg |
|
| 70 | 71 | - [お気に入りの動画を携帯で見よう](http://blog.k-tai-douga.com/) バイナリの配布 |
| 71 | 72 | - [FFmpeg VP8 Encoding Options](https://sites.google.com/a/webmproject.org/wiki/ffmpeg) |
| 73 | + |
|
| 74 | +### Static Build のインストール |
|
| 75 | +``` |
|
| 76 | +# cd /opt/ |
|
| 77 | +# curl -LO 'https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz' |
|
| 78 | +# tar Jxfv ffmpeg-master-latest-linux64-gpl.tar.xz |
|
| 79 | +# rm ffmpeg-master-latest-linux64-gpl.tar.xz |
|
| 80 | +# cd /usr/bin/ |
|
| 81 | +# ln -s /opt/ffmpeg-master-latest-linux64-gpl/bin/ffmpeg |
|
| 82 | +# ln -s /opt/ffmpeg-master-latest-linux64-gpl/bin/ffplay |
|
| 83 | +# ln -s /opt/ffmpeg-master-latest-linux64-gpl/bin/ffprobe |
|
| 84 | +``` |
|
| 85 | +- Static Build では、インストールされている OpenSSL の CA を参照しないため、明示的に CA ファイルを参照させる |
|
| 86 | + - profile.d, .bashrc |
|
| 87 | + ``` |
|
| 88 | + export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt |
|
| 89 | + ``` |
|
| 90 | + - crontab |
|
| 91 | + ``` |
|
| 92 | + SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt |
|
| 93 | + ``` |
|
| 94 | + |
|
| 95 | +### 使用例 |
|
| 72 | 96 | - PC 用 MP4 を Android 用 MP4 へ変換 |
| 73 | 97 | ``` |
| 74 | 98 | ffmpeg -i %1.mp4 -vcodec libx264 -acodec libvo_aacenc -coder 0 -bf 0 -level 30 %1.mp4 |
Linux/Install/CentOS8.md
| ... | ... | @@ -7,6 +7,7 @@ |
| 7 | 7 | |
| 8 | 8 | alias lsh='ls -agh --no-group --color=auto'
|
| 9 | 9 | alias dfh='df -h'
|
| 10 | + export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt
|
|
| 10 | 11 | ```
|
| 11 | 12 | |
| 12 | 13 | # パッケージ管理システム更新
|