Skip to content

Instantly share code, notes, and snippets.

@maonx
maonx / ffmpeg.md
Last active November 7, 2015 15:21
Convert or concat videos by ffmpeg

Convert or concat videos by ffmpeg

concat flv format

generate inputs.txt,example flv files

printf "file '%s'\n" *.flv > inputs.txt

concat flv

ffmpeg -f concat -i inputs.txt -c copy output.flv

concat flv , convert mp4