Skip to content

granbom/vget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vget

Wrapper around svtplay-dl and ffmpeg

Getting Started

Just clone this repo to get the vget bash script file.

Prerequisites

vget are using

Hence, they both need to be installed for vget to work.

ffmpeg from source

If you are using Ubuntu you can install ffmpeg's prerequisites like this

sudo apt install autoconf automake build-essential cmake git libass-dev libfreetype6-dev libsdl2-dev libssl-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev mercurial pkg-config texinfo wget zlib1g-dev
sudo apt install yasm libx264-dev libx265-dev libvpx-dev libfdk-aac-dev libmp3lame-dev libopus-dev librtmp-dev libxvidcore-dev ocl-icd-opencl-dev

Then clone from either GitHub's mirror or FFmpeg's official repository.

git clone https://git.ffmpeg.org/ffmpeg.git
./configure --enable-pthreads --enable-version3 --enable-avresample --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-librtmp --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-openssl --enable-nonfree
make
sudo make install

(FFmpeg's repo in GitHub is: https://github.com/FFmpeg/FFmpeg.git)

svtplay-dl from source

git clone https://github.com/spaam/svtplay-dl.git
make
sudo make install

Installing

git clone https://github.com/granbom/vget.git

Copy vget to a directory in your $PATH. If you don't have a bin directory in you home folder before, it will not be in your $PATH. Create your ~/bin/ and restart.

/usr/local/bin/ or
~/bin/

Don't forget to make it executable

chmod a+x vget

Usage

Default vget will try to download subtitles and then remux the downloaded video with subtitles into a mkv file. It will set the language metadata for the audio and subtitles to Swedish. After this the mp4 or ts and srt file will be removed. You can change default behaviour in the created settings file ~/.vget.conf

vget url-to-video
# to see some options
vget -h

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Wrapper around svtplay-dl and ffmpeg

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages