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

Details

Reference
bz73150

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).
Rubin16 created this task.Nov 7 2014, 7:35 PM

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...

Reedy added a comment.Nov 8 2014, 2:28 PM

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

Rillke updated the task description. (Show Details)Jun 29 2015, 9:31 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptJun 29 2015, 9:31 PM

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

Reason:
closing out some old patches

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 21 2015, 2:33 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 5:56 PM
brion closed this task as Resolved.Sep 16 2015, 5:25 PM
brion claimed this task.

This should be resolved now with updated server config.