Reputation: 1
How do I extract I frames & DC coefficients from an MPEG-4 video?
Upvotes: 0
Views: 616
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
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