Am 14.06.2022 um 13:47 schrieb Cecil Westerhof via ffmpeg-user:
Sometimes I have to cut parts out of a video. I now use for this (bash on 
Debian):
     ffmpeg -y                                                \
            -ss ${videoStart} -to ${cutStart} -i ${inputFile} \
            -ss ${cutEnd}     -to ${videoEnd} -i ${inputFile} \
            -vcodec         libx264                           \
            -crf            26                                \
            -acodec         libmp3lame -qscale:a 9            \
            -preset         veryfast                          \
            -lavfi "concat=n=2:v=1:a=1"                       \
            -an ${outputFile}

But the cut from one part to another is a bit abrupt. Is there a
possibility to smooth it with something like a fade?

you can use the xfade filter. :
https://www.ffmpeg.org/ffmpeg-all.html#xfade
https://trac.ffmpeg.org/wiki/Xfade

Michael

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to