-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Capabilities: ExoPlayer does not play mov format video. #2007
Comments
The issue here is most likely that the underlying platform is under-reporting the capabilities of the device to play video of type If I force ExoPlayer to play the video stream regardless then it works fine, suggesting that the underlying platform should be reporting that it's capable of playing video in this format with larger decode widths, on Pixel at least.
|
@ojw28, so currently, is there a way to have ExoPlayer always try and play the stream in this case ? |
Not currently. We're thinking about it, but it's unclear whether it makes sense. |
Please could you:
Thanks! |
Leaving disabled by default for now, but we may want to consider enabling it by default. Note that in V1 for ExtractorSampleSource the behaviour was equivalent to this option being enabled, since we didn't perform capabilities checks. For DASH/SS/HLS the V1 behaviour was equivalent to this option being disabled. The type in PlayerActivity has been changed just to make it easier to add a line that calls setParameters. Issue: #2034 Issue: #2007 Issue: #2078 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140477568
Not sure what I think about this, but we're getting quite a lot of issues reported where streams play fine but capabilities indicate they wont. It's probably best just to cross our fingers and hope for the best in such cases, as was the case in V1 when using ExtractorSampleSource. Issue: #2157 Issue: #2034 Issue: #2007 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=141758070
Fixed in |
I follow the demo and play a mov format video, there is only sound but no video... But if I use the base MediaCodec api with compile version 23 to play this video, it will be OK and everything is great.
here is the file link for this sample mov:
https://pan.baidu.com/s/1slnKXrv
based on exoplayer r2.0.4
a device with android 6.0
below is the adb log:
The text was updated successfully, but these errors were encountered: