Skip to content

Your friendly neighbourhood script for mangling images or video using audio editing tools

License

Notifications You must be signed in to change notification settings

robertfoss/audio_shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Audio Shop

Your friendly neighborhood script for mangling images or video using audio editing tools.

If you'd like to read more about how this actually works, have a look here.

Usage

$ ./mangle.sh in.jpg out.png [effect [effect]]

This script lets you interpret image or video data as sound,
and apply audio effects to it before converting it back to
image representation

Options:
--bits=X          -- Set audio sample size in bits, 8/16/24
--blend=X         -- Blend the distorted video with original video, 0.5
--color-format=X  -- Color space/format, rgb24/yuv444p/yuyv422. Full list: $ ffmpeg -pix_fmts
--res=WxH         -- Set output resolution, 1920x1080

Effects:
bass 5
echo 0.8 0.88 60 0.4
flanger 0 2 0 71 0.5 25 lin
hilbert -n 5001
loudness 6
norm 90
overdrive 17
phaser 0.8 0.74 3 0.7 0.5
phaser 0.8 0.74 3 0.4 0.5
pitch 2
riaa
sinc 20-4k
vol 10

Example:
./mangle in.jpg out.jpg vol 11
./mangle in.mp4 out.mp4 echo 0.8 0.88 60 0.4
./mangle in.mp4 out.mp4 pitch 5 --res=1280x720
./mangle in.mp4 out.mp4 pitch 5 --blend=0.75 --color-format=yuv444p --bits=8

A full list of effects can be found here: http://sox.sourceforge.net/sox.html#EFFECTS

Dependencies

  • ffmpeg
  • sox

Videos

Overdrive Hilbert

Alt text

Phaser

Alt text

Images

Bass

Alt text

Echo

Alt text

Overdrive

Alt text

Phaser

Alt text

Sinc

Alt text

About

Your friendly neighbourhood script for mangling images or video using audio editing tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages