Skip to content
This repository was archived by the owner on Feb 28, 2024. It is now read-only.

Commit d87da0f

Browse files
committed
Thanks to durandal_1707 for helping fix this 'x264 [error]: baseline profile doesn't support 4:4:4' issue
1 parent 8fcc16a commit d87da0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htmlvideo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fi
2626
mkdir "$today" &>/dev/null || true
2727
mp4="${out%.*}.mp4"
2828

29-
time ffmpeg $verbose -y -i "$input" -movflags +faststart -c:v libx264 -threads auto -vprofile baseline -level 30 -maxrate 10000000 -bufsize 10000000 -acodec aac -strict experimental $mp4
29+
time ffmpeg $verbose -y -i "$input" -movflags +faststart -pix_fmt yuv420p -c:v libx264 -threads auto -vprofile baseline -acodec aac -strict experimental $mp4
3030

3131
time ffmpeg $verbose -y -i "$input" -c:a libvorbis -q:a 7 -c:v libvpx -threads auto "$out"
3232

0 commit comments

Comments
 (0)