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

Support wma format #2155

Open
Mihuilk opened this issue Dec 5, 2016 · 5 comments
Open

Support wma format #2155

Mihuilk opened this issue Dec 5, 2016 · 5 comments

Comments

@Mihuilk
Copy link

Mihuilk commented Dec 5, 2016

Hi.
I'm working on audio streaming project and I find that there is no built in support for Windows Media Audio (wma) audio coding formats developed by Microsoft. I tried to use ffmpeg extension decoders for handling WMA but there is no built in Extractor for it. (this format supported by Google Play Music app). What are the best practice for this case?

@Mihuilk Mihuilk changed the title Hi Unsupported .WMA format Dec 5, 2016
@Mihuilk Mihuilk changed the title Unsupported .WMA format Unsupported Windows Media Audio format Dec 5, 2016
@Mihuilk Mihuilk changed the title Unsupported Windows Media Audio format [QUESTION]:Unsupported Windows Media Audio format Dec 5, 2016
@ojw28 ojw28 changed the title [QUESTION]:Unsupported Windows Media Audio format Support wma format ExoPlayer V2 Dec 5, 2016
@ojw28
Copy link
Contributor

ojw28 commented Dec 5, 2016

I think it would be necessary to implement a WMA extractor to support this case.

I'm not convinced this is supported by Google Play Music on all devices though, since WMA isn't mentioned on Android's supported formats page, and as far as I know Google Play Music simply calls through to the underlying platform functionality. I tried playing a WMA file in Google Play Music on Pixel, and playback fails. Are you sure this support isn't on a subset of devices only (i.e. where the device manufacturer has opted to add WMA support as an additional feature)?

@Mihuilk
Copy link
Author

Mihuilk commented Dec 5, 2016

Thank you for fast replay.
You're right. It works for me on Samsung Galaxy Note 4 but WMA isn't mentioned on Android's supported formats page.
The problem that implement WMA extractor by myself no so easy.
Still waiting for ExoPlayer built in implementation.

@ojw28
Copy link
Contributor

ojw28 commented Dec 5, 2016

The good news, I guess, is that if we did implement a WMA extractor then it would provide support across all devices. It's low priority for us, however.

@ojw28 ojw28 changed the title Support wma format ExoPlayer V2 Support wma format Dec 5, 2016
@yotonishi
Copy link

Hi.
Google play music supports wma.
https://support.google.com/googleplay/answer/1100462

I challenged fmmpeg to play wma but it was useless.
I hope to be able to play wma in Exoplayer.
Thank you.

@ojw28
Copy link
Contributor

ojw28 commented May 11, 2017

@otnvshi - That page doesn't say that Google Play Music supports playback of WMA on Android devices. It's saying is that you can upload WMA, which is different. The file is almost certainly transcoded to MP3 at time of upload, and subsequent streaming playbacks will be of the MP3 rather than the original WMA file. Direct playback of WMA files is not supported on Android, as outlined above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants