sh Concat_demuxer.sh

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Concat_demuxer.sh相关的知识,希望对你有一定的参考价值。

# Repeat/loop Input Video with ffmpeg?

# 1. Make a text file. Contents of an example text file to repeat 4 times. Then run ffmpeg.
$ cat list.txt
file 'input.mp4'
file 'input.mp4'
file 'input.mp4'
file 'input.mp4'

$ ffmpeg -f concat -i list.txt -c copy output.mp4

# 2. This example is the same as above but you don't have to manually make list.txt
$ for i in {1..4}; do printf "file '%s'\n" input.mp4 >> list.txt; done
$ ffmpeg -f concat -i list.txt -c copy output.mp4

# 3
$ ffmpeg -f concat -i <(for i in {1..4}; do printf "file '%s'\n" input.mp4; done) -c copy output.mp4

# http://video.stackexchange.com/questions/12905/repeat-loop-input-video-with-ffmpeg

以上是关于sh Concat_demuxer.sh的主要内容,如果未能解决你的问题,请参考以下文章

如何使我的命令行在具有扩展名(.sh)和名称如“weird.sh.sh.sh”的文件上工作

sh sh_template.sh

sh sh.sh

Linux下面如何运行 SH文件

配置告警系统主脚本main.sh mon.sh load.sh 502.sh disk.sh

shell 脚本各种执行方式(source ./*.sh, . ./*.sh, ./*.sh)的区别