[英]Set the framerate of converted output file using ffmpeg-python
我有以下行使用ffmpeg-python
將.mp4
文件轉換為.gif
文件:
ffmpeg.input('test.mp4').trim(start=0, duration=3).output('output.gif').run()
它運行良好,但我想降低幀速率。 在這個鏈接上,我找不到辦法做到這一點。 有人知道怎么做嗎?
ffmpeg
.input('test.mp4')
.trim(start=0, duration=3)
.filter('fps', fps=25, round='up')
.output('output.mp4')
.run()
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.