[FFmpeg-user] copy input i-frames structure to output

Claudiu Rad-Lohanel jazzman at misalpina.net
Mon Jul 14 22:03:00 CEST 2014


hello,

i need to do transcoding of an mp4 video and i want to keep the i-frame 
structure the same as in the original video.
i've searched info on this but couldn't find out if it is even possible 
with ffmpeg although my wild guess is that it should be.

furthermore, to complicate things, ffmpeg should be just a simple box in 
a processing chain and pre-scanning the input is not acceptable.
basically, i would like to somehow tell ffmpeg during encoding that for 
each video frame that it encodes, first check if it was a keyframe in 
the original video. if yes, make it also in the output, if no, don't do it.

any ideas?

thanks!

-- 
jazzman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jazzman.vcf
Type: text/x-vcard
Size: 274 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140714/1d9a731e/attachment.vcf>


More information about the ffmpeg-user mailing list