summaryrefslogtreecommitdiff
path: root/.old/ffconcat
diff options
context:
space:
mode:
Diffstat (limited to '.old/ffconcat')
-rwxr-xr-x.old/ffconcat12
1 files changed, 12 insertions, 0 deletions
diff --git a/.old/ffconcat b/.old/ffconcat
new file mode 100755
index 0000000..06eb066
--- /dev/null
+++ b/.old/ffconcat
@@ -0,0 +1,12 @@
+#!/bin/sh
+ffconcat="$(ls | sed "s/^/file '/; s/$/'/")"
+echo "$ffconcat" > ffconcat
+
+ffmpeg \
+ -f concat \
+ -safe 0 \
+ -i ffconcat \
+ -c copy \
+ out.mkv
+
+rm ffconcat