Skip to content

Instantly share code, notes, and snippets.

@dragonken
Forked from halbtuerke/Instructions
Created November 4, 2018 21:27
Show Gist options
  • Save dragonken/b4a8bd7d47e9c175b122d33721687cd3 to your computer and use it in GitHub Desktop.
Save dragonken/b4a8bd7d47e9c175b122d33721687cd3 to your computer and use it in GitHub Desktop.
Join multiple *.flv files with ffmpeg
To use this script just copy all flv files into a directory and call the script via:
"join-flvs.sh *.flv"
#!/bin/sh
for file in $@
do
filenames="$filenames -i $file "
done
ffmpeg $filenames -vcodec copy -acodec copy out.flv
@dragonken
Copy link
Author

Convert to MP4
ffmpeg -i out.flv -codec copy output.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment