shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 323 forks source link

Missing argument "path" code: 'EINVAL' #334

Closed luvyoon closed 3 years ago

luvyoon commented 3 years ago

Current Behavior

when chose video with "@react-native-community/cameraroll"; and i got 'assets-library://asset/asset.mp4?id=FA8B46D9-7F44-457C-A1FC-E4DDFD504CF2&ext=mp4', uri. but after compresstion with ProcessingManager.compress , uri become "file:///var/mobile/Containers/Data/Application/0BEE9585-717C-4A8E-B956-84C130614A50/Documents/output/RNTrimmer-Temp-Video2wNMEKc8NExZjhy9NZWK-compressed.mp4 " , using RNFetchBlob.fs to find file size

got error Missing argument "path" code: 'EINVAL'

Expected Behavior

Expect get actual path

Your Environment

software version
react-native-video-processing "2.0.0",
react-native 0.63.4
node 14