nextcloud / nextcloud/previewgenerator
Video previews are generated but not shown
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 520
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I generated all previews (with the inital command):
sudo -u www-data php /var/www/nextcloud/occ preview:generate-all -vvv
And they are done:
2022-11-21T10:38:55+00:00 Scanning folder /Dennis/files/Photos/2022/11
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221101_120324.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221101_132818.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221101_132830.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221101_135123.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221102_161841.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221106_124829.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221106_132902.mp4
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221113_121812.mp4
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221113_122010.mp4
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221113_122025.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221113_173338.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221114_141021.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221114_141031.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/20221119_085407.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/IMG_20221106_111026.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/2022/11/IMG_20221106_111028.jpg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Photos/Readme.md
2022-11-21T10:38:55+00:00 Scanning folder /Dennis/files/Talk
2022-11-21T10:38:55+00:00 Scanning folder /Dennis/files/Vorlagen
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Business model canvas.odg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Diagram & table.ods
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Elegant.odp
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Expense report.ods
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Flowchart.odg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Invoice.odt
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Letter.odt
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Meeting notes.md
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Mindmap.odg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Org chart.odg
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Product plan.md
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Readme.md
2022-11-21T10:38:55+00:00 Generating previews for /Dennis/files/Vorlagen/Simple.odp
My config:
'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\\Image',
7 => 'OC\\Preview\\Photoshop',
8 => 'OC\\Preview\\TIFF',
9 => 'OC\\Preview\\SVG',
10 => 'OC\\Preview\\Font',
11 => 'OC\\Preview\\MP3',
12 => 'OC\\Preview\\Movie',
13 => 'OC\\Preview\\MKV',
14 => 'OC\\Preview\\MP4',
15 => 'OC\\Preview\\AVI',
),
Still it does not show preview pictures for Videos when I browser the media.
Did I forget a configuration?
Thanks,
Dennis
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 the reported behavior with the preview:generate-all -vvv command and the listed enabledPreviewProviders configuration, focusing on the MP4, AVI, and Movie providers. Trace whether generated video previews are available to the media browser; done means identifying the missing behavior or configuration needed for video preview images to appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100