Skip to content

Commit

Permalink
fix(ios): transcode dimensions should be divisible by 2 (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malinskiy authored Sep 17, 2024
1 parent 6edf70e commit cd16c0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class ScreenRecordingListener(
listOf(
"sh",
"-c",
"${videoConfiguration.transcoding.binary} -i $tempFile -vf \"scale=${size.value}:${size.value}:force_original_aspect_ratio=decrease\" -preset ultrafast $optional $src"
"${videoConfiguration.transcoding.binary} -i $tempFile -vf \"scale=${size.value}:${size.value}:force_original_aspect_ratio=decrease:force_divisible_by=2\" -preset ultrafast $optional $src"
)
)
if (result?.successful == false) {
Expand Down

0 comments on commit cd16c0a

Please sign in to comment.