New issue
Advanced search Search tips

Issue 915228 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jan 15
Cc:
Components:
EstimatedDays: ----
NextAction: 2019-01-10
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

aacPlus audio stremings icecast / shoutcast stop to play after few seconds

Reported by audiobra...@gmail.com, Dec 14

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Example URL:
http://audiobras.com.br/shout.html

Steps to reproduce the problem:
1.Click play button  
2. Play stops to run the streaming in aacplus after few seconds
3.Need play again

What is the expected behavior?
Just play one time and listen

What went wrong?
lay stops to run the streaming in aacplus after few seconds. Seems affect shoutcast v2 / icecast streamigs

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version: 71.0.3578.98  Channel: stable
OS Version: 10.0
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: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Control: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_discard_framebuffer
disable_dxgi_zero_copy_video
disable_framebuffer_cmaa
disable_nv12_dxgi_video
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
Problems Detected
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Zero-copy DXGI video hangs or displays incorrect colors on AMD drivers: 623029
Applied Workarounds: disable_dxgi_zero_copy_video
NV12 DXGI video displays incorrect colors on older AMD drivers: 644293
Applied Workarounds: disable_nv12_dxgi_video
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
Version Information
Data exported	2018-12-14T14:26:59.168Z
Chrome version	Chrome/71.0.3578.98
Operating system	Windows NT 10.0.17134
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/15234034d19b85dcd9a03b164ae89d04145d8368/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/15234034d19b85dcd9a03b164ae89d04145d8368/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	f2ed299569c0
2D graphics backend	Skia/71 7469a9341afab19271b8ef07af5c16a0f2c4ccc1-
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end --restore-last-session --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	1275
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	true
GPU0	VENDOR = 0x1002 [Google Inc.], DEVICE= 0x68f9 [ANGLE (AMD Radeon HD 5450 Direct3D11 vs_5_0 ps_5_0)] *ACTIVE*
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Direct Composition	true
Supports overlays	false
Overlay capabilities
Diagonal Monitor Size of \\.\DISPLAY1	17.0"
Driver D3D12 feature level	Not supported
Driver Vulkan API version	Not supported
Driver vendor	Advanced Micro Devices, Inc.
Driver version	15.201.1151.1008
Driver date	11-4-2015
GPU CUDA compute capability major version	0
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	4
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (AMD Radeon HD 5450 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 2.0 (ANGLE 2.1.0.f2ed299569c0)
GL_EXTENSIONS	GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_sync_query GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_frag_depth GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
Disabled Extensions	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions	
Window system binding vendor	Google Inc. (adapter LUID: 000000000000cf3a)
Window system binding version	1.4 (ANGLE 2.1.0.f2ed299569c0)
Window system binding extensions	EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache
Direct rendering	Yes
Reset notification strategy	0x8252
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
R_8	Software only
R_16	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	GPU_READ, SCANOUT
RGBA_8888	GPU_READ, SCANOUT
BGRX_8888	Software only
BGRX_1010102	Software only
RGBX_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Display(s) Information
Info	Display[2528732444] bounds=[0,0 1280x1024], workarea=[0,0 1280x984], scale=1, external.
Color space information	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Decode h264 baseline	up to 1920x1088 pixels
Decode h264 main	up to 1920x1088 pixels
Decode h264 high	up to 1920x1088 pixels
Encode h264 baseline	up to 3840x2176 pixels and/or 30.000 fps
Encode h264 main	up to 3840x2176 pixels and/or 30.000 fps
Encode h264 high	up to 3840x2176 pixels and/or 30.000 fps
Diagnostics
... loading ...
Log Messages
GpuProcessHostUIShim:
[10456:17276:1214/004331.072:WARNING:angle_platform_impl.cc(52)] : compileToBinary(232): C:\fakepath(65,9-52): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[10456:17276:1214/004331.097:WARNING:angle_platform_impl.cc(52)] : compileToBinary(232): C:\fakepath(65,23-43): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[10456:12252:1214/004414.623:ERROR:dxva_picture_buffer_win.cc(24)] : Error in dxva_picture_buffer_win.cc on line 428
[10456:22988:1214/110045.092:WARNING:angle_platform_impl.cc(52)] : compileToBinary(232): C:\fakepath(65,8-58): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them C:\fakepath(73,9-43): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
 
Can you include chrome://media-internals for the player when it fails? Typically this is an invalid encoding. 
Labels: Needs-Triage-M71
render_id: 106
player_id: 10
origin_url: http://audiobras.com.br/
frame_url: http://audiobras.com.br/shout.html
frame_title: Documento sem título
surface_layer_mode: kOnDemand
url: http://67.23.242.170:8736/stream
total_bytes: 14960
streaming: true
single_origin: true
range_header_supported: false
pipeline_state: kStopped
info: Effective playback rate changed from 0 to 1
audio_channels_count: 2
audio_codec_name: aac
audio_sample_format: Float 32-bit planar
audio_samples_per_second: 44100
bitrate: 89232
found_audio_stream: true
found_video_stream: false
max_duration: 1.341208
start_time: 0
audio_dds: false
audio_decoder: FFmpegAudioDecoder
is_platform_audio_decoder: false
audio_buffering_state: BUFFERING_HAVE_ENOUGH
for_suspended_start: false
pipeline_buffering_state: BUFFERING_HAVE_ENOUGH
event: PAUSE
debug: FFmpegDemuxer: av_read_frame(): End of file
duration: 1.341208
error: audio error during playing, status: PIPELINE_ERROR_DECODE
pipeline_error: PIPELINE_ERROR_DECODE

render_id: 106
player_id: 12
origin_url: http://audiobras.com.br/
frame_url: http://audiobras.com.br/shout.html
frame_title: Documento sem título
surface_layer_mode: kOnDemand
url: http://67.23.242.202:8662/stream
total_bytes: -1
streaming: true
single_origin: true
range_header_supported: false
pipeline_state: kStopped
info: Selected FFmpegAudioDecoder for audio decoding, config: codec: aac, bytes_per_channel: 4, channel_layout: 3, channels: 2, samples_per_second: 44100, sample_format: 6, bytes_per_frame: 8, seek_preroll: 0us, codec_delay: 0, has extra data: false, encryption scheme: Unencrypted, discard decoder delay: true
audio_channels_count: 2
audio_codec_name: aac
audio_sample_format: Float 32-bit planar
audio_samples_per_second: 44100
bitrate: 63049
found_audio_stream: true
found_video_stream: false
max_duration: kInfiniteDuration
start_time: 0
for_suspended_start: false
pipeline_buffering_state: BUFFERING_HAVE_NOTHING
duration: 8.126984
event: PAUSE
audio_dds: false
audio_decoder: FFmpegAudioDecoder
is_platform_audio_decoder: false
audio_buffering_state: BUFFERING_HAVE_NOTHING
error: audio error during playing, status: PIPELINE_ERROR_DECODE
debug: FFmpegDemuxer: av_read_frame(): Invalid data found when processing input
pipeline_error: PIPELINE_ERROR_DECODE

Cc: swarnasree.mukkala@chromium.org
Labels: Triaged-ET Needs-Feedback
Tried testing the issue on reported chrome version #71.0.3578.98 using Windows 10 by following below steps.

Steps:
=====
1.Launched chrome.
2.Navigated to "http://audiobras.com.br/shout.html".
3.Played to AAcPlus/ Shoutcast v2 player.
4.Observed that the audio played continuously without stopping.

Attached GPU details for reference.
reporter: Could you please retry the issue by creating a new profile without any apps and extensions in it, reset all flags to default and let us know if the issue still exists.
Thanks.! 
915228_gpu.html
180 KB View Download
Yeah, it seems the stream is corrupt so we end up failing to decode, we end up being strict about these due to security issues that have cropped up over the years. 
You can diagnose where in the stream problems are occurring by running it through ffmpeg:

ffmpeg -err_detect explode -i <stream> -f wav /dev/null
Ok, but if the streaming is corrupt why others browsers and players can play? I believe that you have some issue with shoutcast v2. Securety question? 
What do you think? Tha someone will send a virus 
through an audio streaming? 
Project Member

Comment 9 by sheriffbot@chromium.org, Dec 17

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-2 Pri-3
Owner: dalecur...@chromium.org
Status: Assigned (was: Unconfirmed)
Assigning for tracking. Will take a look in the new year.

I think the issue is the shoutcast embedded metadata. Which ffmpeg doesn't know how to handle when it's not making the http requests. This causes demuxing to fail which is unrecoverable at the Chrome level, so it's not even a decoding issue really (though if demuxing succeeds it can be one).

I'm not sure we want to add support for these type of streams. I believe if you use Media Source Extensions we have code in place to scrub ICY data in the stream. So you might try using that as a workaround for now. See: https://developers.google.com/web/updates/2015/06/Media-Source-Extensions-for-Audio
The Media Source Extensions seems only aplicable to ondemand audio files, but radio stations use shoutcast, icecast and wowza to delivery streaming in mp3 and aacplus. I believe you should not stop to make your browser not works more with that type of solutions. Shoutcast and Icecast are used by thousands of radio stations around de world.
Would be very usefull if your html5 audio player have some option to show metagas of shoutcast and icecast streams. You down flash that show that easely in flash audio players and not make the html5 audio tag compatible with that.
When you said this works in other browsers, can you specify which ones? The first player doesn't work in Firefox for me, the second one plays fine in both Chrome and Firefox.
Try again please, I updated the URL inside the http://audiobras.com.br/shout.html
NextAction: 2019-01-10
The NextAction date has arrived: 2019-01-10
Hmm, your server is returning different things depending on if "Icy-MetaData: 1" is sent in the initial http request. If it's sent then the stream seems to work fine (so long as Icy-MetaInt of metadata is discarded) and plays classical music.

If that http header is not set then I hear (what I think is) Brazilian audio and even raw ffmpeg returns all sorts of errors for the stream which suggests your encoder/streamer is broken.

ffmpeg -err_detect explode -i http://67.23.242.170:8736/stream -t 30 out.wav
...
[aac @ 0x55e1438b1700] decode_band_types: Input buffer exhausted before END element found
Error while decoding stream #0:0: Invalid data found when processing input
size=     212kB time=00:00:01.23 bitrate=1411.7kbits/s speed=0.0411x    
video:0kB audio:212kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.035930%

Note: I had to modify ffmpeg to not send Icy-MetaData so it gets the same stream delivered to Chrome. It seems likely that your streaming server is misconfigured/broken and other browsers are being too forgiving.
Server version says Shoutcast 2.5.0.715, but latest version seems to be 2.6.0.750, so I'd recommend upgrading to see if the issues persist.
Status: WontFix (was: Assigned)
As discussed above, we don't handle damaged files, so this is WontFix. We'd rather surface these errors to sites so they can be fixed than silently hide them.

Comment 20 by audiobra...@gmail.com, Jan 18 (4 days ago)

Is not possible upgrade to 2.6 versions when clients use aac streaming, the shoutcast only permit mp3 audio if client use external servers (not handled by shoutcast). 

Maybe it's not the others who are tolerant, but you who are very annoying about it, with things not so relevant. But we will take this to the shoutcast / liquidsoap / centovacast check too.

Sign in to add a comment