iSub-old-swift-port icon indicating copy to clipboard operation
iSub-old-swift-port copied to clipboard

MP3 bitrate sometimes displayed incorrectly

Open aaronk6 opened this issue 8 years ago • 3 comments

The bitrate shown in the player view is sometimes incorrect. It seems to be related with seeking: I can reproduce this easily when seeking in a song that’s currently being streamed.

Bitrate shown as 32 kbps (actually 320)

Bitrate shown as 439 kbps (actually 320)

Subsonic transcoding command:

/var/subsonic/transcode/ffmpeg -i /mnt/musik/Artists/A/AC_DC/1995 T.N.T. (album)/106 AC_DC - Rocker.mp3 -map 0:0 -b:a 320k -v 0 -f mp3 -

Let me know if you’d like me to test this with formats other than MP3 or other MP3 bitrates.

aaronk6 avatar Jan 29 '17 11:01 aaronk6

Yeah the bitrate display is "live" from the player, so likely I'm not resetting some number in the calculation after seeking. Also I need to make it a rolling average so it doesn't fluctuate so much.

einsteinx2 avatar Jan 29 '17 17:01 einsteinx2

This has been improved and I think fixed, but leaving this open to double check.

einsteinx2 avatar Nov 19 '17 20:11 einsteinx2

Great, I’ll double-check with the next beta build.

aaronk6 avatar Nov 19 '17 21:11 aaronk6