Webm to wav to Mp3 conversion results in incorrect (increased) track length using NAudio.Lame
I am using below code to convert webm audio content (audio recorded by web browser using MediaRecorder) to wave and then to mp3, using NAudio.Wave and NAudio.Lame.
The issue is with mp3 track length, it is more than the original recorded audio length by few seconds (with LAMEPreset.ABR_64) to by few minutes (with LAMEPreset.VBR_90) for 15 minutes of original audio.
In windows media player, the mp3 file plays ok till the actual length of audio and then suddenly seeks to end.