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

Issue 712621 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug


Participants' hotlists:
Hotlist-1


Sign in to add a comment

Some mp4 YouTube videos won't play (MediaCodec is blacklisted)

Reported by mukhlesu...@gmail.com, Apr 18 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.70 Safari/537.36

Example URL:
https://m.youtube.com/watch?v=jIb5FQCOfMQ

Steps to reproduce the problem:
1. Open the url
2. Click on red YouTube play logo to play
3. It won't play

What is the expected behavior?
Play video

What went wrong?
Video is not playing.

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 58.0.3029.70  Channel: beta
OS Version: 58
Flash Version: 

Contents of chrome://gpu: 
Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only, hardware acceleration unavailable
Video Decode: Hardware accelerated
Video Encode: Software only, hardware acceleration unavailable
VPx Video Decode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
avda_dont_copy_pictures
clear_uniforms_before_first_program_use
disable_discard_framebuffer
disable_es3_gl_context
disable_framebuffer_cmaa
disable_gl_rgb_format
exit_on_context_lost
max_copy_texture_chromium_size_262144
max_texture_size_limit_4096
scalarize_vec_and_mat_constructor_args
surface_texture_cant_detach
use_client_side_arrays_for_stream_buffers
use_non_zero_size_for_client_side_stream_buffers
Problems Detected
MediaCodec is still too buggy to use for encoding (b/11536167): 615108
Disabled Features: accelerated_video_encode
Blacklist GPU raster/canvas on all except known good GPUs and newer Android releases: 362779, 424970
Disabled Features: gpu_rasterization, accelerated_2d_canvas
ARM driver doesn't like uploading lots of buffer data constantly
Applied Workarounds: use_client_side_arrays_for_stream_buffers
Mali-4xx drivers throw an error when a buffer object's size is set to 0: 231082
Applied Workarounds: use_non_zero_size_for_client_side_stream_buffers
Framebuffer discarding causes flickering on old ARM drivers: 290876
Applied Workarounds: disable_discard_framebuffer
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Mali-4xx support of EXT_multisampled_render_to_texture is buggy on Android < 4.3: 362435
Testing fences was broken on Mali ES2 drivers: 378691, 373360, 371530, 398964
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Framebuffer discarding causes corruption on Mali-4xx: 449488, 451230
Applied Workarounds: disable_discard_framebuffer
Mali-4xx does not support GL_RGB format: 449150
Applied Workarounds: disable_gl_rgb_format
Context lost recovery often fails on Mali-400/450 on Android.: 496438
Applied Workarounds: exit_on_context_lost
CHROMIUM_copy_texture is slow on Mali pre-Lollipop: 498443
Applied Workarounds: max_copy_texture_chromium_size_262144
Limit max texure size to 4096 on all of Android
Applied Workarounds: max_texture_size_limit_4096
Mali-4xx GPU on JB doesn't support DetachGLContext
Applied Workarounds: surface_texture_cant_detach
glEGLImageTargetTexture2DOES crashes on Mali-400: 610516
Applied Workarounds: avda_dont_copy_pictures
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
ES3 support is unreliable on some older drivers: 657925
Applied Workarounds: disable_es3_gl_context
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Raster is using a single thread.
Disabled Features: multiple_raster_threads
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	4/18/2017, 5:42:07 PM
Chrome version	Chrome/58.0.3029.70
Operating system	Android 4.2.2
Software rendering list version	12.20
Driver bug list version	9.36
ANGLE commit id	461d9a3060e3
2D graphics backend	Skia/58 4c81ba6ba3a3270db809bf7d4c3bc782694a56a4
Command Line Args	--use-mobile-user-agent --top-controls-show-threshold=0.5 --top-controls-hide-threshold=0.5 --disable-domain-reliability --use-mobile-user-agent --enable-pinch --enable-viewport --enable-overlay-scrollbar --validate-input-event-stream --disable-gpu-process-crash-limit --in-process-gpu --main-frame-resizes-are-orientation-changes --disable-composited-antialiasing --ui-prioritize-in-gpu-process --profiler-timing=0 --prerender-from-omnibox=enabled --disable-sync-types=Favicon Images --enable-dom-distiller --flag-switches-begin --flag-switches-end --disable-gpu-watchdog --disable-es3-gl-context --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,7,19,21,23,24,41,56,58,74,78,88,90 --disable-gl-extensions=EGL_KHR_fence_sync GL_EXT_multisampled_render_to_texture GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent --gpu-vendor-id=0x0000 --gpu-device-id=0x0000 --gpu-driver-vendor --gpu-driver-version=0 --gpu-driver-date
Driver Information
Initialization time	14
In-process GPU	true
Passthrough Command Decoder	false
Sandboxed	false
GPU0	VENDOR = 0x0000 [ARM], DEVICE= 0x0000 [Mali-400 MP]
Optimus	false
Optimus	false
AMD switchable	false
Driver vendor	
Driver version	0
Driver date	
Pixel shader version	1.00
Vertex shader version	1.00
Max. MSAA samples	4
Machine model name	Symphony W68
Machine model version	
GL_VENDOR	ARM
GL_RENDERER	Mali-400 MP
GL_VERSION	OpenGL ES 2.0
GL_EXTENSIONS	GL_EXT_debug_marker GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_ARM_mali_program_binary GL_EXT_shader_texture_lod GL_EXT_robustness
Disabled Extensions	EGL_KHR_fence_sync GL_EXT_multisampled_render_to_texture GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor	
Window system binding version	
Window system binding extensions	
Direct rendering	Yes
Reset notification strategy	0x0000
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_8888	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only

I had to switch to default browser to play video like this.
 
Screenshot_2017-04-18-17-39-40.png
76.5 KB View Download
Labels: Needs-Triage-M58
Cc: krajshree@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Ubuntu 14.04 using latest chrome stable #58.0.3029.81.

Attached a screen cast for reference.

Following are the steps followed to reproduce the issue.
------------
1. Navigated to https://m.youtube.com/watch?v=jIb5FQCOfMQ
2. The video played after the ad automatically without any issues.

mukhlesur.millon@ - As per the screenshot attached it looks like to be an android related issue. Could you please confirm if the issue is reproducible on OS-Linux or OS-Android.
If its related to OS-Linux then could you please check this issue in latest chrome stable #58.0.3029.81 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not.

Thanks...!!
712621.ogv
23.0 MB Download
sorry that i didn't mention android. (i thought bug tracker will do that for me)

it was on android 4.2.2

this issue may be reproducible on these device (this also include my device Symphony w68)
https://en.wikipedia.org/wiki/List_of_devices_using_Mediatek_SoCs#MT6572
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 28 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -OS-Linux -Needs-Triage-M58 OS-Android
As per comment #3 change the OS details.

Thank You!
one possible solution is using Android MediaPlayer api as fallback when chrome can't play video.
Cc: liber...@chromium.org
Probably your device is blacklisted for MediaCodec usage and YouTube doesn't support src= playback anymore in Chrome. Possibly not much we can do here depending on the device. Can you specify exactly which device you have?
is it possible to prefer WebM video from player? (like NewPipe)

it seems that all other videos request for WebM and this video request mp4 (though WebM exists for this video)

my device is Symphony W68
(A partial list of similar device
https://en.wikipedia.org/wiki/List_of_devices_using_Mediatek_SoCs#MT6572)
(added to previous comment)


my device is using mali-400 (Android 4.2.2) and there are several error for this

MediaCodec is still too buggy to use for encoding (b/11536167): 615108
Disabled Features: accelerated_video_encode


Blacklist GPU raster/canvas on all except known good GPUs and newer Android releases: 362779, 424970
Disabled Features: gpu_rasterization, accelerated_2d_canvas


ARM driver doesn't like uploading lots of buffer data constantly
Applied Workarounds: use_client_side_arrays_for_stream_buffers


Mali-4xx drivers throw an error when a buffer object's size is set to 0: 231082
Applied Workarounds: use_non_zero_size_for_client_side_stream_buffers


Framebuffer discarding causes flickering on old ARM drivers: 290876
Applied Workarounds: disable_discard_framebuffer


Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use


Mali-4xx support of EXT_multisampled_render_to_texture is buggy on Android < 4.3: 362435


Testing fences was broken on Mali ES2 drivers: 378691, 373360, 371530, 398964


Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args


Framebuffer discarding causes corruption on Mali-4xx: 449488, 451230
Applied Workarounds: disable_discard_framebuffer


Mali-4xx does not support GL_RGB format: 449150
Applied Workarounds: disable_gl_rgb_format


Context lost recovery often fails on Mali-400/450 on Android.: 496438
Applied Workarounds: exit_on_context_lost


CHROMIUM_copy_texture is slow on Mali pre-Lollipop: 498443
Applied Workarounds: max_copy_texture_chromium_size_262144


Limit max texure size to 4096 on all of Android
Applied Workarounds: max_texture_size_limit_4096


Mali-4xx GPU on JB doesn't support DetachGLContext
Applied Workarounds: surface_texture_cant_detach


glEGLImageTargetTexture2DOES crashes on Mali-400: 610516
Applied Workarounds: avda_dont_copy_pictures


Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa


ES3 support is unreliable on some older drivers: 657925
Applied Workarounds: disable_es3_gl_context


Disable KHR_blend_equation_advanced until cc shaders are updated: 661715


Raster is using a single thread.
Disabled Features: multiple_raster_threads


Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers

Comment 10 Deleted

please change the title to "chrome can't play mp4 video on Android"
please note: chrome 46 can play mp4 video on my device.
details hardware info about my phone
SymphonyW68.html
28.1 KB View Download
Status: WontFix (was: Unconfirmed)
Unfortunately we had to disable your device from video decoding since it becomes unstable. You can try going into chrome://flags and choosing "ignore gpu blacklist" to re-enable this, but at the risk of system stability.

If you are unable to upgrade your device I recommend trying the YouTube app instead to see if it can play the videos. Due to licensing limitations YouTube won't expose src= streams to Chrome for playback, these streams may play in the app on your device.
Summary: Some mp4 YouTube videos won't play (MediaCodec is blacklisted) (was: Some YouTube video won't play)

Sign in to add a comment