pskugit / video-converter

A small ui program to convert videos into image folders and vice versa
10 stars 1 forks source link

Video Converter

converts Folder2Video and Video2Folder

This is a small UI program used to convert a video file into a folder containing images of all frames. Or to convert an image folder into a video file given the set parameters.

Prerequisites

Written in Python3, the program has a few external libraries They are all accessible through pip.

$ pip install opencv-python
$ pip install PyQt5 
$ pip install tqdm
$ pip install imageio
($ pip install numpy)

Usage

Folder to video

Build a .mp4 file from a folder containing only .jpg or .png images.

Parameters to be chosen:

Example: if fps=1 and repeat=5, a video is created that shows every image for 5 seconds. Which in that case is more like a slideshow.

Video to folder

Extract all individual frames of a video file and save them as .png to a folder.

This mode has no parameters to specify.

Meta

Philipp Skudlik

https://github.com/pskugit