/bin/log

Log my thoughts

Home About GitHub

01 Jul 2013
Merge flv videos by ffmpeg

Suppose you need to merge 1..5.flv into one video

$ tree
videos
├── 1.flv
├── 2.flv
├── 3.flv
├── 4.flv
└── 5.flv

This command do the trick:

$ for f in *.flv; do echo "file '$(pwd)/$f'" >> list ; done
$ ffmpeg -f concat -i list -c copy merged.flv

Carpe diem,
JZR at 15:42

Home About GitHub