summaryrefslogtreecommitdiffstats
path: root/.local/bin/videoaudioloop
blob: 0a67ad36063263bd4d98a6353774792c0a1d0504 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

#Description: Takes in three parameters. Parameter one is a video, gif, or image that you would like to be looped with audio. Parameter 2 is the audio that you would like to play with the video, gif, or image. Parameter 3 is the output file for the combination of parameter 1 and parameter 2.

#Axioms:

#Dependencies: https://packages.debian.org/sid/ffmpeg


ffmpeg -y -stream_loop -1 -i "$1" -i "$2" -shortest "$3"