[FFmpeg-user] Getting SWF frame count

Hans Guth hguth at listingsmagic.com
Thu Dec 8 20:38:27 CET 2011

Is there a way to easily get the frame count total from an swf file 
either while it is being built or after it's built.  I want to store 
that information into a database.  Example if a file test.swf has a 
total of 390 frames - how do I get that information?

Example ffmpeg -i test.swf

This does not appear to give a total frame count.

Also ffmpeg -i test.mp4 -sameq test.swf

This shows the frames being built but I don't see where it outputs the 

Hans Guth
President - ListingsMagic
866-831-8639 ext. 704

More information about the ffmpeg-user mailing list