New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 595891 link

Starred by 0 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Videos crash in Chrome ARC with message "There was an error playing video"

Reported by antonyde...@gmail.com, Mar 17 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36

Example URL:
Try FoxNow app in ARC

Steps to reproduce the problem:
1. Install FoxNow app in Chrome using ARC
2. The home page should show videos of episodes. Click any.
3. You should get a message "There was an error playing video" when trying to play the video.

What is the expected behavior?
The video play should not crash

What went wrong?
Video crashes and the app becomes unresponsive.

Did this work before? N/A 

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? Yes 

Chrome version: 49.0.2623.87  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0

I have tried running Chrome with --disable-accelerated-video-decode and --use-angle=warp, but to not much good.
Further debugging reveals the exceptions at the following levels:

At Chrome:
[1596:21132:0316/175320:ERROR:gpu_video_decode_accelerator.cc(375)] HW video decode not available for profile 1

At Nacl:
android.media.MediaCodec$CodecException: Error 0xffffffea
        at android.media.MediaCodec.native_configure(Native Method)
        at android.media.MediaCodec.configure(MediaCodec.java:577)
        at com.akamai.media.decoder.MediaEngineVideoWorker.createDecoder(MediaEngineVideoWorker.java:292)
        at com.akamai.media.decoder.MediaEngineVideoWorker.createCodec(MediaEngineVideoWorker.java:191)
        at com.akamai.media.decoder.MediaEngineVideoWorker.doWork(MediaEngineVideoWorker.java:141)
        at com.akamai.media.decoder.MediaEngine$1.run(MediaEngine.java:78)
java.lang.UnsatisfiedLinkError: dlopen failed: library "libndk_translation_proxy_libandroidsdk-native.so" not found
        at java.lang.Runtime.loadLibrary(Runtime.java:371)
        at java.lang.System.loadLibrary(System.java:989)
        at com.akamai.utils.NativeLibraryLoader.load(NativeLibraryLoader.java:10)
        at com.akamai.media.NativeMediaPlayerHelper.<clinit>(NativeMediaPlayerHelper.java:99)
        at com.akamai.media.VideoPlayerViewHardwareAdvanced.onError(VideoPlayerViewHardwareAdvanced.java:2602)
        at com.akamai.media.MediaCodecHelper.onError(MediaCodecHelper.java:233)
        at com.akamai.media.decoder.MediaEngine$1.run(MediaEngine.java:85)

 Some videos just start and fail after, some videos do not start at all and some videos go all the way to complete though not all the time.
I think the problem happens when the resolution of the video changes mid-stream.
 
chrome_arc_video_crash.png
39.5 KB View Download
Labels: Needs-Feedback
what device are you using? can you go to chrome://flags, enable "Enables the unified media pipeline on android" and try again? don't forget to relaunch Chrome after change. please let me know if you still see crash.
Cc: ti...@chromium.org qin...@chromium.org posciak@chromium.org
Components: -Internals>Media Internals>Media>Codecs
Labels: -OS-Windows
Are you using ARC on Chrome OS or Windows? I believe it is only supported on the former and for select apps. I don't see Fox Now in the Chrome Web Store. Where did you get it? Do you happen to know the codec in the failing media?

Technical details:
ARC allows Android apps to run in Chrome OS. It is an Android app using MediaCodec that is having a problem. ARC may be converting the MediaCodec call into calls to Chrome's video stack. It appears gpu_video_decode_accelerator.cc is being called and failing. If ARC only supports HW decode (we should confirm), then it can't fall back to software.
@ddorwin
Are you using ARC on Chrome OS or Windows? 
Windows

I believe it is only supported on the former and for select apps.I don't see Fox Now in the Chrome Web Store. Where did you get it?
I am trying out apks and FoxNow was the one I was testing. In theory, the intent is to get most applications working but this app does not. Hence I am bringing it to your attention for troubleshooting.

Do you happen to know the codec in the failing media?
I know the container is video/MP2T, however I could not find the codec information as part of the header. I have seen video/webm(container) play without problems.
@yini...

I ran with --enable-unified-media-pipeline but that did not fix the issue. I killed all existing Chrome processes before relaunching.
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 18 2016

Labels: -Needs-Feedback Needs-Review
Owner: yini...@chromium.org
Status: Assigned (was: Unconfirmed)
Thank you for providing more feedback. Assigning to requester "yiningc@chromium.org" for another review.

For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
 antonydeepak@gmail.com, are you actually seeing crash on FoxNow App or Chrome browser?Are you seeing the crash only on ARC device? does it repro on ChromeOS as well? 
@yini
The crash is in FoxNow app. In fact, the crash happens even in Android X86 Emulators (which I did not test before); it seems to work fine in devices. I dug out couple of other apps that have video content and they seem to work fine.  So, it looks like FoxNow is streaming in a not-well-supported codec. I think this may not be an ARC problem.
Labels: -Needs-Review
Owner: ----
Status: Unconfirmed (was: Assigned)
antonydeepak@gmail.com, there is pipeline change in chrome on android so it may affect FoxNow app on ARC as well.
do you still repro this issue? if you do, can you tell me what chrome version on your ARC device?
Labels: Needs-Feedback
kindly ping shawnsingh@chromium.org again, do you still see this issue on ARC with latest Chrome build on ARC?
no response for #10 for > 20 days.. resolve bug as won't fix.
Status: WontFix (was: Unconfirmed)

Sign in to add a comment