🎞 Hardware-accelerated video transcoding using Android MediaCodec APIs. Supports cropping, concatenation, clipping, audio processing, video speed and much more.
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:
When trying to parse the
.mov
file on some devices Transcoder fails with:java.lang.RuntimeException: setDataSource failed: status = 0x80000000
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: