justsoft / video_thumbnail

This plugin generates thumbnail from video file or URL. It returns image in memory or writes into a file. It offers rich options to control the image format, resolution and quality. Supports iOS and Android.
MIT License
183 stars 225 forks source link

Thumbnail generation fails for uploaded videos on our server only #162

Open YofarDev opened 3 months ago

YofarDev commented 3 months ago

Issue Description:

I am experiencing an issue with the video_thumbnail package where I am unable to generate thumbnails for videos that have been uploaded to our server. Both on Android & iOS, on physical devices and emulators.

Here's the workflow:

  1. I pick a video locally from my phone, and generate a thumbnail. This works as expected.
  2. I then upload the same video to our server and fetch it. At this point, the thumbnail generation fails with the error message: "No implementation found for method file on channel plugins.justsoft.xyz". (the video player is reading the video correctly)

Interestingly, generating a thumbnail for another random network video works fine (for example, this one).

Before to upload the video, I use video_trimmer to trim the video (but I can still generate a thumbnail locally after this step), and after that there is nothing done server-side to the video.

Question:

Is there any specific server-side configuration that needs to be done for the video_thumbnail package to work correctly?

Any help or guidance would be greatly appreciated.

Environment: