Bug OGG decode

2018-02-02 13:28:58

This odd and specific to the Foobar2000, a problem was noticed a few years ago and still not fixed. So I decided to write about it.Two files are attached to the message, in the original WEBM format, and demuxed in Ogg. That is, simply copying the stream without reencoding into the native container.

The version of FFmpeg does not matter, the very last one (v3.4.1) gives the same result.

So, what happens... I checked the resulting OGG file on three different players — VLC, MPC, AIMP, and all playable it as authentic as the original WEBM. And only Foobar2k plays this file with bugs. It sounds like a light crackling for 5-9 seconds and a little farther. Demuxing to formats MKV, WEBM is played without problems. If the problem were in FFmpeg, other players would also reproduce the resulting file with errors.

Re: Bug OGG decode

I believe it's the same problem as mentioned in this thread. Unfortunately foobar's verifier can't report nonsensical granulepos values and I'm too lazy to write custom tool to check this. Either way the timestamps are no longer trusted in 1.4 beta and your file plays without glitches there.

I found that problem in 1.4.3 version of Foobar2000, i updated this version to last stable version 1.4.6, but the problem was not disappeared.

It seems to me that in some previous version of foobar2000 there was no this problem, i found it just after I've been updated version of foobar2000 to 1.4.3 some years before, and in some previous version this file played normally.

Mobile version of foobar2000 downloaded from Google Play Market is also has this problem and can't play the same OGG-files which is non-playable in PC version (but this files is playable by other Android and Windows music players).