opencast-editor icon indicating copy to clipboard operation
opencast-editor copied to clipboard

Alternate approach of creating the thumbnails on the client side

Open ziegenberg opened this issue 2 years ago • 4 comments

The approach of creating the thumbnail client side has a considerable disadvantage. The thumbnail quality depends on the video editor preview, which usually has a lower quality/resolution. That should be improved.

Originally posted by @geichelberger in https://github.com/opencast/opencast-editor/issues/760#issuecomment-1247151610

ziegenberg avatar Oct 05 '22 15:10 ziegenberg

How could this be improved? We are also very aggressive with the quality of the editor previews pushing them very low.

mtneug avatar Oct 18 '22 23:10 mtneug

Instead of transmitting the thumbnail, we could push the timestamp and the source flavor or implement an endpoint that returns a server-side generated thumbnail. The thumbnails need to be server-side generated.

A higher resolution makes no sense because of the increased storage requirements and loading time.

geichelberger avatar Oct 19 '22 08:10 geichelberger

ok so back to server-side :D I don't see another way either.

mtneug avatar Oct 19 '22 15:10 mtneug

I wouldn't go as far as and call it "back to server-side". We now also have an instant user preview generated on the client side... 😬 Let's get the best of both worlds!

ziegenberg avatar Oct 19 '22 15:10 ziegenberg