Hmmm... Are you able to found where the bug is ?I see different variance e. g. 2:34 song looks in VLC like 2:41 song. Other 1:22 song looks in VLC like 1:02 song atc. So differences are more than 1s in both directions.
Playback is without problems but at the end of song status bar looks like: 1:22/1:02.
EDIT:
I think VLC uses wrong algorithm to calculate vorbis length.
e. g.
file size: 753924B
average bitrate: 72kbps = 9kBps
nominal bitrate: 96kbps = 12kBps
753924/1024 = 736,254kB/9 = 81,806s = 1:21,806 (right value)
753924/1024 = 736,254kB/12 = 61,356 = 1:01,345 (bad value)
I know, that vorbis is always VBR. Nominal bitrate specifies approximate quality. So final audio file will have ABR approximately as nominal. Sometimes higher, sometimes lower. So if you calculate song lengt nominal bitrate is irrelevant.Vorbis is always VBR as it can't be made to be CBR. The bitrate quoted is what is reported in VLC and I have always assumed this to be ABR. MPC says this same file is 3:26. This is using the Haali front end for OGG/OGM and CoreVorbis.
I think that i found problem in source code, but i`m not so good in C programming to fix it.
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 14 guests