Skip to content

Issue with big .mp4 files #5

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

Open
JCYDigitalinnov opened this issue Jan 22, 2024 · 0 comments
Open

Issue with big .mp4 files #5

JCYDigitalinnov opened this issue Jan 22, 2024 · 0 comments

Comments

@JCYDigitalinnov
Copy link

Thank you for this library! However, I've encountered some issues.

I don't face any problems when loading low MB .mp4 files via the cloud and even long videos (but low MB files)

BUT when I attempt to load the 423MB to 970MB, I encounter the following error:

{
  "error": {
    "errorStackTrace": "androidx.media3.exoplayer.ExoPlaybackException: Source error\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:684)\n\tat androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:656)\n\tat android.os.Handler.dispatchMessage(Handler.java:102)\n\tat android.os.Looper.loopOnce(Looper.java:210)\n\tat android.os.Looper.loop(Looper.java:299)\n\tat android.os.HandlerThread.run(HandlerThread.java:67)\nCaused by: androidx.media3.datasource.FileDataSource$FileDataSourceException\n\tat androidx.media3.datasource.FileDataSource.open(FileDataSource.java:125)\n\tat androidx.media3.datasource.DefaultDataSource.open(DefaultDataSource.java:272)\n\tat androidx.media3.datasource.StatsDataSource.open(StatsDataSource.java:86)\n\tat androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1006)\n\tat androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:414)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)\n\tat java.lang.Thread.run(Thread.java:1012)\n",
    "errorCode": "22008",
    "errorException": "androidx.media3.exoplayer.ExoPlaybackException: Source error",
    "errorString": "ExoPlaybackException: ERROR_CODE_IO_READ_POSITION_OUT_OF_RANGE"
  }
}

I just copied the code from the example. Doesn't changed anything.

I hope it will fix soon. Thanks!

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