Skip to content

A bash script to batch convert .mp4 and .mov videos to HTML5 formats (mp4, webm, ogv) with ffmpeg

License

Notifications You must be signed in to change notification settings

pecuchet/ffmpeg_batch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ffmpeg_batch

A bash script to batch convert all .mp4 and .mov videos in a folder at once. It converts to three HTML5 formats, .mp4, .webm and .ogv using ffmpeg. If the video is wider than 1280px, the script also converts a scaled .mp4 to 1280px for iPhone support.

(Currently quite basic handling of options and conversion settings.)

Usage

ffmpeg_batch ["audio"] [bitrate]

  • ["audio"] default batch does not include audio, type "audio" to allow it
  • [bitrate] bit rate defaults to 2000mbps, just provide a higher or lower number

About

A bash script to batch convert .mp4 and .mov videos to HTML5 formats (mp4, webm, ogv) with ffmpeg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages