Mateodioev / video-extension-converter

Python script to convert videos with any extension to another extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video extension converter

Convert any video extension in directory

⚠️ Only works on linux

Installation

git clone https://github.com/Mateodioev/video-extension-converter.git
cd video-extension-converter
pip install ffmpeg-python colorama

Execute

python video_convert.py --help

Arguments

  • -i Video extension source. Default ts
  • -o Video extension target. Default mp4
  • -d Delete video source. Default True

Execute as command

Linux:

Make file executable

chmod +x video_convert.py

Create a simbolic link in a directory that is include in your path, like /usr/local/bin

sudo ln -s video_convert.py /usr/local/bin/video_convert

Restart your shell and execute the command

video_convert -h

About

Python script to convert videos with any extension to another extension

License:MIT License


Languages

Language:Python 100.0%