📜  剪切部分视频 ffmpeg - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:43.526000             🧑  作者: Mango

代码示例1
#-ss option to specify a start timestamp, and the -t option to specify the encoding duration.
# The timestamps need to be in HH:MM:SS.xxx format or in seconds (s.msec).
ffmpeg -ss 00:00:30.0 -i input.wmv -c copy -t 00:00:10.0 output.wmv
ffmpeg -ss 30 -i input.wmv -c copy -t 10 output.wmv