Skip to content

zerrojs/FFmpeg-Pipe-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFmpeg-Pipe-Python

在 Python 内直接调用 FFmpeg 来读取和写入视频

先运行 read.py,它会在项目根目录创建一个 img 文件夹,把 in_v.mp4 的每一帧保存进去。 再运行 write.py,它会把刚刚解出来 img 文件夹内的图像再编码成视频并保存为 out_v.mp4。

详细信息看代码注释

About

An example of using pipe to encode NumPy array into a video with FFmpeg directly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%