Saddam
Saddam

Reputation: 1

Extracting I frames & DC coefficents

How do I extract I frames & DC coefficients from an MPEG-4 video?

Upvotes: 0

Views: 616

Answers (2)

GShaik
GShaik

Reputation: 311

By using this command I'm able to extract the I-frames

ffmpeg -i input.flv -vf "select='eq(pict_type,PICT_TYPE_I)'" -vsync vfr thumb%04d.png

Upvotes: 1

av501
av501

Reputation: 6729

If you want just the I frames the use ffmpeg to extract them. You can use the -vf select="eq(pict_type\,PICT_TYPE_I)" option to get only the I pictures out. To get the dc coeffs you will have to modify the decoder source code to get it out. I don't think you will directly find a tool to give it to you.

Upvotes: 2

Related Questions