Skip to content

A suite of functions for compressing, transcoding and generating captions using the ffmpeg library

Notifications You must be signed in to change notification settings

VidiHawk/ffmpeg-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Compressor.py is a suite of functions leveraging the ffmpeg framework for compressing and transcoding videos.

srt_generator.py generates the subtitles file(.srt) for a video using google speech api

Install the following before getting started:

Install python 3.6
Install ffmpeg (provides free CLI for multimedia editing)
Install google cloud services

Additionally, I use following terminal commands to rescale videos and images. For fixed width and height -

ffmpeg -i input.avi -vf scale="720:480" output.avi

and if you want to retain aspect ratio just give height as -1 and it will automatically resize based on the width -

ffmpeg -i input.avi -vf scale="720:-1" output.avi

About

A suite of functions for compressing, transcoding and generating captions using the ffmpeg library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages