-
-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
1746 videos have failed to be re-encoded in https://farm.openzim.org/pipeline/62191f74-ff73-473d-acc3-49af55fb5f8b/debug (but 2869 have succeeded, so the ratio is not totally bad ^^)
We unfortunately do not have the detailed stdout/stderr of ffmpeg in the log.
Sample error:
[kolibri2zim::2024-03-02 00:04:42,677] ERROR:Error re-encoding 934dda95a398ace5acc82d05496c5a7f.mp4: Command '['/usr/bin/env', 'ffmpeg', '-y', '-i', 'file:/output/tmp7ct09nmy/934dda95a398ace5acc82d05496c5a7f.mp4', '-max_muxing_queue_size', '9999', '-codec:v', 'libvpx', '-quality', 'best', '-b:v', '128k', '-qmin', '18', '-qmax', '40', '-vf', "scale='480:trunc(ow/a/2)*2'", '-codec:a', 'libvorbis', '-ar', '44100', '-b:a', '48k', '-threads', '1', 'file:/tmp/tmpzcps5jbb/video.tmp.webm']' returned non-zero exit status 1.
[kolibri2zim::2024-03-02 00:04:42,678] ERROR:Command '['/usr/bin/env', 'ffmpeg', '-y', '-i', 'file:/output/tmp7ct09nmy/934dda95a398ace5acc82d05496c5a7f.mp4', '-max_muxing_queue_size', '9999', '-codec:v', 'libvpx', '-quality', 'best', '-b:v', '128k', '-qmin', '18', '-qmax', '40', '-vf', "scale='480:trunc(ow/a/2)*2'", '-codec:a', 'libvorbis', '-ar', '44100', '-b:a', '48k', '-threads', '1', 'file:/tmp/tmpzcps5jbb/video.tmp.webm']' returned non-zero exit status 1.
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/local/lib/python3.12/concurrent/futures/process.py", line 263, in _process_worker
r = call_item.fn(*call_item.args, **call_item.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/retrying.py", line 56, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/retrying.py", line 266, in call
raise attempt.get()
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/retrying.py", line 301, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "/usr/local/lib/python3.12/site-packages/six.py", line 719, in reraise
raise value
File "/usr/local/lib/python3.12/site-packages/retrying.py", line 251, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/kolibri2zim/debug.py", line 55, in safer_reencode
return reencode(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/zimscraperlib/video/encoding.py", line 82, in reencode
ffmpeg.check_returncode()
File "/usr/local/lib/python3.12/subprocess.py", line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/usr/bin/env', 'ffmpeg', '-y', '-i', 'file:/output/tmp7ct09nmy/934dda95a398ace5acc82d05496c5a7f.mp4', '-max_muxing_queue_size', '9999', '-codec:v', 'libvpx', '-quality', 'best', '-b:v', '128k', '-qmin', '18', '-qmax', '40', '-vf', "scale='480:trunc(ow/a/2)*2'", '-codec:a', 'libvorbis', '-ar', '44100', '-b:a', '48k', '-threads', '1', 'file:/tmp/tmpzcps5jbb/video.tmp.webm']' returned non-zero exit status 1.
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/kolibri2zim/scraper.py", line 482, in video_conversion_completed
future.result()
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
subprocess.CalledProcessError: Command '['/usr/bin/env', 'ffmpeg', '-y', '-i', 'file:/output/tmp7ct09nmy/934dda95a398ace5acc82d05496c5a7f.mp4', '-max_muxing_queue_size', '9999', '-codec:v', 'libvpx', '-quality', 'best', '-b:v', '128k', '-qmin', '18', '-qmax', '40', '-vf', "scale='480:trunc(ow/a/2)*2'", '-codec:a', 'libvorbis', '-ar', '44100', '-b:a', '48k', '-threads', '1', 'file:/tmp/tmpzcps5jbb/video.tmp.webm']' returned non-zero exit status 1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working