Hacker News new | past | comments | ask | show | jobs | submit login

Hi HN,

I just finished adding video support (and stubbed out audio support).

Due to already using ffmpeg for image manipulations, this turned out to be rather easy.

Give it a try using something like this:

  $ ./mangle.sh in.mp4 out.mp4 --color-format=yuv444p --bits=8 --blend=0.4 overdrive 17 hilbert -n 5001



A round of applause http://i.imgur.com/jJMwl2u.gif


Hahaha, why thank you.


This is fantastic.

For folks wanting to play around with this on OSX:

brew install ffmpeg lame brew install sox --with-lame

The --with-lame is important if you want to process mp4s.

Might want to consider putting some kind of progress indicator (simple polling on tmp_audio_in.u8 vs tmp_audio_out.u8). I ended up looking at the output directory with

watch -n .5 ls -la /tmp/audio_shop-DIRECTORY

I think the cleanup isn't working quite right, getting a rm unlink failure.

Seriously, this is a neat hack.


That's excellent feedback, thanks!

I'll keep hacking at it this stuff for at least a little bit.


i think the progress could be done with pv. | pv -s $( somehowgetinputsize ) > tmp_audio_out.u8




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: