Page MenuHomePhabricator

Transcode gives "timeout"-error first (and later the full error message)
Closed, ResolvedPublic

Description

Steps to reproduce:

  1. Goto https://commons.wikimedia.org/wiki/File:Treefort2013EdmundWayneBassoonist.ogv or https://commons.wikimedia.org/wiki/File:Membrane-Assembly-during-the-Infection-Cycle-of-the-Giant-Mimivirus-ppat.1003367.s004.ogv
  2. The failed transcode gives "timeout" error

Expected result:

  1. No timeout-error because the videos are quite small and short
  2. or: more information about the timeout error.

Version: unspecified
Severity: normal

Details

Reference
bz49616

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:52 AM
bzimport set Reference to bz49616.

'/usr/bin/avconv' -y -i '/tmp/localcopy_4973a2a880b4-1.ogv' -threads 1 -skip_threshold 0 -bufsize 6000k -rc_init_occupancy 4000 -qmin 1 -qmax 51 -vb '512000' -vcodec libvpx -g '128' -keyint_min '128' -f webm -s 640x360 -aq '1' -ar '44100' -acodec libvorbis -pass '2' -passlogfile '/tmp/transcode_360p.webm45365bf19d72-1.webm.log' /tmp/transcode_360p.webm45365bf19d72-1.webm

Exitcode: 1
Memory: 4194304

avconv version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers

built on Apr  2 2013 17:02:36 with gcc 4.6.3

Input #0, ogg, from '/tmp/localcopy_4973a2a880b4-1.ogv':

Duration: 00:00:00.06, start: 0.000000, bitrate: 439152 kb/s
  Stream #0.0: Video: theora, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 22500 tbr, 90k tbn, 90k tbc
  Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16, 80 kb/s
  Metadata:
    ENCODER         : Lavf53.21.1

[buffer @ 0x1bceda0] w:1280 h:720 pixfmt:yuv420p
[scale @ 0x1bcc260] w:1280 h:720 fmt:yuv420p -> w:640 h:360 fmt:yuv420p flags:0x4
[libvpx @ 0x1dc01e0] v1.1.0
Output #0, webm, to '/tmp/transcode_360p.webm45365bf19d72-1.webm':

Metadata:
  encoder         : Lavf53.21.1
  Stream #0.0: Video: libvpx, yuv420p, 640x360 [PAR 1:1 DAR 16:9], q=1-51, pass 2, 512 kb/s, 1k tbn, 22500 tbc
  Stream #0.1: Audio: libvorbis, 44100 Hz, stereo, s16
  Metadata:
    ENCODER         : Lavf53.21.1

Stream mapping:

Stream #0:0 -> #0:0 (theora -> libvpx)
Stream #0:1 -> #0:1 (vorbis -> libvorbis)

Press ctrl-c to stop encoding
[webm @ 0x1bcdbe0] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 1 >= 1
av_interleaved_write_frame(): Invalid argument

(In reply to comment #1)
changed summary

jgerber wrote:

a fix to not set error to timeout is in git but not deployed yet.
https://gerrit.wikimedia.org/r/#/c/68636/