You could definitely script it, just loop over each file in the directory where your videos are stored and run the same command
Could look something like this:
#! /usr/bin/env shdir=$1intro=$2out=$3for f in$dir/*.mp4
do
ffmpeg -i$intro-i$f-filter_complex"[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[outv][outa]"-map"[outv]"-map"[outa]""$out/$(basename$f)"done
I just whipped that up real fast and not sure if it works 100% but the idea is that it will:
Loop over all the files with .mp4 file extensions in the given directory
Run an ffmpeg command that use as inputs, the file given as the argument for the intro and the file of the current iteration of the loop, and write the newly combined version to a given directory
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You could definitely script it, just loop over each file in the directory where your videos are stored and run the same command
Could look something like this:
I just whipped that up real fast and not sure if it works 100% but the idea is that it will: