browse posts

« first ← prev page 1 of 1 next → last »
 (1 posts)
#244973  [mokachan] /kr/  thread 243896  22 Jun 2026, 14:35  find reposts  view thread  view source ↗
image.png
>>244971
i asked claude how to do this with ffmpeg (the only tool i have), he told me to run this command

ffmpeg -i input.mp4 -vf "cropdetect=24:2:0" -f null - 2>&1 | findstr "crop="

this basically auto detects the black bars to each side. the output is something like this (see attached image)

then you take the "cropdetect" value from the output and replace it in this command:
ffmpeg -i input.mp4 -vf "crop=448:816:504:0" -c:a copy output.mp4
and voilá it magically removed the black bars. what just happened? i have no clue, but it worked