Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App getting crashed, if we upload a video of more than 20 minutes. #63

Closed
govind-v-natex opened this issue Dec 17, 2021 · 8 comments · Fixed by #67
Closed

App getting crashed, if we upload a video of more than 20 minutes. #63

govind-v-natex opened this issue Dec 17, 2021 · 8 comments · Fixed by #67

Comments

@govind-v-natex
Copy link

If we upload a video of more than 20 minutes, app is getting crashed, we have tested the video of duration 30 sec, 01 minute, 05 minutes, 10 minutes and 15 minutes, it's compressing fine, the video more than of 20 minutes is not compressing and giving us this log (I'm attaching the log of the RN-Debugger that we get, if we try to compress the 20min video). Kindly have a look into this.

-----------Debugger Logs---------------------------------
Failed to convert base64: Cannot Open
VideoCompressionScreen.js:91 error TypeError: Cannot read property 'path' of undefined
at _callee3$ (VideoCompressionScreen.js:80)
at tryCatch (runtime.js:63)
at Generator.invoke [as _invoke] (runtime.js:294)
at Generator.next (runtime.js:119)
at tryCatch (runtime.js:63)
at invoke (runtime.js:155)
at runtime.js:165
at tryCallOne (core.js:37)
at core.js:123
at JSTimers.js:248

@numandev1
Copy link
Owner

@govind-v-natex can you send me the that video because it is not happening this on my side?

@govind-v-natex
Copy link
Author

Hello @nomi9995 , I have sent you the video in the mail with subject line: Sample Video getting crashed in the application
as GitHub is not allowing to send a large file, please have a look into this !!!

@govind-v-natex
Copy link
Author

Any update @nomi9995 ?

@numandev1
Copy link
Owner

@govind-v-natex I am too much busy with office work. hopefully i will see it today

@govind-v-natex
Copy link
Author

@nomi9995 i want to add one more point i was checking with one video of duration 30 sec but the size of the video is 300mb, the app is crashed, i not sure it's happening because of the size of the video or the duration of the video.

No worries, take your time !!!

@numandev1
Copy link
Owner

@govind-v-natex I have released a new version of the compressor. can you try this version?

yarn add react-native-compressor@1.2.1

@govind-v-natex
Copy link
Author

govind-v-natex commented Dec 21, 2021 via email

@govind-v-natex
Copy link
Author

govind-v-natex commented Dec 21, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants