Page MenuHomePhabricator

Transcoding error on Commons: no opus support
Closed, ResolvedPublic

Description

While Commons tries to create a downloadable copy of file of high quality, the error comes out.

The file:
https://commons.wikimedia.org/wiki/File:Вики-Конференция_2014._День_1._Открытие_конференции.webm

See decoding to WebM 720p and WebM 1080p mistake:

'/usr/bin/avconv' -y -i '/tmp/localcopy_d254a20e4b98-1.webm' -threads 2 -skip_threshold 0 -bufsize 6000k -rc_init_occupancy 4000 -qmin '19' -qmax '19' -vcodec libvpx -f webm -s 1920x1080 -aq '3' -acodec libvorbis  /tmp/transcode_1080p.webm1e1bd48be236-1.webm

Exitcode: 1
Memory: 4194304

avconv version 0.8.12-4:0.8.12-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
  built on Jun 10 2014 15:31:10 with gcc 4.6.3
[matroska,webm @ 0x1fe37a0] Unknown entry 0x56BB
[matroska,webm @ 0x1fe37a0] Unknown/unsupported CodecID A_OPUS.
[matroska,webm @ 0x1fe37a0] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/tmp/localcopy_d254a20e4b98-1.webm':
  Duration: 00:12:24.57, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: vp8, yuv420p, 1920x1080, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
    Stream #0.1: Audio: [0][0][0][0] / 0x0000, 48000 Hz, 2 channels (default)
[buffer @ 0x22d5820] w:1920 h:1080 pixfmt:yuv420p
Incompatible sample format '(null)' for codec 'libvorbis', auto-selecting format 's16'
[libvpx @ 0x20f4c80] v1.1.0
Output #0, webm, to '/tmp/transcode_1080p.webm1e1bd48be236-1.webm':
    Stream #0.0: Video: libvpx, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=19-19, 200 kb/s, 90k tbn, 23.98 tbc (default)
    Stream #0.1: Audio: libvorbis, 48000 Hz, 2 channels, s16 (default)
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 -> libvpx)
  Stream #0:1 -> #0:1 (? -> libvorbis)
Decoder (codec id 0) not found for input stream #0:1

Version: wmf-deployment
Severity: normal
URL: https://commons.wikimedia.org/wiki/File:Вики-Конференция_2014._День_1._Открытие_конференции.webm

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:58 AM
bzimport set Reference to bz73150.
bzimport added a subscriber: Unknown Object (MLST).

That's just an example, the same mistake with the number of HD videos I uploaded yesterday.

Let's continue with the same video:

decoding was successfully finished for Ogg 160p, 360p, 480p only, all other decoding finished with errors.

When I press "Play" for video, I have no sound (and only Ogg 160-480p), but when I press "Source file" I see HD file with sound and everything.

Something seems to be broken in the internal decoder...

It's not a very large file. One of them I clicked on just showed an error of "timeout"

The error in comment 0 is due to libav being too old (doesnt support opus). Whenever we update ubuntu on the transcode job servers this will be fixed. (Soon i really hope)

(In reply to Bawolff (Brian Wolff) from comment #4)

The error in comment 0 is due to libav being too old (doesnt support opus).
Whenever we update ubuntu on the transcode job servers this will be fixed.

-> that's https://bugzilla.wikimedia.org/show_bug.cgi?id=53863#c19

(In reply to Andre Klapper from comment #5)

(In reply to Bawolff (Brian Wolff) from comment #4)

The error in comment 0 is due to libav being too old (doesnt support opus).
Whenever we update ubuntu on the transcode job servers this will be fixed.

-> that's https://bugzilla.wikimedia.org/show_bug.cgi?id=53863#c19

Not quite the same thing, since appearently the version we are planning to update to is new enough to support opus, but still too old to support VP9.

Paladox set Security to None.
Paladox added a subscriber: brion.

Change 211725 had a related patch set uploaded (by Paladox):
Add opus support to OGV video

https://gerrit.wikimedia.org/r/211725

Change 211725 abandoned by Brion VIBBER:
Add opus support to OGV video

Reason:
closing out some old patches

https://gerrit.wikimedia.org/r/211725

brion claimed this task.

This should be resolved now with updated server config.