Skip to content

Setting dataSource fails with 0x80000000 on Samsung devices #208

Open
@kackogut

Description

@kackogut

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions