I have not explored OvOPlayer or “uos does what you need”. I settled on Bass which has given me very reliable lengths for MP3 files. The others are probably just as good.
In case you want to pursue Bass I have attached a single file, non GUI Lazarus/pascal programme which you might find useful.
Good Luck