diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-20 16:38:11 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-20 16:38:11 +0200 |
| commit | d25eb1159e10ddf6c9a6c17909580f08cd132d17 (patch) | |
| tree | 76d00687a81fc4e7b83cc58bdc848c1b73197370 /content/pages | |
| parent | cbc16bcd3819e516092dd7c678297777c09136dd (diff) | |
| download | mitjafelicijan.com-d25eb1159e10ddf6c9a6c17909580f08cd132d17.tar.gz | |
Patse: convert mkv
Diffstat (limited to 'content/pages')
| -rwxr-xr-x | content/pages/pastebin.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/content/pages/pastebin.md b/content/pages/pastebin.md index 675accc..fe9c4e1 100755 --- a/content/pages/pastebin.md +++ b/content/pages/pastebin.md | |||
| @@ -7,6 +7,18 @@ draft: false | |||
| 7 | 7 | ||
| 8 | *No additional explanation provided here. Use blog for more detailed stuff.* | 8 | *No additional explanation provided here. Use blog for more detailed stuff.* |
| 9 | 9 | ||
| 10 | **▒ Convert all MKV files into WebM format** | ||
| 11 | |||
| 12 | ```sh | ||
| 13 | find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" -vcodec libvpx -acodec libvorbis -cpu-used 5 -threads 8 "${0%%.mp4}.webm"' {} \; | ||
| 14 | ``` | ||
| 15 | |||
| 16 | **▒ Convert all MKV files into MP4 format** | ||
| 17 | |||
| 18 | ```sh | ||
| 19 | find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" c:a copy -c:v copy -cpu-used 5 -threads 8 "${0%%.mp4}.mp4"' {} \; | ||
| 20 | ``` | ||
| 21 | |||
| 10 | **▒ Download list of YouTube files** | 22 | **▒ Download list of YouTube files** |
| 11 | 23 | ||
| 12 | ```js | 24 | ```js |
