Skip to content

Instantly share code, notes, and snippets.

@maonx
maonx / ffmpeg.md
Last active Nov 7, 2015
Convert or concat videos by ffmpeg
View ffmpeg.md

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