diff options
Diffstat (limited to 'content')
| -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 |
