Bir klasör içindeki tüm videoları gife dönüştürme:#!/bin/bash
for file in *.mp4; do
if [ -f "$file" ]; then
echo "Processing $file..."
ffmpeg -i "$file" -vf "fps=15,scale=640:-1:flags=lanczos" "${file%.*}.gif"
else
echo "No .mp4 files found in the folder."
fi
done
Videoları image sequence' a dönüştürme: ffmpeg -i
input.mov -r 0.25 output_%04d.png
MP4 ten ses çıkartma: ffmpeg -i sample.avi -q:a 0 -map a sample.mp3
ffmpeg -i mamiadm.mp4 -vf tmix=frames=4:weights="20" mb3.mp4 motion blur ekleme
Mp4 ile Mp3 ü birleştirip videoya ses ekleme: ffmpeg -i mebae480.mp4 -i mebae360.mp3 -map 0:v -map 1:a -c:v copy -c:a copy output.mp4 -y
ffmpeg -stream_loop <loop_count> -i input.mp4 -c copy output.mp4 Videoları looplar