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

Capabilities: Video not playing (plays fine in V1) #2078

Closed
cristin opened this issue Nov 17, 2016 · 9 comments
Closed

Capabilities: Video not playing (plays fine in V1) #2078

cristin opened this issue Nov 17, 2016 · 9 comments

Comments

@cristin
Copy link

cristin commented Nov 17, 2016

Hi! I recently updated to exoplayer 2 on an app that we are working and have an issue when playing mp4 video files encoded (h264 profile 10) on iOS. Only the audio plays and no video. I saw that exoplayer 1 doesn't had this problem. Do you know what's the issue and how did you solved it? Thank you!

@AquilesCanta
Copy link
Contributor

Could you please provide the mentioned file? If you don't want to post it here, you can send it to dev.exoplayer@gmail.com.

@cristin
Copy link
Author

cristin commented Nov 17, 2016

I emailed you a test video.

@ojw28
Copy link
Contributor

ojw28 commented Nov 17, 2016

The test video plays fine on devices I have, so this is likely a device specific capability issue (i.e. the same issue as #2034). I'll leave this issue open for now and follow up when we have more logging in place so that we can capture logging from your test device and use it to put a workaround in place.

@ojw28 ojw28 changed the title IPhone encoded videos not playing Capabilities: Video not playing (plays fine in V1) Nov 17, 2016
@Andoctorey
Copy link

The same for me, iphone created video doesn't work on any device I have in v2 - https://res.cloudinary.com/aparlay/video/upload/vc_h264/eo_60/trssyxllsem4xqueocwv.mp4

@ojw28
Copy link
Contributor

ojw28 commented Nov 18, 2016

Please could you:

  1. Check out the latest dev-v2 code.
  2. Try and play the affected video.
  3. Paste the output of adb logcat -s "MediaCodecInfo" here. You should see a bunch of lines containing "FalseCheck" the detail exactly why the stream wasn't played.

Thanks!

@Andoctorey
Copy link

Andoctorey commented Nov 21, 2016

@ojw28
Copy link
Contributor

ojw28 commented Nov 21, 2016

@Andoctorey - You need to test with the very latest dev-v2 code to see the logging. The output you've suggests you're using a slightly older version.

@Andoctorey
Copy link

Sorry, on emulator I have - FalseCheck [size.support, 720x1280] [OMX.google.h264.decoder, video/avc] [generic_x86_64, Android SDK built for x86_64, unknown, 23]

@ojw28
Copy link
Contributor

ojw28 commented Nov 25, 2016

For vertical videos, which both videos in this issue are, this should be resolved by: 2e3ffe1

Marking as fixed. Please let us know if you still see the issue on the very latest dev-v2 branch. Thanks.

@ojw28 ojw28 closed this as completed Nov 25, 2016
ojw28 added a commit that referenced this issue Dec 1, 2016
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
@google google locked and limited conversation to collaborators Jun 28, 2017
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

4 participants