ClementBeal / audio_metadata_reader

A pure-dart audio metadata reader
MIT License
18 stars 2 forks source link

Fix mp4 precision of duration not accurate #9

Closed PKiman closed 3 months ago

PKiman commented 4 months ago

The precision of duration of mp4 audio files is not accurate enough in milliseconds terms. Therefor I would like to change the calculation of the duration object.

ffprobe -i  test/mp4/track.m4a -v quiet -print_format json -show_format -show_streams -hide_banner|grep duration

"duration": "1.021333"