Skip to content

Thumbnails in backend#1708

Open
Arnei wants to merge 1 commit into
opencast:developfrom
Arnei:thumbnails-in-backend
Open

Thumbnails in backend#1708
Arnei wants to merge 1 commit into
opencast:developfrom
Arnei:thumbnails-in-backend

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Jun 3, 2026

THIS PR WILL BREAK THUMBNAIL GENERATION WITHOUT THE RELATED BACKEND PR: opencast/opencast#7698

Fixes #814.

Currently when generating a thumbnail, we create it here in the frontend and then send it to the backend. With this patch, we instead send the time stamp it was generated from to the backend.

The goal is to let the backend generate the actual thumbnail, instead of the frontend. This avoids quality issues when generating thumbnails from low resolution videos in the frontend. It also allows for respecting institution specific thumbnail settings (e.g. encoding profiles).

The downside is that this relies on workflow properties. As such, admins will have to adapt their workflows or thumbnail generation will be broken for
them.

This change should not impact the user experience of using the editor frontend.

How to test this

Requires changes in the backend. Can otherwise be tested as is.

Currently when generating a thumbnail, we create it here
in the frontend and then send it to the backend. With this
patch, we instead send the timestamp it was generated from
to the backend.

The goal is to let the backend generate the actual thumbnail,
instead of the frontend. This avoids quality issues when
generating thumbnails from low resolution videos in the
frontend. It also allows for respecting institituion specific
thumbnail settings (e.g. encoding profiles).

The downside is that this relies on workflow properties. As
such, admins will have to adapt their workflows or thumbnail
generation will be broken for
them.

This change should not impact the user experience of using
the editor frontend.
@Arnei Arnei added the type:enhancement New feature or request label Jun 3, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 3, 2026

This pull request is deployed at test.editor.opencast.org/1708/2026-06-03_15-05-20/ .
It might take a few minutes for it to become available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alternate approach of creating the thumbnails on the client side

1 participant