Categorygithub.com/Dkamps18/ConvertToMP4
repositorypackage
0.0.0-20240114213218-81b9d1bc4f8d
Repository: https://github.com/dkamps18/converttomp4.git
Documentation: pkg.go.dev

# README

ConvertToMP4

This is a small little tool to convert all video files in a given folder to MP4

Requirements

  • FFmpeg

Usage

FlagDescriptionDefault
-pPath to the folder from where to convert fromCurrent Working Directory
-vVerbose output loggingfalse
-rRecursively check any subfolders for any video filesfalse
-cCopy the existing frames for formats that most likely support it, this is much faster as it saves re-encoding where possiblefalse
-dDelete old files after successful conversionfalse
-mMove old files after successful conversionfalse
-mtFolder to move old files to
-execOverwrite the FFmpeg executable, this is useful if FFmpeg is not in your path or the same directoryffmpeg
-argsArgs to pass to FFmpeg, make sure to specify these as a string, example: -args "-c:v h264_nvenc -preset p7 -tune hq -profile:v high"
-eExit on FFmpeg errorfalse
-helpDisplay help menu
-versionDisplay version number