Page MenuHomePhabricator

Invalid Ogg file: Stream Undecodable
Open, NormalPublic

Details

Reference
bz61900

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:54 AM
bzimport added a project: TimedMediaHandler.
bzimport set Reference to bz61900.

When I run avprobe on the file it outputs:

[theora @ 0x9e59540] 7 bits left in packet 82

which might be related.

I uploaded a new version of [[File:Highly-Sensitive-Quantitative-Imaging-for-Monitoring-Single-Cancer-Cell-Growth-Kinetics-and-Drug-pone.0089000.s004.ogv]] which was just the same file re-encoded in order so that people can use the file on commons. This bug should stay open as we should fix whatever the underlying issue is in File_ogg.

(In reply to Yuri Astrakhan from comment #3)

Same for
https://commons.wikimedia.org/wiki/File:Irene_Rosenfeld_-_Adon_Olam.ogg

That one has a bunch of warnings for avprobe. Maybe something wrong with the file:

bawolff@Bawolff-L:~$ avprobe Irene_Rosenfeld_-_Adon_Olam.ogg
avprobe version v10_alpha1-151-gaab40bb, Copyright (c) 2007-2014 the Libav developers

built on Jan 16 2014 23:34:44 with gcc 4.7 (Debian 4.7.2-5)

[flac @ 0x9df74e0] invalid sync code
[flac @ 0x9df74e0] invalid frame header
[flac @ 0x9df74e0] decode_frame() failed
Input #0, ogg, from 'Irene_Rosenfeld_-_Adon_Olam.ogg':

Duration: 00:00:10.49, start: 0.000000, bitrate: 21037 kb/s
  Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
  1. avprobe output
Yurik added a comment.Apr 9 2014, 2:21 AM

This file is from a friend of mine, it was encoded using VLC's wav to flac conversion. I will ask her to re-encode using some other conversion utility. The file still plays fine in Chrome. I wonder if we should have better error info though, otherwise most people wouldn't even notice it. Thanks for checking it!

Hmm, of course the other hand is utilities like avprobe can guess the size and codec (flac), and all we are using File_OGG (the part that's erroring) for is to do that.

So even if the file is slightly not to the standard or something, perhaps we should still be doing better.

(In reply to Yuri Astrakhan from comment #5)

This file is from a friend of mine, it was encoded using VLC's wav to flac
conversion. I will ask her to re-encode using some other conversion utility.

To save your friend some trouble, I just tried to use avconv to reconvert it back to ogg/flac. Since flac is lossless, that shouldn't have any quality difference.

But then I hit bug 60554... :s

Anyways, wrong length still displayed, but at least the file is playable

VLC 2.1.4 only plays the first couple seconds of the file, I think it's just broken...

Urgh that was about https://commons.wikimedia.org/wiki/File:Treadmill-Exercise-Induces-Neutrophil-Recruitment-into-Muscle-Tissue-in-a-Reactive-Oxygen-Species-pone.0096464.s002.ogv which isn't actually mentioned on this bug. Not sure whether I was given the right link to look at?

@brion, yes, this seems to have been the wrong file for this bug. Some files indeed affected by the bug are
https://en.wikipedia.org/wiki/File:Scullion-the_fruitsmelling_shop.ogg
and
https://en.wikipedia.org/wiki/File:Pink_floyd_pigs.ogg .

brion added a comment.May 11 2014, 1:57 AM

(In reply to Daniel Mietchen from comment #10)

@brion, yes, this seems to have been the wrong file for this bug. Some files
indeed affected by the bug are
https://en.wikipedia.org/wiki/File:Scullion-the_fruitsmelling_shop.ogg
and
https://en.wikipedia.org/wiki/File:Pink_floyd_pigs.ogg .

Ok, those two appear to contain Motion-JPEG video streams for cover images:

$ avprobe Scullion-the_fruitsmelling_shop.ogg
avprobe version 10, Copyright (c) 2007-2014 the Libav developers

built on Apr 12 2014 15:55:31 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)

[ogg @ 0x7fd67a002200] max_analyze_duration reached
Input #0, ogg, from 'Scullion-the_fruitsmelling_shop.ogg':

Duration: 00:00:30.04, start: 0.000000, bitrate: 48 kb/s
  Stream #0.0: Audio: vorbis, 44100 Hz, stereo, fltp, 48 kb/s
  Metadata:
    ALBUM           : Scullion
    ARTIST          : Scullion
    DATE            : 1979
    TITLE           : The Fruit Smelling Shop
    track           : 3
  Stream #0.1: Video: mjpeg, yuvj420p, 200x200 [PAR 96:96 DAR 1:1], 90k tbn
  Metadata:
    comment         : Cover (front)
    title           :

avprobe output

$ avprobe Pink_floyd_pigs.ogg
avprobe version 10, Copyright (c) 2007-2014 the Libav developers

built on Apr 12 2014 15:55:31 with Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)

[ogg @ 0x7ff849002200] max_analyze_duration reached
Input #0, ogg, from 'Pink_floyd_pigs.ogg':

Duration: 00:00:30.03, start: 0.000000, bitrate: 75 kb/s
  Stream #0.0: Audio: vorbis, 32000 Hz, stereo, fltp, 70 kb/s
  Metadata:
    ALBUM           : Animals
    ARTIST          : Pink Floyd
    DATE            : 1977
    GENRE           : Classic Prog
    TITLE           : Pigs (Three Different Ones)
    track           : 3
    album_artist    : Pink Floyd
    COMPOSER        : Roger Waters
  Stream #0.1: Video: mjpeg, yuvj420p, 200x200 [PAR 96:96 DAR 1:1], 90k tbn
  Metadata:
    comment         : Cover (front)
    title           :

avprobe output

It's possible that's throwing us off.

MarkTraceur triaged this task as Normal priority.Nov 24 2014, 2:06 PM

Is this just a catch-all for encoding errors in files on Commons, or should we leave this open for a real technical issue with TMH?

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:36 PM
Restricted Application added subscribers: Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:36 PM