Page MenuHomePhabricator

Thumbnail generation failing for webm file
Closed, ResolvedPublic

Description

When trying to investigate why thumbtime wasn't working as I expected I noticed that the reason for this was that the thumbnails were not being correctly generated (from this test page).

The thumbnail link which fails to load (https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/En_liten_film_om_GLAMig_data.webm/120px-seek%3D15-En_liten_film_om_GLAMig_data.webm.jpg) simply returns the error message:

There have been too many recent failed attempts (4 or more) to render this thumbnail. Please try again later.

Trying to render it at a different size (https://upload.wikimedia.org/wikipedia/commons/thumb/6/6c/En_liten_film_om_GLAMig_data.webm/150px-seek%3D15-En_liten_film_om_GLAMig_data.webm.jpg ) gives me

1Error generating thumbnail
2
3Error creating thumbnail: '/usr/bin/ffmpeg' -threads 1 -ss 12 -y -i 'http://ms-fe.svc.eqiad.wmnet/v1/AUTH_mw/wikipedia-commons-local-public.6c/6/6c/En_liten_film_om_GLAMig_data.webm?temp_url_sig=2254e77bdc987482a6d51a9a824bc2a8487ea846&temp_url_expires=1470930968' -ss 3 -s 1280x720 -f mjpeg -an -vframes 1 '/tmp/transform_13df0bd2ab6a.jpg' 2>&1
4wgMaxShellMemory: 1048576
5ffmpeg version 3.0.2-2~bpo8+1 Copyright (c) 2000-2016 the FFmpeg developers
6built with gcc 4.9.2 (Debian 4.9.2-10)
7configuration: --prefix=/usr --extra-version='2~bpo8+1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-chromaprint --enable-libx264
8libavutil 55. 17.103 / 55. 17.103
9libavcodec 57. 24.102 / 57. 24.102
10libavformat 57. 25.100 / 57. 25.100
11libavdevice 57. 0.101 / 57. 0.101
12libavfilter 6. 31.100 / 6. 31.100
13libavresample 3. 0. 0 / 3. 0. 0
14libswscale 4. 0.100 / 4. 0.100
15libswresample 2. 0.101 / 2. 0.101
16libpostproc 54. 0.100 / 54. 0.100
17Input #0, matroska,webm, from 'http://ms-fe.svc.eqiad.wmnet/v1/AUTH_mw/wikipedia-commons-local-public.6c/6/6c/En_liten_film_om_GLAMig_data.webm?temp_url_sig=2254e77bdc987482a6d51a9a824bc2a8487ea846&temp_url_expires=1470930968':
18Metadata:
19encoder : libebml v0.7.7 + libmatroska v0.8.1
20creation_time : 2016-07-04 08:59:08
21Duration: 00:06:35.97, start: 0.000000, bitrate: 2103 kb/s
22Stream #0:0: Video: vp8, yuv420p, 1280x720, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
23Stream #0:1: Audio: vorbis, 44100 Hz, mono, fltp (default)
24[swscaler @ 0xc108a0] deprecated pixel format used, make sure you did set range correctly
25Output #0, mjpeg, to '/tmp/transform_13df0bd2ab6a.jpg':
26Metadata:
27encoder : Lavf57.25.100
28Stream #0:0: Video: mjpeg, yuvj420p(pc), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
29Metadata:
30encoder : Lavc57.24.102 mjpeg
31Side data:
32unknown side data type 10 (24 bytes)
33Stream mapping:
34Stream #0:0 -> #0:0 (vp8 (native) -> mjpeg (native))
35Press [q] to stop, [?] for help
36[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
37Error while decoding stream #0:0: Invalid data found when processing input
38[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
39Error while decoding stream #0:0: Invalid data found when processing input
40[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
41Error while decoding stream #0:0: Invalid data found when processing input
42[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
43Error while decoding stream #0:0: Invalid data found when processing input
44[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
45Error while decoding stream #0:0: Invalid data found when processing input
46[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
47Error while decoding stream #0:0: Invalid data found when processing input
48[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
49Error while decoding stream #0:0: Invalid data found when processing input
50[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
51Error while decoding stream #0:0: Invalid data found when processing input
52[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
53Error while decoding stream #0:0: Invalid data found when processing input
54[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
55Error while decoding stream #0:0: Invalid data found when processing input
56[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
57Error while decoding stream #0:0: Invalid data found when processing input
58[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
59Error while decoding stream #0:0: Invalid data found when processing input
60[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
61Error while decoding stream #0:0: Invalid data found when processing input
62[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
63Error while decoding stream #0:0: Invalid data found when processing input
64[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
65Error while decoding stream #0:0: Invalid data found when processing input
66[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
67Error while decoding stream #0:0: Invalid data found when processing input
68[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
69Error while decoding stream #0:0: Invalid data found when processing input
70[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
71Error while decoding stream #0:0: Invalid data found when processing input
72[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
73Error while decoding stream #0:0: Invalid data found when processing input
74[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
75Error while decoding stream #0:0: Invalid data found when processing input
76[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
77Error while decoding stream #0:0: Invalid data found when processing input
78[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
79Error while decoding stream #0:0: Invalid data found when processing input
80[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
81Error while decoding stream #0:0: Invalid data found when processing input
82[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
83Error while decoding stream #0:0: Invalid data found when processing input
84[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
85Error while decoding stream #0:0: Invalid data found when processing input
86[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
87Error while decoding stream #0:0: Invalid data found when processing input
88[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
89Error while decoding stream #0:0: Invalid data found when processing input
90[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
91Error while decoding stream #0:0: Invalid data found when processing input
92[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
93Error while decoding stream #0:0: Invalid data found when processing input
94[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
95Error while decoding stream #0:0: Invalid data found when processing input
96[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
97Error while decoding stream #0:0: Invalid data found when processing input
98[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
99Error while decoding stream #0:0: Invalid data found when processing input
100[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
101Error while decoding stream #0:0: Invalid data found when processing input
102[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
103Error while decoding stream #0:0: Invalid data found when processing input
104[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
105Error while decoding stream #0:0: Invalid data found when processing input
106[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
107Error while decoding stream #0:0: Invalid data found when processing input
108[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
109Error while decoding stream #0:0: Invalid data found when processing input
110[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
111Error while decoding stream #0:0: Invalid data found when processing input
112[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
113Error while decoding stream #0:0: Invalid data found when processing input
114[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
115Error while decoding stream #0:0: Invalid data found when processing input
116[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
117Error while decoding stream #0:0: Invalid data found when processing input
118[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
119Error while decoding stream #0:0: Invalid data found when processing input
120[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
121Error while decoding stream #0:0: Invalid data found when processing input
122[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
123Error while decoding stream #0:0: Invalid data found when processing input
124[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
125Error while decoding stream #0:0: Invalid data found when processing input
126[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
127Error while decoding stream #0:0: Invalid data found when processing input
128[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
129Error while decoding stream #0:0: Invalid data found when processing input
130[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
131Error while decoding stream #0:0: Invalid data found when processing input
132[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
133Error while decoding stream #0:0: Invalid data found when processing input
134[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
135Error while decoding stream #0:0: Invalid data found when processing input
136[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
137Error while decoding stream #0:0: Invalid data found when processing input
138[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
139Error while decoding stream #0:0: Invalid data found when processing input
140[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
141Error while decoding stream #0:0: Invalid data found when processing input
142[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
143Error while decoding stream #0:0: Invalid data found when processing input
144[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
145Error while decoding stream #0:0: Invalid data found when processing input
146[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
147Error while decoding stream #0:0: Invalid data found when processing input
148[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
149Error while decoding stream #0:0: Invalid data found when processing input
150[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
151Error while decoding stream #0:0: Invalid data found when processing input
152[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
153Error while decoding stream #0:0: Invalid data found when processing input
154[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
155Error while decoding stream #0:0: Invalid data found when processing input
156[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
157Error while decoding stream #0:0: Invalid data found when processing input
158[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
159Error while decoding stream #0:0: Invalid data found when processing input
160[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
161Error while decoding stream #0:0: Invalid data found when processing input
162[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
163Error while decoding stream #0:0: Invalid data found when processing input
164[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
165Error while decoding stream #0:0: Invalid data found when processing input
166[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
167Error while decoding stream #0:0: Invalid data found when processing input
168[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
169Error while decoding stream #0:0: Invalid data found when processing input
170[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
171Error while decoding stream #0:0: Invalid data found when processing input
172[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
173Error while decoding stream #0:0: Invalid data found when processing input
174[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
175Error while decoding stream #0:0: Invalid data found when processing input
176[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
177Error while decoding stream #0:0: Invalid data found when processing input
178[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
179Error while decoding stream #0:0: Invalid data found when processing input
180[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
181Error while decoding stream #0:0: Invalid data found when processing input
182[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
183Error while decoding stream #0:0: Invalid data found when processing input
184[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
185Error while decoding stream #0:0: Invalid data found when processing input
186[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
187Error while decoding stream #0:0: Invalid data found when processing input
188[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
189Error while decoding stream #0:0: Invalid data found when processing input
190[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
191Error while decoding stream #0:0: Invalid data found when processing input
192[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
193Error while decoding stream #0:0: Invalid data found when processing input
194[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
195Error while decoding stream #0:0: Invalid data found when processing input
196[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
197Error while decoding stream #0:0: Invalid data found when processing input
198[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
199Error while decoding stream #0:0: Invalid data found when processing input
200[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
201Error while decoding stream #0:0: Invalid data found when processing input
202[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
203Error while decoding stream #0:0: Invalid data found when processing input
204[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
205Error while decoding stream #0:0: Invalid data found when processing input
206[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
207Error while decoding stream #0:0: Invalid data found when processing input
208[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
209Error while decoding stream #0:0: Invalid data found when processing input
210[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
211Error while decoding stream #0:0: Invalid data found when processing input
212[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
213Error while decoding stream #0:0: Invalid data found when processing input
214[vp8 @ 0xbf9f80] Discarding interframe without a prior keyframe!
215Error while decoding stream #0:0: Invalid data found when processing input
216frame= 1 fps=0.0 q=5.0 Lsize= 47kB time=00:00:00.03 bitrate=11600.0kbits/s speed=0.61x
217video:47kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
218Conversion failed!

Related Objects

Event Timeline

brion claimed this task.
brion subscribed.

Issue seems to have been resolved, thumb works now.