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

Setting dataSource fails with 0x80000000 on Samsung devices #208

Open
kackogut opened this issue Oct 24, 2024 · 1 comment
Open

Setting dataSource fails with 0x80000000 on Samsung devices #208

kackogut opened this issue Oct 24, 2024 · 1 comment

Comments

@kackogut
Copy link

kackogut commented Oct 24, 2024

When trying to parse the .mov file on some devices Transcoder fails with:
java.lang.RuntimeException: setDataSource failed: status = 0x80000000

Transcoder.into(resultFileAbsolutePath)
            .addDataSource(sourceFileAbsolutePath)
            .setVideoTrackStrategy(videoStrategy)
            .setListener(new TranscoderListener()
            {

I had the same error when trying to get file bitrate using mediaMetadataRetriever.setDataSource(sourceFileAbsolutePath()); so I guess you are using something simillar. But when I get the bitrate Transcoder and the library fails anyway.

I tried setting the dataSource different way, like using FileDescriptor but it doesn't work.

It works correctly on most devices that I tested with, but always fails on Samsung devices that I tested on:

  • Samsung A14, Android 14
  • Samsung Galaxy S8, Android 9
@natario1
Copy link
Member

Can you attach the file?

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

2 participants