Closed ronakbuoyancy closed 5 months ago
sorry I missed your comment. Can I check options of your showEditor
?
And which platform you face this error? ios or android?
I check with your video (Trim from 00:03, 3 seconds from start), it's fine, I'm using real device Xiami Redmi 8A, Android 9 API 28.
This is my options:
showEditor(result.assets![0]?.uri || '', {
maxDuration: 20,
})
please upgrade to 1.0.8 and check again
For some video, Trimming is not working if video trim for initial seconds. It's corrupted or convert to video to audio. It's happened only for compressed video like whatsApp compress video which is small size. I attached sample video, trim from initial 2 seconds and save it and check video output
https://github.com/maitrungduc1410/react-native-video-trim/assets/102415580/87d3ed71-d975-4687-a34b-83032e2153a6
Platform : Android "react-native": "^0.72.5", "react-native-video-trim": "^1.0.4", "node":"18.17.1"