Skip to content

Python Tool that compiles frames from Video Enhance AI using audio/sub tracks from original video

Notifications You must be signed in to change notification settings

pyrometheous/Frames_to_video

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Frames_to_video

Python Tool that compiles frames from Video Enhance AI using audio/sub tracks from original video

Prerequisites

  1. Download FFMPEG and extract files to a directory you have access to.

  2. Update the Windows PATH Variable to include the directory you saved FFMPEG to.

  3. Download and install MKVToolNix.

  4. Update the Windows PATH Variable to include the MKVToolNix installation directory (typically C:\Program Files\MKVToolNix)

  5. If desired, you can change the extension of the Python script to '.pyw' to prevent the terminal window from showing, however it does provide useful information in regards to tracking the progress of the compilation.

How to use:

  1. Select the desired encoder from the dropdown menu.
    Encoder Dropdown
  2. Click the Browse button next to the Image Sequence Directory textbox.
    Browse Image Sequence
  3. Navigate to the directory your image sequence is in and select the first image in the sequence.
    First Image In Sequence
  4. Click the Browse button next to the Original File textbox.
    Browse Original File
  5. Navigate to the directory of the original video file and select it.
  6. Click the Convert button.
  7. Once completed a pop up window will come up saying

Completed in: X amount of time.

  1. There will be two new files in the original video file's directory
  • videoFileName_temp.mkv
  • videoFileName_final.mkv

videoFileName_final.mkv should be the image sequence with the audio/subtitle tracks from the original video file.

videoFileName_temp.mkv can be deleted once you verify the final file is okay.

Note:

  • In some rare circumstances (mostly older AVI files) the script won't create the final file, and will instead prompt you to use the MKVToolNix GUI application to merge the video/audio/subtitle tracks into a new file.
  • You may want to re-encode the final video in Handbrake to reduce file size, not a requirement, but may be needed o playback video on some players, depending on the resulting file size.

About

Python Tool that compiles frames from Video Enhance AI using audio/sub tracks from original video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages