So, here I have a demo file from my website
http://members.shaw.ca/darolynk/breakup/html5game/snd_music.ogg
I am running off of Firefox Beta 30.0 and this issue does not persist in Google Chrome. In Firefox, when I play the file back, the length is displayed at around twice of its actual length as 32:13 when it is only 12:52 in length. Even worse, the audio stutters, playing one second of noise, one second of silence. This issue is not persistent in Chrome nor Opera. It is not a streaming issue (the song is streamed by the time it is played back in fact).
I am wondering if this is an issue with the codec or with Firefox's intrepretation of the codec, but more importantly, I want to know how to fix it. Some information about the file: the file is in OGG Vorbis format, 44100 Hz, 32 kbps Mono (yes, I am running out of storage space). It was encoded with SUPER, which in turn uses FFMpeg and MEncoder as necessary.
This does not apply to all files of this format, making the issue even stranger. Are OGG Vorbis files over a certain length not allowed or interpreted differently by Firefox? This must be the case for someone else and not just me...
Any help is appreciated, thanks in advance!
The problem has nothing to do with Firefox, it's an issue with your file. Also, I've reproduced the issue in VLC... that'd a bad sign as VLC can usually play any corrupt file you throw at it but I wouldn't be surprised if Firefox used the same libvorbis or whatever for the codec.
Some observations:
It seems to me like the decoder is looking for stereo interleaved channels, but your file is in mono so it cannot decode the bitstream properly. VLC tells me the audio is in mono, but if I remember correctly, Ogg and Vorbis can disagree which might be happening here.
I would recommend simply using FFmpeg to do the encoding. If you still have the problem, at least then we know what version of FFmpeg you have and what the command line was.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.