Skip to content

About

convert and compress folder with video files with ffmpeg, batch conversion

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Convert and compress any folder with many video files with help of ffpmeg tool.

Used Nvidia codec NVENC for faster gpu conversion.

  1. The size of both the input and compressed files is checked before and after compression.
  2. If the compressed file is larger than the input file, the changes are reverted by removing the compressed file and renaming the input file with "_compressed" in the filename.
  3. The video bitrate (-b:v) is set to 2000k (2 Mbps).
  4. The del command is used to remove existing output files before compressing.
  5. The buffer size (-bufsize) is set to 4000k (4 Mbps), which is typically twice the maximum bitrate.

About

convert and compress folder with video files with ffmpeg, batch conversion

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages