metadata-extractor icon indicating copy to clipboard operation
metadata-extractor copied to clipboard

Support MP3 duration

Open loriling opened this issue 3 years ago • 1 comments

When I try to detect mp3 file to get its duration, I print out all the tags but not found a duration info tag.

MP3 Directory (8 tags) ID - 1 - MPEG-1 Layer - 2 - Layer III Bitrate - 3 - 128 Frequency - 4 - 44100 Mode - 5 - Joint stereo Copyright - 7 - False Emphasis Method - 6 - none Frame Size - 8 - 417 bytes

File Type Directory (4 tags) Detected File Type Name - 1 - MP3 Detected File Type Long Name - 2 - MPEG Audio Layer III Detected MIME Type - 3 - audio/mpeg Expected File Name Extension - 4 - mp3

loriling avatar Jul 31 '20 03:07 loriling

The library does not currently support duration.

https://github.com/drewnoakes/metadata-extractor/blob/master/Source/com/drew/metadata/mp3/Mp3Directory.java

drewnoakes avatar Aug 06 '20 09:08 drewnoakes