Skip to content

Script to convert, compress and enhance your movies from a common DVD Grabber!

Notifications You must be signed in to change notification settings

SenpaiSimon/vhs-mp4-python-ffmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vhs-mp4-python-ffmpeg

Important for Windows

Install FFMPEG to your local enviroment following this guide https://www.geeksforgeeks.org/how-to-install-ffmpeg-on-windows/

verify by typing

ffmpeg -version

Python

Install the librarys using pip install

pip install -r requirements.txt

Folder Structure

dirStruct

  1. The log.txt and /done will be created automatically
  2. Put your files or even files sctructure into the input-directory (1)
  3. This script will keep the file structure provided in the input-directory!
  4. The original files will end up in the done-directory (2)

Working with the script

Name all your files with the name you want to keep! This script will embed the file Name (without the file extension like .mpg) into the metadata of the file!

  1. Execute it using python convert.py when inside the script-directory
  2. You have to keep this terminal open until the script is done!
  3. You can monitor the conversion of the currrent file in the terminal window
  4. If you want to see the whole progress, you can look into the generated log.txt
  5. This will also display some extra logging, like times and storage savings
  6. If a file is complete, it will move the file with the extension of targetFileType into the done-directory

Result

At the End you will have all your converted files in the the input-directory with your original file structure. All the original files were be moved into the done-directory.

Addition

If you want to compress and convert your files properly then set extendedMode in line 27 to True See code comments for further information

About

Script to convert, compress and enhance your movies from a common DVD Grabber!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages