Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prefer r_frame_rate over avg_frame_rate
AVStream.r_frame_rate (tbr in ffmpeg/ffprobe output) gives the more common, standard frame rates smart phone cameras. It is what ffmpeg CLI uses if you use it to convert variable frame rate to constant. Extend the variable frame rate heuristic in property "meta.media.variable_frame_rate" by checking for bizarre AVStream.avg_frame_rate values. This also fixes a bug where raw DV files are reporting 60000 (sixty thousand) frames per second--at least with version 6 or 7 of FFmpeg.
- Loading branch information