[FFmpeg-user] remove all I Frames from a video

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Dec 12 22:26:13 EET 2017


2017-12-12 17:51 GMT+01:00 KE <swisswiss-at-aol.com at ffmpeg.org>:

> i would love to cut out all the i frames from a video.
> and most importantly have NO new i frames added to the output file.
> i know this will break the video. but thats exactly what i want.
>
> what i tried so far:
> ffmpeg -y -i input.mp4 -filter:v "select='not(eq(pict_type\,PICT_TYPE_I))'" -v:c output.mp4

(Complete, uncut console output missing, this command line
does not work.)

It's easy with FFmpeg:
$ ffmpeg -i input -vcodec copy -f image2 outframes%5d
Now delete the I-frames files outframes0001 etc. from the directory and run:
$ cat outframes* >outputnoiframes

Carl Eugen


More information about the ffmpeg-user mailing list