Changes

Jump to: navigation, search

Preparing videos for blog posts

344 bytes added, 16 June
merge multiple videos
text=\'$3\': fontcolor=white: fontsize=24: box=1: boxcolor=black@0.5: \
boxborderw=5: x=(w-text_w)/2: y=h-text_h-15" -codec:a copy "$2"
</syntaxhighlight>
 
==== Merge multiple videos ====
<syntaxhighlight lang="shell">
#!/bin/sh -e
 
if [ "$#" -lt 1 ]; then
echo "usage: $(basename $0) video1 video2 video3 ..."
exit 1
fi
 
set -x
{
for i in $@; do
echo "file $i"
done
} > inputlist
 
ffmpeg -f concat -i inputlist -c copy merged.webm
</syntaxhighlight>

Navigation menu