树莓派版本开启视频缩略图错误


#1

树莓派版本开启视频缩略图失败,seahub.log错误日志如下:

2019-03-11 03:04:41,497 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /thumbnail/ecb8c723-f2f5-4d2f-8500-b2296261d361/create/
Traceback (most recent call last):
File “/usr/local/seafile/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/thirdpart/Django-1.11.13-py2.7.egg/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/seahub/auth/decorators.py”, line 70, in _wrapped_view
return view_func(request, *args, **kwargs)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/seahub/thumbnail/views.py”, line 56, in thumbnail_create
success, status_code = generate_thumbnail(request, repo_id, size, path)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/seahub/thumbnail/utils.py”, line 116, in generate_thumbnail
thumbnail_file, file_size)
File “/usr/local/seafile/seafile-server-6.3.2/seahub/seahub/thumbnail/utils.py”, line 149, in create_video_thumbnails
clip = VideoFileClip(inner_path)
File “/usr/local/lib/python2.7/dist-packages/moviepy/video/io/VideoFileClip.py”, line 91, in init
fps_source=fps_source)
File “/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py”, line 33, in init
fps_source)
File “/usr/local/lib/python2.7/dist-packages/moviepy/video/io/ffmpeg_reader.py”, line 256, in ffmpeg_parse_infos
proc = sp.Popen(cmd, **popen_params)
File “/usr/lib/python2.7/subprocess.py”, line 391, in init
errread, errwrite)
File “/usr/lib/python2.7/subprocess.py”, line 1025, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error

seahub_settings.py 配置文件内容如下:

-- coding: utf-8 --

SECRET_KEY = “^%u%z9-%1=f4f=og#net7i_fujw90z&0@^ip8h#hrdaf=3_v@2”

ENABLE_THUMBNAIL = True

THUMBNAIL_IMAGE_SIZE_LIMIT = 30

THUMBNAIL_ROOT = ‘/usr/local/seafile/seahub-data/thumbnail/thumb/’

ENABLE_VIDEO_THUMBNAIL = True

THUMBNAIL_VIDEO_FRAME_TIME = 5

THUMBNAIL_SIZE_FOR_ORIGINAL = 1024

请问各位大神这该如何解决?