Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 725 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 725 Bytes

安装依赖

pip install -r requirement.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

视频剪切

GUI

python video_formatting_ui.py

Terminal

python video_formatting.py --src_path /mp4/path --dst_path /save/path/ --start_time 00:00:00 --end_time 00:12:02

视频格式转换

Terminal

python wmv2mp4.py --src_path /data/path --dst_path /save/path
  • testcase
    filename = r'C:\Users\epic_cy\Desktop/temp.wmv'
    save_path = r'C:\Users\epic_cy\Desktop/temp.mp4'

TODO

  • 视频压缩
  • 视频合并
  • 其他格式(avi、mov)转MP4