You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a thumbnail I get "MissingPluginException(No implementation found for method data on channel plugins.justsoft.xyz/video_thumbnail)" initially (current test case is on about 20 files done in a series
When navigating back to the page, the same code executes fine later
The code is: try { uint8list2 = await video_thumbnail.VideoThumbnail.thumbnailData( video: '$documentsDirectory/files/$file_name', imageFormat: video_thumbnail.ImageFormat.JPEG, maxWidth: 200, // specify the width of the thumbnail, let the height auto-scaled to keep the source aspect ratio quality: 25, ); } catch (e) { logger.d('thumbnail for $file_name error'); logger.e(e); }
The error seems to take about 45 seconds to happen, it is not instantaneous and again, once it stops it does not seem to reoccur. My theory is that it is some form of initialization, but I have no idea how to test/detect or wait for it.
The text was updated successfully, but these errors were encountered:
Testing on Galaxy S8 with Android version 9
When creating a thumbnail I get "MissingPluginException(No implementation found for method data on channel plugins.justsoft.xyz/video_thumbnail)" initially (current test case is on about 20 files done in a series
When navigating back to the page, the same code executes fine later
The code is:
try { uint8list2 = await video_thumbnail.VideoThumbnail.thumbnailData( video: '$documentsDirectory/files/$file_name', imageFormat: video_thumbnail.ImageFormat.JPEG, maxWidth: 200, // specify the width of the thumbnail, let the height auto-scaled to keep the source aspect ratio quality: 25, ); } catch (e) { logger.d('thumbnail for $file_name error'); logger.e(e); }
The error seems to take about 45 seconds to happen, it is not instantaneous and again, once it stops it does not seem to reoccur. My theory is that it is some form of initialization, but I have no idea how to test/detect or wait for it.
The text was updated successfully, but these errors were encountered: