This file contains 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 | |
# how to use: sh convertVideoToWebVideoFormats.sh fileToConvert.mp4 | |
# how to use for batch conversion: find "$VIDEOS" -name '*.mp4' -exec sh -c 'ffmpeg ... or sh convertV.. | |
input=$1 | |
output=$(echo $1 | sed 's/^\(.*\)\.[a-zA-Z0-9]*$/\1/') | |
# mp4 | |
ffmpeg -i $input -vcodec h264 -acodec aac -strict -2 -s 1280x720 $output.mp4 | |
# webm | |
#ffmpeg -i $input -f webm -vcodec libvpx -acodec libvorbis -ab 128000 -crf 22 -s 1280x720 $output.webm |
This file contains 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
Processwire 500 Internal Server Error | |
check site/config.php mysql logins | |
check .htaccess | |
- check if it is read (paste shit in the top) | |
- check if it works with apache2 | |
Processwire 403 Permission Denied |
NewerOlder