force more common pixel format

This commit is contained in:
Ville Rantanen
2022-04-24 19:43:03 +03:00
parent 8c8b0306ed
commit 895c0619bd

View File

@@ -180,7 +180,7 @@ if [[ ! -e "$inputfile" ]]; then echo "Inputfile '$inputfile' missing"; exit 1;
ffprobe -hide_banner "$inputfile" ffprobe -hide_banner "$inputfile"
while true; do while true; do
command="ffmpeg-parser -i \"$inputfile\" $resize $compression $audio -movflags faststart $overwrite \"$outputfile\"" command="ffmpeg-parser -i \"$inputfile\" -pix_fmt yuv420p $resize $compression $audio -movflags faststart $overwrite \"$outputfile\""
if [[ $FORCE -eq 1 ]]; then if [[ $FORCE -eq 1 ]]; then
choice=EXECUTE choice=EXECUTE
else else