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

Playback Error #193

Open
adeeteya opened this issue Oct 29, 2024 · 0 comments
Open

Playback Error #193

adeeteya opened this issue Oct 29, 2024 · 0 comments

Comments

@adeeteya
Copy link

Any idea on how to solve this? I am able to open the same file with video_player package without any issues!

E/ExoPlayerImplInternal(28272): Playback error
E/ExoPlayerImplInternal(28272):   androidx.media3.exoplayer.ExoPlaybackException: Source error
E/ExoPlayerImplInternal(28272):       at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:736)
E/ExoPlayerImplInternal(28272):       at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:708)
E/ExoPlayerImplInternal(28272):       at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal(28272):       at android.os.Looper.loopOnce(Looper.java:230)
E/ExoPlayerImplInternal(28272):       at android.os.Looper.loop(Looper.java:319)
E/ExoPlayerImplInternal(28272):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(28272):   Caused by: androidx.media3.datasource.FileDataSource$FileDataSourceException: java.io.FileNotFoundException: /file:/storage/emulated/0/DCIM/Screen%20recordings/Screen_Recording_20241026_004146_Snapchat.mp4: open failed: ENOENT (No such file or directory)
E/ExoPlayerImplInternal(28272):       at androidx.media3.datasource.FileDataSource.openLocalFile(FileDataSource.java:205)
E/ExoPlayerImplInternal(28272):       at androidx.media3.datasource.FileDataSource.open(FileDataSource.java:116)
E/ExoPlayerImplInternal(28272):       at androidx.media3.datasource.DefaultDataSource.open(DefaultDataSource.java:275)
E/ExoPlayerImplInternal(28272):       at androidx.media3.datasource.StatsDataSource.open(StatsDataSource.java:86)
E/ExoPlayerImplInternal(28272):       at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1045)
E/ExoPlayerImplInternal(28272):       at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:421)
E/ExoPlayerImplInternal(28272):       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
E/ExoPlayerImplInternal(28272):       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
E/ExoPlayerImplInternal(28272):       at java.lang.Thread.run(Thread.java:1012)
E/ExoPlayerImplInternal(28272):   Caused by: java.io.FileNotFoundException: /file:/storage/emulated/0/DCIM/Screen%20recordings/Screen_Recording_20241026_004146_Snapchat.mp4: open failed: ENOENT (No such file or directory)
E/ExoPlayerImplInternal(28272):       at libcore.io.IoBridge.open(IoBridge.java:574)
E/ExoPlayerImplInternal(28272):       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:307)
E/ExoPlayerImplInternal(28272):       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:237)
E/ExoPlayerImplInternal(28272):       at java.io.RandomAccessFile.<init>(RandomAccessFile.java:154)
E/ExoPlayerImplInternal(28272):       at androidx.media3.datasource.FileDataSource.openLocalFile(FileDataSource.java:186)
E/ExoPlayerImplInternal(28272):       ... 8 more
E/ExoPlayerImplInternal(28272):   Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
E/ExoPlayerImplInternal(28272):       at libcore.io.Linux.open(Native Method)
E/ExoPlayerImplInternal(28272):       at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
E/ExoPlayerImplInternal(28272):       at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
E/ExoPlayerImplInternal(28272):       at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
E/ExoPlayerImplInternal(28272):       at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:8926)
E/ExoPlayerImplInternal(28272):       at libcore.io.IoBridge.open(IoBridge.java:560)
E/ExoPlayerImplInternal(28272):       ... 12 more
E/flutter (28272): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(VideoError, Video player had error androidx.media3.exoplayer.ExoPlaybackException: Source error, null, null)
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