Skip to content

Commit

Permalink
[no ci] only check the yuv444p encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Feb 21, 2025
1 parent cfcc567 commit 28ab7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-documentation-videos-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ checkCodecId() {
checkChromaSubsampling() {
imageencode=$(mediainfo --Inform="Video;%ChromaSubsampling%" "$1")

if [ "$imageencode" != "4:2:0" ]; then
if [ "$imageencode" = "4:4:4" ]; then
# Construct the output file name
output_file="${1%.*}_420.${1##*.}"
echo "\nInvalid ChromaSubsampling for $1"
Expand Down

0 comments on commit 28ab7a8

Please sign in to comment.