Skip to content

python将视频转换为网页字符动画,基于image2html

Notifications You must be signed in to change notification settings

hackedbyxx/video2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

video2html

python将视频转换为网页字符动画,基于image2html

demo:https://hackedbyxx.github.io/my/demo/video2html.html

使用方法 python main.py -i video.mp4 -d 10

-b', '--background', default='000000', metavar='#RRGGBB', help='background color (#RRGGBB format)'

-s', '--size', default=10, type=int, metavar='(4~30)', help='font size (int)'

-c', '--char', default='淘汰制作', metavar='CHAR', help='characters'

-t', '--title', default='create by xx', metavar='TITLE', help='html title'

-f', '--font', default='monospace', metavar='FONT', help='html font'

-i', '--in', metavar='IN', help='image to convert', required=True

-o', '--out', metavar='OUT', help='output file'

'-d', '--density', default=10, type=int, metavar='DENSITY', help='video frame density'

About

python将视频转换为网页字符动画,基于image2html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages