Page MenuHomePhabricator

New VideoJS Player can't play some OGG audio files
Closed, ResolvedPublic

Description

The new VideoJS Player in beta can't seem to play the following Ogg files, but the old player is able to play them:

The VideoJS player gives the following error:

The media playback was aborted due to a corruption problem or because the media used features your browser did not support.

There may be some corruption near the beginning of both files as there is a moment of static in both. If so, maybe it's not really a bug.

Event Timeline

Aklapper renamed this task from New VideoJS Player can't play some audio files to New VideoJS Player can't play some OGG audio files.Jun 8 2021, 10:23 AM

I've seen this a couple of times on those samples.. but they've also worked... Its very much specific to these audio clips however, indicating that at least something is wrong with them....

player.on('error', function() {
  console.log(player.error());
});

To capture errors. We can probably use stopImmediatePropagation to block it from triggering other error handling effects. The problem is how we distinguish between this problem and other actual stream problems... I wouldn't know immediately..

I suspect that was is happening, is that the stream buffer of one of the ogg tracks accidentally depletes sometimes, probably because of sloppy muxing on the original file. As the buffer refills, the problem is solved, but videoJS has already stopped playback in this case. Its just a guess though.

One thing to note is that the MP3 transcode seems to be recent:

MP3	175 kbps	
Reset transcode	Completed 20:19, 30 January 2022	5.0 s

There may have been trouble in the past playing the old Ogg version directly if for some reason the MP3 transcode was missing, however it seems to play fine in ogv.js as well currently.

Cannot reproduce any problems at this time.

Iniquity reopened this task as Open.EditedFeb 9 2022, 10:36 AM
Iniquity subscribed.

One thing to note is that the MP3 transcode seems to be recent:

MP3	175 kbps	
Reset transcode	Completed 20:19, 30 January 2022	5.0 s

There may have been trouble in the past playing the old Ogg version directly if for some reason the MP3 transcode was missing, however it seems to play fine in ogv.js as well currently.

:( I retranscoded this, I thought it would work, but no

Снимок экрана 2022-02-09 в 13.34.57.png (782×1 px, 85 KB)

Yeah and the few times it does work, you hear pretty loud pops in the left channel, so I'm 99% sure there's just something wrong with the file. It's hard to say how many of such files we have and what the impact is thus going to be however.

TheDJ claimed this task.

No longer an actual issue since we have fallback or since we use inline mode. The reason why is still somewhat unclear to me. But no point in keeping this open.