8 ms·
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
by robert_foss 10y ago
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
- flashman 10y agoA round of applause http://i.imgur.com/jJMwl2u.gif http://i.imgur.com/jJMwl2u.gif
- robert_foss 10y agoHahaha, why thank you.
- fluxsauce 10y agoThis 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.
- robert_foss 10y agoThat's excellent feedback, thanks! I'll keep hacking at it this stuff for at least a little bit.
- simcop2387 10y agoi think the progress could be done with pv. | pv -s $( somehowgetinputsize ) > tmp_audio_out.u8