diff --git a/index.html b/index.html index 1645bf7..7101cd0 100644 --- a/index.html +++ b/index.html @@ -733,13 +733,13 @@
ffmpeg -i input_file -filter:v "fade=in:st=0:d=1, fade=out:st=59:d=1" -filter:a "afade=in:st=0:d=1, afade=out:st=59:d=1" -c:v libx264 -c:a aac output_file
This command fades in and out the first and last second (and 44100 audio samples) on a video.
+ffmpeg -i input_file -filter:v "fade=in:st=IN_POINT:d=DURATION, fade=out:st=OUT_POINT:d=DURATION" -filter:a "afade=in:st=OUT_POINT:d=DURATION, afade=out:st=IN_POINT:d=DURATION" -c:v libx264 -c:a aac output_file
This command fades in and out the first and last second on a video. Change IN_POINT, OUT_POINT, DURATION to the time in seconds (expressed as integers) you want.
st
sets the start and d
sets the duration.st
sets the start and d
sets the duration.st
sets the start and d
sets the duration.st
sets the start and d
sets the duration.-c copy
. The video must be re-encoded with whatever video codec is chosen, e.g. ffv1
, v210
or prores
.-c copy
. The audio must be re-encoded with whatever audio codec is chosen, e.g. aac
.