ffmpeg 视频编辑命令,以毫秒为单位时间戳 [英] ffmpeg video editing command in milliseconds timestamp
本文介绍了ffmpeg 视频编辑命令,以毫秒为单位时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 ffmpeg
编辑视频,我必须在其中进一步查看时间戳,从秒到毫秒.我知道这样的命令:ffmpeg -i a.ogg -ss 00:01:02 -to 00:01:03 -c copy x2.ogg
.这使用秒,但我想要降低到毫秒.
I am editing a video with ffmpeg
where I have to keep in view the timestamp further deep from seconds to milliseconds. I know such command : ffmpeg -i a.ogg -ss 00:01:02 -to 00:01:03 -c copy x2.ogg
. This uses seconds, but I want down to milliseconds.
推荐答案
你可以试试:
ffmpeg -i a.ogg -ss 00:01:02.500 -t 00:01:03.250 -c copy x2.ogg
时间戳需要采用 HH:MM:SS.xxx 格式以提高精度(其中 xxx 是毫秒).
Timestamps need to be in HH:MM:SS.xxx format for advanced precision (where xxx are milliseconds).
让我知道它是否有效.
这篇关于ffmpeg 视频编辑命令,以毫秒为单位时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文