[FFmpeg-user] Decode just I Frames in H264

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Nov 30 14:22:09 EET 2017

2017-11-30 10:22 GMT+01:00 Aviv Hurvitz <aviv.hurvitz at gmail.com>:
> I'd like to make a CPU-efficient computer vision application
> based on a H264 stream.
> I have two ideas and wanted to get feedback on their feasibility:
> *Idea 1 - temporal subsampling*

-skip_frame nointra

Note that valid (decodable) H.264 streams without I-frames exist.


> *Idea 2 - spatial subsampling*

-lowres 1

Unfortunately, this does not work for H.264 (it works for mpeg1/2/4
and jpeg/jpeg2000), implementing it is impossible (?) or at least
non-trivial - patch welcome!

Carl Eugen

More information about the ffmpeg-user mailing list