Skip to content

MP4 Videos Unable to Play - UnrecognizedInputFormatException: None of the available extractors #7584

@amoizesmail

Description

@amoizesmail

Issue description

We are integrating Exoplayer to our application and one of the features is to play an mp4 video stored in an S3 bucket. S3 bucket's permissions is already set to public to make our videos publicly available to the app without authentications. The videos are not playing the due the this exception UnrecognizedInputFormatException

Reproduction steps

I used the ExoPlayer demo and add our videos in the media.exolist.json, specifically in the Misc section. Other Mp4 available on the internet are working fine like this video

Other media like audio and youtube videos are working fine in the app using the ExoPlayer.

Link to test content

The videos are available here. I cannot share full link of the video from S3 due to security reasons

A full bug report captured from the device

2020-07-03 11:47:28.941 18514-18514/com.google.android.exoplayer2.demo E/EventLogger: internalError [eventTime=2.14, mediaPos=0.00, window=0, period=0, loadError
      com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor, Ac4Extractor, FlacExtractor) could read the stream.
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractorHolder.selectExtractor(ProgressiveMediaPeriod.java:1096)
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:975)
        at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
        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:764)
    ]

2020-07-03 11:47:28.943 18514-18748/com.google.android.exoplayer2.demo E/ExoPlayerImplInternal: Source error
      com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor, Ac4Extractor, FlacExtractor) could read the stream.
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractorHolder.selectExtractor(ProgressiveMediaPeriod.java:1096)
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:975)
        at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
        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:764)

Version of ExoPlayer being used

Version No: 2.11.7 and 2.10.1

We support Android OS versions from 5.0 up to the latest

Test Device: Samsung Galaxy S8 - OS: Android 9

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions