Skip to content

devfullcycle/video-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Video Converter

Executar localmente

Clone o projeto

  git clone https://github.com/devfullcycle/video-converter.git

Navegue até a pasta do projeto

  cd video-converter

Instale as dependencias de acordo com seu S.O

MAC:

  brew install ffmpeg

WINDOWS:

https://www.ffmpeg.org/download.html

LINUX

  sudo apt install ffmpeg 

Execute o comando:

  go run main.go -input <INPUT_DIR> -output <OUTPUT_DIR>

Docker

docker build -t video-converter .
docker run --rm -v <INPUT_DIR>:/app/input -v <OUTPUT_DIR>:/app/output video-converter -input /app/input -output /app/output
  • INPUT_DIR: Local onde os arquivos que precisam de conversão se encontram
  • OUTPUT_DIR: Local onde os arquivos convertidos serão criados

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published