Feature Wiki
Zakładka
Automatic Preview Image for Mediacast Videos
Widok ogólny strony
[Ukryj]1 Initial Problem
However it is cumbersome to set a preview image.
- Either you have to generate it in advance. Then you can upload the preview image explicitly while uploading the video.
- Or you have to edit the video after uploading it. Then you can click on the button "extract preview image".



2 Conceptual Summary
When uploading a video, a preview image will be extracted by default.
The user can override this, if he specifies a custom image.
3 User Interface Modifications
3.1 List of Affected Views
Mediacast > Content > Manage > Add
3.2 User Interface Details

Preview Image
- (x) Extract from Video
- Second [1]
- ( ) Upload Custom Image
- [Select File]
- ( ) None
3.2.1 Clarification, 12 Nov 2020
Due to the feature https://docu.ilias.de/goto_docu_wiki_wpage_6198_1357.html the creation screens will be simplified. There won't be an "Extract Preview Image" function in the creation screen. ILIAS will automatically extract a picture at second 1. Afterwards the editing screen will be presented and the user can choose a different second or preview file.
3.3 New User Interface Concepts
-
4 Technical Information
No technical issues.
5 Privacy Information
No privacy implications.
6 Security Implications
No security implications.
7 Contact
- Author of the Request: Kiegel, Colin [kiegel]
- Maintainer: Killing, Alexander [alex]
- Implementation of the feature is done by: {The maintainer must add the name of the implementing developer.}
8 Funding
- …
9 Discussion
JourFixe, ILIAS [jourfixe], 30 MAR 2020 : Suggestion is highly appreciate and scheduled for ILIAS 7.
Schmid, Fabian [fschmid], 30 MAR 2020: as mentioned in the JF, this can be deposited as a PreProcessor with the upload service, such as counting PDF pages:
Modules/File/classes/PreProcessors/class.ilCountPDFPagesPreProcessors.php
ans it's usage:
Modules/File/classes/class.ilObjFile.php:283if ($upload->hasBeenProcessed() !== true) {
if (PATH_TO_GHOSTSCRIPT !== "") {
$upload->register(new ilCountPDFPagesPreProcessors());
}
$upload->process();
}
Hilbert, Mirco [mirco.hilbert], 24 NOV 2020: Currently, the preview image feature only supports videos which were uploaded directly in ILIAS, not video streams which are referenced by an URL, although FFmpeg supports operating on streams as well. But maybe this will be an other feature request?
10 Implementation

Test Cases
- 42479 : mp4-Video hochladen
Approval
Approved at 2020-10-28 by Kiegel, Colin [kiegel].
Ostatnio zmieniono:: 24. Lis 2020, 15:35, Hilbert, Mirco [mirco.hilbert]