Skip to content

Instantly share code, notes, and snippets.

@joequery
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joequery/9778764 to your computer and use it in GitHub Desktop.
Save joequery/9778764 to your computer and use it in GitHub Desktop.
FFmpeg - fade in a video (first few seconds)
# ffmpeg -i fademe.mp4 -filter_complex "[0:v] fade=in:st=0:d=1[ov]" -map "[ov]" -c:v libx264 -t 2 transition.mp4; ffmpeg -f lavfi -i aevalsrc=0 -i transition.mp4 -vcodec copy -acodec aac -map 0:0 -map 1:0 -shortest -strict experimental -y transition.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment