ks-tools/README.md

157 lines
8.0 KiB
Markdown
Raw Normal View History

2021-03-22 19:08:09 +01:00
ks-tools - Tools for upload, convert and crop/mix video/audio files.
====================================================================
2021-03-06 12:54:06 +01:00
### Documentation:
2021-04-17 22:51:20 +02:00
* `Tools for upload:`
2021-03-06 12:54:06 +01:00
2024-05-01 11:26:47 +02:00
* [ks-upv](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upv.md) - Upload video file(s) to server with scp or rsync.
* [ks-upa](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upa.md) - Upload audio file(s) to server with scp or rsync.
* [ks-upf](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upf.md) - Upload common file(s) to server with scp or rsync.
* [ks-upr](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-upr.md) - Upload recursively file(s) to server with scp or rsync.
2021-03-06 12:54:06 +01:00
2021-04-17 22:51:20 +02:00
* `Tools for convert video:`
2021-03-06 12:54:06 +01:00
2024-05-01 11:26:47 +02:00
* [ks-mp4](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4.md) - Convert video file to compact and efficient MP4 (libx264 + aac).
* [ks-mp4k](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4k.md) - Convert video file to compact and efficient MP4 (4K).
* [ks-mp4s](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s.md) - Convert video file to compact and efficient MP4 (Series).
* [ks-mp4s-folder](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s-folder.md) - Convert videos from folder to MP4 format (Series).
* [ks-avi](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-avi.md) - Convert video file to compact and efficient AVI (libxvid + mp3).
* [ks-vob](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-vob.md) - Convert video file to VOB (DVD splitet) format.
* [ks-av1](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1.md) - Convert video file to compact and efficient AV1 codec (libsvtav1 + libvorbis).
* [ks-av1s](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s.md) - Convert video file to compact and efficient AV1 codec (Series).
* [ks-av1s-folder](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s-folder.md) - Convert videos from folder to AV1 codec (Series).
2021-03-06 12:54:06 +01:00
2021-04-17 22:51:20 +02:00
* `Tools for convert audio:`
2021-03-06 12:54:06 +01:00
2024-05-01 11:26:47 +02:00
* [ks-oga](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-oga.md) - Convert video/audio file to OGA (OGG Audio) Format.
* [ks-oga-album](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-oga-album.md) - Convert folder album to OGA (OGG Audio) Format.
* [ks-mp3](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp3.md) - Convert video/audio file to MP3 Audio Format.
* [ks-mp3-album](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp3-album.md) - Convert folder album to MP3 Audio Format.
2021-03-06 12:54:06 +01:00
2021-04-17 22:51:20 +02:00
* `Tools for crop/mix video/audio:`
2021-03-06 12:54:06 +01:00
2024-05-01 11:26:47 +02:00
* [ks-mix](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mix.md) - Extract video/audio and mix video/audio files.
* [ks-crop](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-crop.md) - Crop or change aspect ratio of a video.
2021-03-06 12:54:06 +01:00
2022-01-02 16:39:06 +01:00
* `Wrappers/Configuration:`
2021-03-06 12:54:06 +01:00
2024-05-01 11:26:47 +02:00
* [ks-mp4-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4-wrapper.md) - Wrapper for ks-mp4 to create graphical interfaces.
* [ks-mp4k-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4k-wrapper.md) - Wrapper for ks-mp4k to create graphical interfaces.
* [ks-mp4s-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-mp4s-wrapper.md) - Wrapper for ks-mp4s to create graphical interfaces.
* [ks-avi-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-avi-wrapper.md) - Wrapper for ks-avi to create graphical interfaces.
* [ks-vob-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-vob-wrapper.md) - Wrapper for ks-vob to create graphical interfaces.
* [ks-av1-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1-wrapper.md) - Wrapper for ks-av1 to create graphical interfaces.
* [ks-av1s-wrapper](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-av1s-wrapper.md) - Wrapper for ks-av1s to create graphical interfaces.
* [ks-conf](https://git.q3aql.dev/q3aql/ks-tools/src/branch/main/doc/ks-conf.md) - Tool for create and modify all configuration files.
2021-03-06 12:54:06 +01:00
### Installation:
2023-03-10 19:46:37 +01:00
* **GNU/Linux:**
2021-04-18 00:27:13 +02:00
2023-03-10 19:46:37 +01:00
* Install dependencies **(for Arch Linux)**:
2023-05-22 16:15:35 +02:00
sudo pacman -Syu git make expect rsync openssh sshpass grep coreutils binutils bc
2023-03-10 19:54:32 +01:00
2023-03-10 19:46:37 +01:00
* Install dependencies **(for Ubuntu/Debian)**:
2023-05-22 16:15:35 +02:00
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils bc
2023-03-10 19:46:37 +01:00
* Install dependencies **(for Fedora)**:
2023-05-22 16:15:35 +02:00
sudo dnf install git make expect rsync openssh sshpass grep coreutils binutils bc
2023-03-10 19:54:32 +01:00
2023-11-01 21:05:52 +01:00
* Install dependencies **(for Linux Homebrew)**:
2023-11-01 21:08:36 +01:00
brew install git make expect rsync openssh grep binutils ffmpeg bc
curl -L https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb > sshpass.rb
2023-11-01 21:05:52 +01:00
brew install sshpass.rb
2024-01-04 15:59:02 +01:00
* Install `ffmpeg` from repository or use the package [ffmpeg-6.1-linux-gnu-64bit-build.tar.bz2](https://drive.proton.me/urls/FZH7FV29FR#5FuAfSzxhH6h):
2021-04-18 00:27:13 +02:00
2024-01-04 15:59:02 +01:00
sudo tar jxvf ffmpeg-6.1-linux-gnu-64bit-build.tar.bz2 -C /
2023-03-10 19:46:37 +01:00
* Install ks-tools cloning the repository:
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-03-10 19:54:32 +01:00
cd ks-tools
2023-03-11 14:37:58 +01:00
sudo make install
2021-03-06 12:54:06 +01:00
2023-11-01 21:08:36 +01:00
* For Linux Homebrew, install with:
make -f Makefile.linuxbrew
2023-03-10 19:46:37 +01:00
* **Windows ([Cygwin](https://www.cygwin.com/)):**
2021-05-03 01:10:00 +02:00
2023-03-10 19:46:37 +01:00
* Install dependencies:
2023-03-10 19:54:32 +01:00
lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin
2023-05-22 16:15:35 +02:00
apt-cyg install git make expect rsync openssh sshpass grep coreutils binutils bc
2023-03-10 19:46:37 +01:00
2024-01-04 15:59:02 +01:00
* Download package [ffmpeg-6.1-cygwin-64bit-build.tar.gz](https://drive.proton.me/urls/FZH7FV29FR#5FuAfSzxhH6h) and install it:
2023-03-10 19:46:37 +01:00
2024-01-04 15:59:02 +01:00
tar zxvf ffmpeg-6.1-cygwin-64bit-build.tar.gz -C /
2023-03-10 19:54:32 +01:00
2023-03-10 19:46:37 +01:00
* If you prefer your own ffmpeg build, use this script for build it:
2023-03-10 19:54:32 +01:00
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-03-10 19:54:32 +01:00
cd ks-tools/cygwin
chmod +x ffmpeg-build-cygwin64.sh
./ffmpeg-build-cygwin64.sh
2023-03-10 19:46:37 +01:00
* Install ks-tools cloning the repository:
2021-05-03 01:10:00 +02:00
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-03-10 19:54:32 +01:00
cd ks-tools
make -f Makefile.Cygwin
2023-03-10 19:46:37 +01:00
* **Windows ([WSL](https://learn.microsoft.com/en-us/windows/wsl/install)):**
* Install dependencies:
2023-05-22 16:15:35 +02:00
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils bc
2023-03-10 19:46:37 +01:00
2024-01-04 15:59:02 +01:00
* Install `ffmpeg` from the package [ffmpeg-6.1-linux-gnu-64bit-build.tar.bz2](https://drive.proton.me/urls/FZH7FV29FR#5FuAfSzxhH6h) or from repository:
2023-03-10 19:46:37 +01:00
2023-03-10 19:54:32 +01:00
sudo apt install ffmpeg
2023-03-10 19:46:37 +01:00
* Install ks-tools cloning the repository:
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-03-10 19:54:32 +01:00
cd ks-tools
2023-03-11 14:37:58 +01:00
sudo make install
2023-03-10 19:46:37 +01:00
* **MacOS ([HomeBrew](https://brew.sh/)):**
* Install dependencies:
2023-05-22 16:15:35 +02:00
brew install git make expect rsync openssh grep binutils ffmpeg bc
2023-03-10 19:54:32 +01:00
curl -L https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb > sshpass.rb
brew install sshpass.rb
2023-03-10 19:46:37 +01:00
2023-11-01 21:05:52 +01:00
* Install ks-tools cloning the repository **(for MacOS Intel)**:
2023-03-10 19:46:37 +01:00
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-03-10 19:54:32 +01:00
cd ks-tools
2023-11-02 19:46:53 +01:00
sudo make -f Makefile.macbrew
2023-11-01 21:05:52 +01:00
* Install ks-tools cloning the repository **(for MacOS ARM)**:
2024-05-01 11:26:47 +02:00
git clone https://git.q3aql.dev/q3aql/ks-tools
2023-11-01 21:05:52 +01:00
cd ks-tools
2023-11-02 19:46:53 +01:00
sudo make -f Makefile.macbrew.arm
2021-05-03 01:10:00 +02:00
2021-03-06 12:54:06 +01:00
### External links:
* [ffmpeg homepage](http://ffmpeg.org/)
* [rsync homepage](https://rsync.samba.org/)
* [OpenSSH homepage](https://www.openssh.com/)
* [Cygwin homepage](https://www.cygwin.com/)
* [xterm homepage](https://invisible-island.net/xterm/)
* [Coreutils homepage](https://www.gnu.org/software/coreutils/coreutils.html)
* [Bash homepage](https://www.gnu.org/software/bash/)
* [Grep homepage](https://www.gnu.org/software/grep/)