-
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: Video "exceeds capabilities" (but plays fine if forced) #2034
Comments
I have the same problem, more or less. From my own logs, which can also be seen in the log OP posted, this one seems to be the culprit:
No real clear reason why it "exceeds capabilities"... I haven't tested the file with Exoplayer v1, but I can play the file using a VideoView. In my case I'm playing a local file though. For me, it happens on Android 5.1 and on a HTC One m7 device (GPE edition). I also tested on a Moto X running Android 6, which plays the video without problems. Finally, some codec information about the file I'm trying to play: |
The device is indicating that it doesn't support the media you're attempting to play. It's likely the device is under-reporting its capabilities, given your observations. We'll need to get hold of a device and have a look. |
V2 performs more checks than V1 did, so that isn't inconsistent with the diagnosis. We don't want to revert the additional checks because they prevent playback failures on other correctly functioning devices. |
Yes, v2 does more checks, I modified |
I don't think disabling the additional checks is a good solution in the general case. What we'll do is:
I suspect we'll pretty squash out the most common cases (and I'd be surprised if there are a huge number of cases required; most likely the majority of these issues are with older, possibly lower end devices). |
I am working on playing MPEG2 TS on Amlogic Tv Box S905X (android version 6.0.1), the tracks:
The stream has 2 audio channels that exceeds the device capability. This is a device specific issue, the workaround works for my case, maybe not for others. |
Issue: #2034 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138698239
Hi,
Is there a cleaner way to do that ? |
Please could anyone encountering this issue:
Thanks! |
|
Issue: #2034 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140209306
The change ref'd above will have helped with vertical videos (i.e. where height > width). We're still working on ways to mitigate this issue for other videos. |
We also have a video which is not working (no video, only audio) with ExoPlayer v2 but works in a simple VideoView. Using the latest dev-version (e56cf49) we get the following output in the logs:
The video has the following settings:
|
Thanks! We'll shortly be pushing a change that will allow you to enable exceeding of reported decoder capabilities. It will be off by default, but it will be possible to enable it with a single line of code. Once this change has landed you'll be able to enable the option to get back to what V1 did. We'll then consider either:
|
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 |
Environment :
Device Samsung GT-S7262
android version 4.1.2, RAM 512MB
install the exo player demo app and start playing "YouTube DASH
Google Glass(MP4,H264)" video, we have observed following issue only on this particular device:
Behaviour with Exo player library version : r2.0.4 :
Video is not rendered. Everything else works fine. (You can hear audio, and see the video controllers)
We have attached the log file bug_report_log.txt which shows the failure log.
Behaviour with Exo player library version : r1.5.9 :
Everything works fine.
Above issue occurs on this particular device only.
And it happens with all url given in demo app except for mp4 url.
As you can observe, exoplayer demo app ( library r1.5.9) works where as the one with newer
library (r2.0.4) has issues; on the same device, same environment.
As we are using r2.0.4 in our app, we are facing this issue. Pl provide a fix or a workaround!
The text was updated successfully, but these errors were encountered: