-
-
Save dragonken/b4a8bd7d47e9c175b122d33721687cd3 to your computer and use it in GitHub Desktop.
Join multiple *.flv files with ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use this script just copy all flv files into a directory and call the script via: | |
"join-flvs.sh *.flv" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for file in $@ | |
do | |
filenames="$filenames -i $file " | |
done | |
ffmpeg $filenames -vcodec copy -acodec copy out.flv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert to MP4
ffmpeg -i out.flv -codec copy output.mp4