dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 187c62c6cc8aa4bb7c83ed237523012e9dc7e5eb
parent ca381068dd5b1e4c04787401a4aba6818f9dc6e4
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 13 Apr 2020 15:05:09 +0200

Fix combine script

Diffstat:
M.local/bin/ffmpeg-combine | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.local/bin/ffmpeg-combine b/.local/bin/ffmpeg-combine @@ -1,5 +1,5 @@ #!/bin/sh -filelist="/tmp/combine.txt" +filelist="combined.txt" out="combined.mp4" if [ $# -lt 2 ]; then @@ -8,7 +8,7 @@ if [ $# -lt 2 ]; then fi for f in "$@"; do - printf 'file \'%s\'\n' "$f" + printf "file '%s'\\n" "$f" done > "$filelist" if [ $? -ne 0 ]; then @@ -16,5 +16,5 @@ if [ $? -ne 0 ]; then exit 1 fi -ffmpeg -f concat -safe -i "$filelist" -copy "$out" && rm -f "$out" +ffmpeg -f concat -safe 0 -i "$filelist" -c copy "$out" && rm -f "$out" printf '%s\n' "$out"