Skip to main content

视频与png图片之间的转换

Project description

将视频转换为png图片

usage: vedio_to_img.py [-h] [-f FPS] vedio_path image_path

positional arguments:
  vedio_path         视频路径
  image_path         输出图片的目录

optional arguments:
  -h, --help         show this help message and exit
  -f FPS, --fps FPS  每多少帧输出一次

将图片转换为mp4(h.264)视频

usage: img_to_vedio.py [-h] [-f FPS] img_path vedio_path
positional arguments:
  img_path           图片目录
  vedio_path         生成除来的视频目录

optional arguments:
  -h, --help         show this help message and exit
  -f FPS, --fps FPS  保存成视频的帧率

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

l0n0lvedio2image-1.0.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

l0n0lvedio2image-1.0.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page