mSimpleDraweeView.setImageURI(Uri.fromFile(new File(videoPath)));
Sometimes , for some files, the videothumbnail fails. any idea how the video thumbnails are loaded in fresco?
Hi @Abthul, we are relying on Android's ThumbnailUtils in our LocalVideoThumbnailProducer:
@lambdapioneer Yeah, i checked it, but it doesn't load any video thumbnails. I have modified the fresco samples comparison app to load video uris instead of image uris, it doesn't show any thumbnails, just modified the projection and selection and the uri. It shows Blank Thumbnails and the Loading... text doesn't change. What could be the problem.
Same kind of implementation present in Glide as well, there they go one step further and directly use the MediaMetadataRetriever instead of Thumbnail utils. It works fine with the Glide. I would want to try the Fresco for my project as it has real Loading, instead of Cache Loading in Glide.
Could you throw some points on this video thumbnail loading failure.
Most helpful comment
@lambdapioneer Yeah, i checked it, but it doesn't load any video thumbnails. I have modified the fresco samples comparison app to load video uris instead of image uris, it doesn't show any thumbnails, just modified the projection and selection and the uri. It shows Blank Thumbnails and the Loading... text doesn't change. What could be the problem.
Same kind of implementation present in Glide as well, there they go one step further and directly use the MediaMetadataRetriever instead of Thumbnail utils. It works fine with the Glide. I would want to try the Fresco for my project as it has real Loading, instead of Cache Loading in Glide.
Could you throw some points on this video thumbnail loading failure.