./convert_video.sh nome_file
Last active
March 23, 2018 09:08
-
-
Save bluvertigo/8baeba90b82385721e86cf8d26328661 to your computer and use it in GitHub Desktop.
Convertire file mov in mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# uso ./convert_mov.sh NOME_FILE | |
filename=$1 | |
ffmpeg -i $filename.mov -vcodec h264 -acodec aac -strict -2 $filename.mp4 | |
# Alternativa | |
# ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment