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

Unable to play 3gp #3999

Closed
James2516 opened this issue Mar 18, 2018 · 5 comments
Closed

Unable to play 3gp #3999

James2516 opened this issue Mar 18, 2018 · 5 comments
Assignees

Comments

@James2516
Copy link

Issue description

I'm not able to play a .3gp audio recorded with AMR_WB, it throws the following error:

com.google.android.exoplayer2.source.ExtractorMediaSource$UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor) could read the stream.

None of the above extractors is related to 3gp or awb?

Reproduction steps

https://snack.expo.io/B1Q6Li9FM

Source where com.google.android.exoplayer2 is used:
SimpleExoPlayerData.java and SharedCookiesDataSourceFactory.java

Device(s) and version(s) of Android being used

Samsung S8, Android 7.0
Nexus 5X API 26 Simulator

@AquilesCanta
Copy link
Contributor

ExoPlayer does not provide support for 3GP. A link to sample content would be useful for someone to add support.

@AquilesCanta
Copy link
Contributor

Actually, the mp4 extractor does check for 3gp in the ftyp box. So what we need is to look at the content.

@ojw28
Copy link
Contributor

ojw28 commented Mar 27, 2018

@James2516 - Please could you provide a link to a piece of test content that reproduces this issue? Or email one as an attachment to dev.exoplayer@gmail.com? Thanks.

@James2516
Copy link
Author

Here's a sample .3gp audio file: https://files.fm/u/x7j8d4ez
Let me know if you require anything else!

@ojw28
Copy link
Contributor

ojw28 commented Mar 29, 2018

This file doesn't use the 3GP container. It's just an AMR file, which are not currently supported. Providing support is tracked by #2527.

@ojw28 ojw28 closed this as completed Mar 29, 2018
@google google locked and limited conversation to collaborators Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants