> AFAICT, no video tool has solved this without running the entire stream. You >might take one approach for fixed-rate containers/encodings and another for variable-rate.
It might be worth adding that there is a frame-count field available in several container formats, but it is very rarely correctly set. I've worked extensively with AVIs that have frame-count fields which were neither zeroed, nor set to the actual frame count. So, don't trust 'em unless you trust the application that wrote the file, and even then that would be a "trusting the file" smell. P _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
