-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
I'm trying to play the following file with EXOPlayer 2.9.6 and it fails with the following exception:
UnrecognizedInputFormatException
I experienced the same thing on every test devices, while the device MediaPlayer was able to play the file without any issue (Tested on Android 8, 9, Q on Pixel 2, 3 and Samsung S8)
It fails both trying to stream the file or play a local copy
I checked the file encoding and didn't see anything specific
Audio
Format : | MPEG Audio
Format version : | Version 2
Format profile : | Layer 3
Format settings : | Joint stereo / Intensity Stereo + MS Stereo
Duration : | 5 min 13 s
Bit rate mode : | Constant
Bit rate : | 64.0 kb/s
Channel(s) : | 2 channels
Sampling rate : | 22.05 kHz
Frame rate : | 38.281 FPS (576 SPF)
Compression mode : | Lossy
Stream size : | 2.39 MiB (97%)
Stack
com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor) could read the stream.
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:973)
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:891)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:381)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:914)