souvik-ghosh / react-native-create-thumbnail

iOS/Android thumbnail generator with support for both local and remote videos
MIT License
246 stars 104 forks source link

Thumbnail not creating for .mov file (videos) in ios #113

Open Deepali-Rai opened 3 weeks ago

Deepali-Rai commented 3 weeks ago

{ err: [Error: Error Domain=AVFoundationErrorDomain Code=-11832 "Cannot Open" UserInfo={NSLocalizedFailureReason=This media cannot be used., NSLocalizedDescription=Cannot Open, NSUnderlyingError=0x30176fea0 {Error Domain=NSOSStatusErrorDomain Code=-12431 "(null)"}}] }

in latest version

MadeByRaymond commented 2 weeks ago

I am having this same issue as well. Is it a bug in the latest version, do I need to downgrade?

p1d3c commented 2 weeks ago

Facing same issue when I'm trying to upload video with duration less than 5 seconds. Some ideas how to fix this?

YasirNaeemHw commented 2 days ago

@p1d3c @MadeByRaymond @Deepali-Rai I get image of thumbnail after change in " timeStamp" const createVideoThumbnail = () => { createThumbnail({ url: '', timeStamp:100, format:'png' }) .then(response => console.log({ response })) .catch(err => console.log({ err })); }