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

[Android] Large Videos (>900MB) cannot be compressed #273

Open
1 of 2 tasks
kusche12 opened this issue Mar 3, 2024 · 0 comments
Open
1 of 2 tasks

[Android] Large Videos (>900MB) cannot be compressed #273

kusche12 opened this issue Mar 3, 2024 · 0 comments

Comments

@kusche12
Copy link

kusche12 commented Mar 3, 2024

Current behavior

Trying to compress a video that is 900MB on Android and getting an error before it tries beginning the compression:
[Error: setDataSource failed: status = 0x80000000]

Smaller videos around 250MB work fine on Android, and I do not have this problem on iOS

Expected behavior

I should be able to compress large videos on Android

Platform

  • Android
  • iOS

React Native Version

0.73.5

React Native Compressor Version

1.8.24

Reproducible Steps And Demo

Select a video with react-native-document-picker, save the source path, and use that source path as the param in compressor:

Video.compress(
      filePath,
      {
        compressionMethod: 'auto',
      });
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

No branches or pull requests

1 participant