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 | |
#-vx | |
TARGET_VCODEC='libx264' | |
TARGET_ACODEC='aac' | |
OUTPUT_FORMAT="-hide_banner -c:a $TARGET_ACODEC -c:v $TARGET_VCODEC -ac 2\ | |
-r 30 -strict -2 -s 1280x720 -ar 48000 -profile:v high422 -pix_fmt yuvj422p -video_track_timescale 60000 -y" | |
which ffprobe > /dev/null || (echo "Lack of 'ffprobe'. Install it";exit) | |
which ffmpeg > /dev/null || (echo "Lack of 'ffmpeg'. Install it";exit) |