Page MenuHomePhabricator

Cortado playback truncated
Closed, ResolvedPublic

Description

When playing a file, the ogg player cuts out about a second before the end, or, at least, does on my system (Using Firefox 3 and Windows XP). It's particularly noticable on http://commons.wikimedia.org/wiki/Image:Charles_Gounod_-_Petite_Symphony,_Opus_216,_Movement_I.ogg

Is this general, and can it be fixed? It's a pretty major problem if it's general, less so if it's just some browsers.


Version: unspecified
Severity: major
OS: Windows XP
Platform: PC

Details

Reference
bz15315

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:16 PM
bzimport added a project: Cortado-JST.
bzimport set Reference to bz15315.
  • Bug 15614 has been marked as a duplicate of this bug. ***

The test file consists of 335.9 seconds of music, followed by a 4.3 second chained vorbis stream, presumably added by the encoder to represent the silent gap between tracks on the source CD. Due to a bug, Cortado cuts off the buffered first stream when decoding of the second stream begins.

The workaround is to remove the second stream, say by re-encoding.

http://commons.wikimedia.org/wiki/File:Wikipedia_video_tutorials_making-of_(high).ogv chokes for me in both Opera 9.63 and 10 preview, but plays correctly in IE 7. Is this the same bug, or unrelated?

opifexmaximus wrote:

solution is for Wikipedia to upgrade to the new cortado build available at http://downloads.xiph.org/releases/cortado/cortado-ov-stripped-0.5.0.jar

Opera 9 and 10 are fine now on Windows and Linux. Overall reproduction is improved for both audio and video in all browswers.

mdale wrote:

We had upgraded to a version of cortado slightly before the 0.5.0 release. Since then there has been a 0.5.1 release. We should deploy that as it uses compression and is (170K instead of 300K) and has a few other minor bug fixes. It is available either from the xiph site:
http://downloads.xiph.org/releases/cortado/cortado-ovt-stripped-0.5.1.jar
and or I have copied that release into the OggHandler svn.

I am cc'ing Fred with a request for him to deploy the newer version of the applet.

opifexmaximus wrote:

Just tried http://downloads.xiph.org/releases/cortado/cortado_latest.jar and works like a charm.
This should solve some problems. Am thinking of some mods to OggPlayer.js to avoid some of the complaints/whining received about having to install plug-ins on IE in particular. IF this new version of Cortado is really solid after all, it might be a reasonable idea to force the applet if the needed plug-ins aren't already installed. Opera 10 on Linux defaults to the applet BEFORE the installed installed plug-ins.

Need to think about this one.

mdale wrote:

The updated cortado was pushed out a while back. I am going to close this bug as it appears people are no longer having trouble.