"video decoder reinitialization failed" error for video with base64 source
Reported by
hong.r...@gmail.com,
Jun 29 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36 Example URL: https://jsfiddle.net/pjx9vogu/2/ Steps to reproduce the problem: 1. Open https://jsfiddle.net/pjx9vogu/2/ 2. The video plays on hover and pauses when you are no longer hovering 3. Move the mouse around to play and pause the video 4. Now, leave the page open in a tab and go do something else 5. Come back after a couple of minutes and try playing the video again by hovering 6. If it doesn't break, go do something else for a few more minute before coming back What is the expected behavior? The video should play again after coming back and hovering over the video. Both Firefox and Safari plays the video correctly after coming back. What went wrong? In Chrome, after coming back and hovering, the video will play for a little bit then immediately stop playing and will no longer play. The error property on the video element is then filled with a MediaError of code 3 and message of "PIPELINE_ERROR_DECODE: video decoder reinitialization failed". I've attached the log from chrome://media-internals Did this work before? N/A Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 59.0.3071.115 Channel: stable OS Version: OS X 10.12.5 Flash Version: Contents of chrome://gpu: Graphics Feature Status Canvas: Hardware accelerated Flash: Hardware accelerated Flash Stage3D: Hardware accelerated Flash Stage3D Baseline profile: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Native GpuMemoryBuffers: Hardware accelerated Rasterization: Software only, hardware acceleration unavailable Video Decode: Hardware accelerated Video Encode: Hardware accelerated WebGL: Hardware accelerated WebGL2: Hardware accelerated Driver Bug Workarounds adjust_src_dst_region_for_blitframebuffer decode_encode_srgb_for_generatemipmap disable_framebuffer_cmaa disable_multimonitor_multisampling disable_multisampling_color_mask_usage get_frag_data_info_bug pack_parameters_workaround_with_pack_buffer regenerate_struct_names remove_invariant_and_centroid_for_essl3 scalarize_vec_and_mat_constructor_args set_zero_level_before_generating_mipmap unfold_short_circuit_as_ternary_operation unpack_alignment_workaround_with_unpack_buffer use_intermediary_for_copy_texture_image use_unused_standard_shared_blocks Problems Detected Some GPUs on Mac can perform poorly with GPU rasterization. Disable all known AMD GPUs other than the R200, R300, and D series, which have been tested.: 613272, 614468 Disabled Features: gpu_rasterization Multisampling is buggy on OSX when multiple monitors are connected: 237931 Applied Workarounds: disable_multimonitor_multisampling Unfold short circuit on Mac OS X: 307751 Applied Workarounds: unfold_short_circuit_as_ternary_operation Always rewrite vec/mat constructors to be consistent: 398694 Applied Workarounds: scalarize_vec_and_mat_constructor_args Mac drivers handle struct scopes incorrectly: 403957 Applied Workarounds: regenerate_struct_names glGenerateMipmap fails if the zero texture level is not set on some Mac drivers: 560499 Applied Workarounds: set_zero_level_before_generating_mipmap Pack parameters work incorrectly with pack buffer bound: 563714 Applied Workarounds: pack_parameters_workaround_with_pack_buffer Alignment works incorrectly with unpack buffer bound: 563714 Applied Workarounds: unpack_alignment_workaround_with_unpack_buffer copyTexImage2D fails when reading from IOSurface on multiple GPU types.: 581777 Applied Workarounds: use_intermediary_for_copy_texture_image glColorMask does not work for multisample renderbuffers on old AMD GPUs.: 595948 Applied Workarounds: disable_multisampling_color_mask_usage Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198 Applied Workarounds: disable_framebuffer_cmaa glGetFragData{Location|Index} works incorrectly on Max: 638340 Applied Workarounds: get_frag_data_info_bug Decode and encode before generateMipmap for srgb format textures on macosx: 634519 Applied Workarounds: decode_encode_srgb_for_generatemipmap Insert statements to reference all members in unused std140/shared blocks on Mac: 618464 Applied Workarounds: use_unused_standard_shared_blocks adjust src/dst region if blitting pixels outside read framebuffer on Mac: 644740 Applied Workarounds: adjust_src_dst_region_for_blitframebuffer Mac driver GL 4.1 requires invariant and centroid to match between shaders: 639760, 641129 Applied Workarounds: remove_invariant_and_centroid_for_essl3 Disable KHR_blend_equation_advanced until cc shaders are updated: 661715 Version Information Data exported 6/29/2017, 12:09:29 PM Chrome version Chrome/59.0.3071.115 Operating system Mac OS X 10.12.5 Software rendering list version 13.8 Driver bug list version 10.102 ANGLE commit id a9042d3c1952 2D graphics backend Skia/59 ef6f9c65527412ec4057ea0551f2e051beb94d32 Command Line Args Chrome.app/Contents/MacOS/Google Chrome --flag-switches-begin --enable-experimental-web-platform-features --flag-switches-end Driver Information Initialization time 17 In-process GPU false Passthrough Command Decoder false Supports overlays false Sandboxed true GPU0 VENDOR = 0x1002, DEVICE= 0x68b8 *ACTIVE* Optimus false Optimus false AMD switchable false Driver vendor Driver version 1.51.8 Driver date Pixel shader version 4.10 Vertex shader version 4.10 Max. MSAA samples 8 Machine model name MacPro Machine model version 5.1 GL_VENDOR ATI Technologies Inc. GL_RENDERER ATI Radeon HD 5770 OpenGL Engine GL_VERSION 4.1 ATI-1.51.8 GL_EXTENSIONS GL_ARB_blend_func_extended GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_ES2_compatibility GL_ARB_explicit_attrib_location GL_ARB_gpu_shader5 GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_occlusion_query2 GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_shading_language_include GL_ARB_tessellation_shader GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_texture_storage GL_ARB_texture_swizzle GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_texture_compression_s3tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB_decode GL_APPLE_client_storage GL_APPLE_container_object_shareable GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_texture_range GL_ATI_texture_mirror_once GL_NV_texture_barrier Disabled Extensions 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 Zero-copy Partial Raster Enabled GpuMemoryBuffers Status ATC Software only ATCIA Software only DXT1 Software only DXT5 Software only ETC1 Software only R_8 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RG_88 Software only BGR_565 Software only RGBA_4444 Software only RGBX_8888 Software only RGBA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE BGRX_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE BGRA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT RGBA_F16 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT YVU_420 Software only YUV_420_BIPLANAR GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT UYVY_422 GPU_READ_CPU_READ_WRITE, GPU_READ_CPU_READ_WRITE_PERSISTENT Log Messages [64126:775:0629/115350.853275:ERROR:gpu_video_decode_accelerator.cc(376)] : HW video decode not available for profile h264 main [64126:775:0629/115630.989938:ERROR:gpu_video_decode_accelerator.cc(376)] : HW video decode not available for profile h264 main The source of the test video is from https://iandevlin.com/html5/data-uri/video.php
,
Jun 29 2017
Unable to reproduce the issue with latest Chrome stable i.e., 59.0.3071.115 on Windows 10 and Mac.
,
Jun 29 2017
From the log, the root cause of failure is a decode error in FFmpeg. "video decoder reinitialization failed" is just a symptom after that error happens.
{
"time": 160587.75999999046,
"key": "debug",
"value": "FFmpegVideoDecoder: avcodec_decode_video2(): Invalid data found when processing input, at timestamp: 10100000 duration: 50000 size: 866 side_data_size: 0 is_key_frame: 0 encrypted: 0 discard_padding (ms): (0, 0)"
}
,
Jun 29 2017
hong.rich: If you let the video play through, do we still see the same issue?
,
Jun 29 2017
No, I do not experience any issues if I just let the video play normally (I can play the same video on this page with no issues: https://iandevlin.com/html5/data-uri/video.php) So far, I've been able to reproduce the issue on 2 different Macs (one on M59 and one on M58) and 1 Windows 10 machine (latest stable M59). It may take some time for the issue to show up. Sometimes it only takes 2 or 3 minutes, but sometimes it could take 10 minutes or more. Logs and gpu info from the Windows 10 machine attached.
,
Jul 6 2017
[MacTriage]
,
Jul 13 2017
,
Jul 17 2017
I don't have time to work on this. Tentatively assign to chcunningham@ who is doing FFmpeg roll. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by pbomm...@chromium.org
, Jun 29 2017