ks-tools/README.md

138 lines
5.7 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
2022-03-26 14:53:14 +01:00
* [ks-upv](doc/ks-upv.md) - Upload video file(s) to server with scp or rsync.
* [ks-upa](doc/ks-upa.md) - Upload audio file(s) to server with scp or rsync.
* [ks-upf](doc/ks-upf.md) - Upload common file(s) to server with scp or rsync.
* [ks-upr](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
2022-03-26 14:53:14 +01:00
* [ks-mp4](doc/ks-mp4.md) - Convert video file to compact and efficient MP4 (libx264 + aac).
* [ks-mp4k](doc/ks-mp4k.md) - Convert video file to compact and efficient MP4 (4K).
* [ks-mp4s](doc/ks-mp4s.md) - Convert video file to compact and efficient MP4 (Series).
* [ks-mp4s-folder](doc/ks-mp4s-folder.md) - Convert videos from folder to MP4 format (Series).
* [ks-avi](doc/ks-avi.md) - Convert video file to compact and efficient AVI (libxvid + mp3).
* [ks-vob](doc/ks-vob.md) - Convert video file to VOB (DVD splitet) format.
2023-03-10 00:35:32 +01:00
* [ks-av1](doc/ks-av1.md) - Convert video file to compact and efficient AV1 codec (libsvtav1 + libvorbis).
* [ks-av1s](doc/ks-av1s.md) - Convert video file to compact and efficient 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
2022-03-26 14:53:14 +01:00
* [ks-oga](doc/ks-oga.md) - Convert video/audio file to OGA (OGG Audio) Format.
* [ks-oga-album](doc/ks-oga-album.md) - Convert folder album to OGA (OGG Audio) Format.
* [ks-mp3](doc/ks-mp3.md) - Convert video/audio file to MP3 Audio Format.
* [ks-mp3-album](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
2022-03-26 14:53:14 +01:00
* [ks-mix](doc/ks-mix.md) - Extract video/audio and mix video/audio files.
* [ks-crop](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
2022-03-26 14:53:14 +01:00
* [ks-mp4-wrapper](doc/ks-mp4-wrapper.md) - Wrapper for ks-mp4 to create graphical interfaces.
* [ks-mp4k-wrapper](doc/ks-mp4k-wrapper.md) - Wrapper for ks-mp4k to create graphical interfaces.
* [ks-mp4s-wrapper](doc/ks-mp4s-wrapper.md) - Wrapper for ks-mp4s to create graphical interfaces.
* [ks-avi-wrapper](doc/ks-avi-wrapper.md) - Wrapper for ks-avi to create graphical interfaces.
* [ks-vob-wrapper](doc/ks-vob-wrapper.md) - Wrapper for ks-vob to create graphical interfaces.
* [ks-conf](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-03-10 19:54:32 +01:00
sudo pacman -Syu git make expect rsync openssh sshpass grep coreutils binutils
2023-03-10 19:46:37 +01:00
* Install dependencies **(for Ubuntu/Debian)**:
2023-03-10 19:54:32 +01:00
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils
2023-03-10 19:46:37 +01:00
* Install dependencies **(for Fedora)**:
2023-03-10 19:54:32 +01:00
sudo dnf install git make expect rsync openssh sshpass grep coreutils binutils
2023-03-10 19:46:37 +01:00
* Install `ffmpeg` from repository or use the package [ffmpeg-6.0-linux-gnu-64bit-build2.tar.bz2](https://drive.proton.me/urls/87E226C29C#mcuvbx0p6DLy):
2021-04-18 00:27:13 +02:00
2023-03-10 19:54:32 +01:00
sudo tar jxvf ffmpeg-6.0-linux-gnu-64bit-build2.tar.bz2 -C /
2023-03-10 19:46:37 +01:00
* Install ks-tools cloning the repository:
2023-03-10 19:54:32 +01:00
git clone https://gitlab.com/q3aql/ks-tools
cd ks-tools
make install
2021-03-06 12:54:06 +01:00
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
apt-cyg install git make expect rsync openssh sshpass grep coreutils binutils
2023-03-10 19:46:37 +01:00
* Download package [ffmpeg-6.0-cygwin-64bit-build2.tar.gz](https://drive.proton.me/urls/87E226C29C#mcuvbx0p6DLy) and install it:
2023-03-10 19:54:32 +01:00
tar zxvf ffmpeg-6.0-cygwin-64bit-build2.tar.gz -C /
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
git clone https://gitlab.com/q3aql/ks-tools
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
2023-03-10 19:54:32 +01:00
git clone https://gitlab.com/q3aql/ks-tools
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-03-10 19:54:32 +01:00
sudo apt install git make expect rsync openssh-client openssh-server sshpass grep binutils
2023-03-10 19:46:37 +01:00
* Install `ffmpeg` from the package [ffmpeg-6.0-linux-gnu-64bit-build2.tar.bz2](https://drive.proton.me/urls/87E226C29C#mcuvbx0p6DLy) or from repository:
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:
2023-03-10 19:54:32 +01:00
git clone https://gitlab.com/q3aql/ks-tools
cd ks-tools
make install
2023-03-10 19:46:37 +01:00
* **MacOS ([HomeBrew](https://brew.sh/)):**
* Install dependencies:
2023-03-10 19:54:32 +01:00
brew install git make expect rsync openssh grep binutils ffmpeg
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
* Install ks-tools cloning the repository:
2023-03-10 19:54:32 +01:00
git clone https://gitlab.com/q3aql/ks-tools
cd ks-tools
make install
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/)