Home  >  Q&A  >  body text

视频处理 - 用python制作视频

1.有好几个图片,然后每个图片作为视频帧播放十秒或五秒。
2.添加故事语音。
3.再添加背景音乐。
4.最后生成mp4文件。

大家有没有好的思路和方案?

大家讲道理大家讲道理2759 days ago640

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 09:17:06

    The subject can use opencv’s VideoCapture and VideoWriter classes to read and write videos respectively, such as

    videoWriter.write(frame) # You can insert frame at the current frame position
    VideoCapture.read() # You can get the position of the next frame

    reply
    0
  • Cancelreply