ffmpeg -i input.mp4 -ss 00:00:00 -t 10 out.ts -i : 指定視頻 -ss : 開始時間 -t : 指定裁剪的秒數
ffmpeg -f concat -i inputs.txt out.flv -f concat : 指定爲合併的指令 -i : 指定須要操做的命令 inputs.txt: 指定合併的文件,文件格式 file "文件名稱"
舉例inputs.txtshell
file 「1.ts」markdown
file 「2.ts」app
file 「3.ts」post