Skip to content

Simple bash script to convert recursively found media files to modern formats.

License

Notifications You must be signed in to change notification settings

Zakret/updatemediaformats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

updatemediaformats

Simple bash script to convert recursively found media files to modern formats.
By default this script runs RECURSIVE !
This script update all found media files to newer more efficient formats:
avif for images and x265 mp4 for videos.
Convertions will be made by imagemagic and ffmpeg.
Options:
    -h    --help    Show this text
    -n    --non-recursive    Don't search for videos in other folders
    -i    --images    Convert .jpg/.jpeg/.png to .avif
    -p    --pngs    Convert .png to .jpg
    -g    --gifs    Convert .gif to x265 mp4
    -m    --mp4s    Convert x264 to x265
Custom convertions options:
    -ic=    --images-config=
    -pc=    --pngs-config=
    -gc=    --gifs-config=
    -mc=    --mp4s-config=

[by default, the script will run with -p -g -m options]

About

Simple bash script to convert recursively found media files to modern formats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages