Skip to content

jcjreyes/VideoToPDF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MP4 to PDF

This Python script allows you to convert lecture videos in MP4 format into a series of JPG images. It uses the OpenCV library to read frames from the video file and save them as individual images.

Installation and Usage

  1. Create a virtual environment using your preferred method
  2. Download pip modules
pip install -r requirements.txt
python -m src.main "FILE.mp4" [args]

Args

  1. -i, --interval
  2. -o, --output

Todo

  • do the Actual converting into PDF...
  • allow user to select which time they want
  • parallelization? (gpt says concurrent.futures so whatever)
  • progress bar
  • error handling

About

A rough python script using cv2 that generates video files into PDF.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages