Skip to content

Convert a video to MP4 format and maybe embed English subtitles

License

Notifications You must be signed in to change notification settings

jborbely/convert-mp4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert a video to MP4 format and maybe embed English subtitles.

Requires ffmpeg to be installed or to be available on PATH.

Install

pip install git+https://github.com/jborbely/convert-mp4.git

Usage

Can be run with or without a configuration file

convert-mp4 [config.json]

Configuration File

The following key-value pairs are supported:

  • root_dir: (str) directory to initially start in when prompted to select a video
  • extensions: (list[str]) the file extensions that can be converted

For example,

{
  "root_dir": "C:\\Videos\\Movies and TV shows",
  "extensions": ["avi", "mkv", "mp4"]
}

About

Convert a video to MP4 format and maybe embed English subtitles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages