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
ImagePicker.openPicker({
mediaType: "video"
}).then(images => {
let uri = images.path
const videoTools = new VideoTools(uri);
videoTools.compress({ quality: 'low' }).then(details => {
});
})
Getting below error in both android and ios :
Possible Unhandled Promise Rejection (id: 7):
"An error occur while getting input file details. Please check your input file details"
The text was updated successfully, but these errors were encountered:
The "An error occurred while getting input file details. Please check your input file details" appear when there's an error while getting media details. So can you properly run getDetails and check your logs?
My file path is something like that :
file:///Users/mac/Library/Developer/CoreSimulator/Devices/E60F33EF-3829-4D60-AAEA-A4AA49E5C9A0/data/Containers/Data/Application/C8B2EA75-F278-4206-9EE9-1DDD2362AC22/tmp/react-native-image-crop-picker/06475019-8BB3-44AC-82CF-3C32CCE0C478.mp4
and i used below code to get details but gives error.
let uri = images.path
I'm using following code to compress video.
ImagePicker.openPicker({
mediaType: "video"
}).then(images => {
let uri = images.path
const videoTools = new VideoTools(uri);
videoTools.compress({ quality: 'low' }).then(details => {
Getting below error in both android and ios :
Possible Unhandled Promise Rejection (id: 7):
"An error occur while getting input file details. Please check your input file details"
The text was updated successfully, but these errors were encountered: