Skip to content

segmentation-fault/gif-stack-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stack_and_audio

Script that given two gifs and one audio file creates an mp4 video with the two gifs vertically stacked and the mp3 track as main audio track. The output file has the name of the first gif with the mp4 extension. It scales everything to the width of the first gif. Since it calculates the duration of the final video as the shortest between the least common multiplier of the duration of the two gifs and the audio track, it could result in a quite big output file.

Needs ffmpeg and exiftool to run.

Usage example

We use:

./stack_and_audio.sh Tesseract.gif ACRIMSat_Animation.gif Loveshadow_-_Drunk_Text_1.mp3

It will create the file Tesseract.mp4 with the two gifs stacked and the audio track playing. Notice the file is quite large, given the loop matching.

About

Stacks two gifs and an audio track to create a video

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages