Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eisneim/py_glitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

PY_GLITCH 为了艺术而破坏

$ python py_glitch.py foler/我的视频.mp4
py_glich.py [-h] [--intensity INTENSITY] [--buffer BUFFERSIZE]
 [--count COUNT] [--header HEADERSIZE]
 input [output [output ...]]
 input 源文件的路径
 output 输出文件夹的路径,默认为源文件所在文件夹
可选参数:
 -h 显示帮助信息
 --intensity 强度,默认为0.1
 --buffer 一次性随机的数据的大小,buffer越大,速度越快,图片适合10以下,视频适合使用100以上;buffer越大,速度越快,glitch越不明显
 --count 生成多少个文件
 --header 文件头部信息的大小,默认200,图片的header一般很小;破坏header将导致文件无法识别

一次性生成3个文件,并将intensity强度调低

$ python py_glitch.py foler/我的视频.mp4 /目标/文件夹 --count 3 --intensity 0.02

效果

a1 a2 b1 b2 c1 c2

About

通过破坏媒体文件来产生Glitch效果

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /