1
1
I have an mp4/h.264 video which only contains I-Frames. I want to skip one of those I-frame without re-encoding the entire video. I tried this:
ffmpeg -i "file.mp4" -vf select='not(eq(n\,10))' "out.mp4"
But of course this actually does a re-encoding.
I would prefer if the solution will use ffmpeg, but any program which runs on Linux is fine.
Just to be clear: the video does not contain any P or B frame.
Maybe I wasn't enough clear in my question. The video does NOT contain any P or B frames. Is there any "automatic" way to remove the frame? – jellyjoe – 2015-02-22T21:34:06.920
Oops, sorry, I wrote this too hastily. Will revise my answer tomorrow, but in essence, no. You could splice the video using the -frames:v option and then glue it back together. – slhck – 2015-02-22T21:47:43.027