[Libav-user] i-Frame only without encoding
Patrick Fischer
patrick.fischer at vitec.com
Mon Mar 21 10:44:29 CET 2016
Hello
I'm trying to create an I-Frame only video from an existing video.
This works fine:
ffmpeg -i input.ts -vf select='eq(pict_type\,PICT_TYPE_I)' output.ts
Is there an way without re-encoding the video?
Something like:
ffmpeg -i input.ts -vf select='eq(pict_type\,PICT_TYPE_I)' -vcodec
copy output.ts
I know that VF and copy will not work together.
I also know that there are some problems and the B/P Frames must be created.
IPPPPPPPPP IPPPPPPPPP IPPPPPPPPP
First I think it would be nice to create a video with
III
So the video will just contain the I-Frames. Drop all P-Frames.
This will chance the timing, destroy GOP structure, ...
A more complex way is to insert dummy p Frames.
Did ffmpeg support any kind of i-Frame only without encoding?
Regards
Patrick
More information about the Libav-user
mailing list