问题
I'm trying to achieve the Datamosh effect on video.
(source: ilovenewwork.com)
I know that in general what I need to the video is to delete all i-Frames but I have no idea how to achieve that using ffmpeg.
回答1:
if you are just looking for an easy command line solution!
install the following ruby script https://github.com/ucnv/aviglitch
[nodejs version https://github.com/fand/node-aviglitch]
- convert your video to AVI
ffmpeg -i input.mp4 output1.avi
- datamosh it with the ruby script "aviglitch"
datamosh output1.avi -o datamoshedvideo.avi
- (optional) convert your video back to mp4 (or whatever)
ffmpeg -i datamoshedvideo.avi moshedbutoriginalext.mp4
来源:https://stackoverflow.com/questions/37369450/how-to-drop-p-frames-for-datamosh-effect-using-ffmpeg