nextcloud / nextcloud/previewgenerator
Movie preview generation failed Output - Multiple Errors
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
the following message gets generated for iPhone "live" pictures.
Movie preview generation failed Output: {
"0": "ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers",
"1": " built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)",
"2": " configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared",
"3": " libavutil 56. 31.100 / 56. 31.100",
"4": " libavcodec 58. 54.100 / 58. 54.100",
"5": " libavformat 58. 29.100 / 58. 29.100",
"6": " libavdevice 58. 8.100 / 58. 8.100",
"7": " libavfilter 7. 57.100 / 7. 57.100",
"8": " libavresample 4. 0. 0 / 4. 0. 0",
"9": " libswscale 5. 5.100 / 5. 5.100",
"10": " libswresample 3. 5.100 / 3. 5.100",
"11": " libpostproc 55. 5.100 / 55. 5.100",
"12": "Guessed Channel Layout for Input Stream #0.1 : mono",
"13": "Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/PATH/TO/FILE/iPhone/2021/12/21-12-03 16-56-36 9737.mov':",
"14": " Metadata:",
"15": " major_brand : qt",
"16": " minor_version : 0",
"17": " compatible_brands: qt",
"18": " creation_time : 2021-12-03T15:56:38.000000Z",
"...": "Over 20 items, aborting normalization"
}
Is anyone facing a similar issue?
I mean I can see the thumbnail of the file, soooo?
Nextcloud server version: 22.2.3
Nextcloud client version: 4.1.0.17
Preview generator version: 3.3.0
iOS/iPadOS: 15.1
all up-to-date
How can I get rid of that error message?
Disabling the "live" photos?
My config.php "preview configuration":
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\TXT',
1 => 'OC\\Preview\\MarkDown',
2 => 'OC\\Preview\\OpenDocument',
3 => 'OC\\Preview\\PDF',
4 => 'OC\\Preview\\MSOffice2003',
5 => 'OC\\Preview\\MSOfficeDoc',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\Image',
8 => 'OC\\Preview\\Photoshop',
9 => 'OC\\Preview\\TIFF',
10 => 'OC\\Preview\\SVG',
11 => 'OC\\Preview\\Font',
12 => 'OC\\Preview\\MP3',
13 => 'OC\\Preview\\Movie',
14 => 'OC\\Preview\\MKV',
15 => 'OC\\Preview\\MP4',
16 => 'OC\\Preview\\AVI',
17 => 'OC\\Preview\\ARW',
),
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing movie preview generation for an iPhone Live Photo and inspect the reported FFmpeg output alongside the preview-generator behavior. Determine whether the failure is expected, an error-reporting problem, or a compatibility issue, then verify that the resulting preview is generated without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100