Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

No sound and videos not playing in iTube and browser #904

@kde99

Description

@kde99
  1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues => checked none with the same error except a camera issue which was fixed before

  2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox => version 4-8febc16 updated

  3. Make sure you have debug logs enabled:
    sudo snap set anbox debug.enable=true => did

  4. Reproduce the error while debug logs enabled.

  5. Run the anbox logs collection utility and attach the tar file.
    sudo /snap/bin/anbox.collect-bug-info => system diag zip

  6. ** Please paste the result of anbox system-info below:**

version: 4
snap-revision: 149
cpu:
  arch:  x86
  brand:        Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
  features: 
    - aes
    - sse4_1
    - sse4_2
    - avx
os:
  name: Gentoo
  version: 
  snap-based: true
kernel:
  version: Linux version 4.18.5-gentoo (root@pen) (gcc version 8.2.0 (Gentoo 8.2.0-r2 p1.2)) #1 SMP Wed Sep 5 15:20:21 CEST 2018
  binder: true
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.4 (DRI2)
    extensions:
      - EGL_ANDROID_native_fence_sync
      - EGL_CHROMIUM_sync_control
      - EGL_EXT_buffer_age
      - EGL_EXT_create_context_robustness
      - EGL_EXT_image_dma_buf_import
      - EGL_EXT_image_dma_buf_import_modifiers
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context
      - EGL_KHR_create_context_no_error
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_gl_colorspace
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_3D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image
      - EGL_KHR_image_base
      - EGL_KHR_image_pixmap
      - EGL_KHR_no_config_context
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_EXT_pixel_format_float
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_NOK_texture_from_pixmap
      - EGL_WL_bind_wayland_display
  gles2:
    vendor: Intel Open Source Technology Center
    vendor: OpenGL ES 3.0 Mesa 18.0.5
    extensions:
      - GL_ANGLE_texture_compression_dxt3
      - GL_ANGLE_texture_compression_dxt5
      - GL_APPLE_texture_max_level
      - GL_EXT_blend_func_extended
      - GL_EXT_blend_minmax
      - GL_EXT_clip_cull_distance
      - GL_EXT_color_buffer_float
      - GL_EXT_compressed_ETC1_RGB8_sub_texture
      - GL_EXT_discard_framebuffer
      - GL_EXT_disjoint_timer_query
      - GL_EXT_draw_buffers
      - GL_EXT_draw_buffers_indexed
      - GL_EXT_draw_elements_base_vertex
      - GL_EXT_frag_depth
      - GL_EXT_map_buffer_range
      - GL_EXT_multi_draw_arrays
      - GL_EXT_occlusion_query_boolean
      - GL_EXT_polygon_offset_clamp
      - GL_EXT_read_format_bgra
      - GL_EXT_robustness
      - GL_EXT_separate_shader_objects
      - GL_EXT_shader_integer_mix
      - GL_EXT_texture_border_clamp
      - GL_EXT_texture_compression_dxt1
      - GL_EXT_texture_filter_anisotropic
      - GL_EXT_texture_format_BGRA8888
      - GL_EXT_texture_rg
      - GL_EXT_texture_sRGB_decode
      - GL_EXT_texture_type_2_10_10_10_REV
      - GL_EXT_unpack_subimage
      - GL_INTEL_performance_query
      - GL_KHR_blend_equation_advanced
      - GL_KHR_context_flush_control
      - GL_KHR_debug
      - GL_KHR_no_error
      - GL_KHR_robustness
      - GL_MESA_shader_integer_functions
      - GL_NV_draw_buffers
      - GL_NV_fbo_color_attachments
      - GL_NV_read_buffer
      - GL_NV_read_depth
      - GL_NV_read_depth_stencil
      - GL_NV_read_stencil
      - GL_OES_EGL_image
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_OES_depth24
      - GL_OES_depth_texture
      - GL_OES_depth_texture_cube_map
      - GL_OES_draw_buffers_indexed
      - GL_OES_draw_elements_base_vertex
      - GL_OES_element_index_uint
      - GL_OES_fbo_render_mipmap
      - GL_OES_get_program_binary
      - GL_OES_mapbuffer
      - GL_OES_packed_depth_stencil
      - GL_OES_required_internalformat
      - GL_OES_rgb8_rgba8
      - GL_OES_sample_shading
      - GL_OES_sample_variables
      - GL_OES_shader_multisample_interpolation
      - GL_OES_standard_derivatives
      - GL_OES_stencil8
      - GL_OES_surfaceless_context
      - GL_OES_texture_3D
      - GL_OES_texture_border_clamp
      - 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
      - GL_OES_vertex_half_float

Please describe your problem:
When I try to play a video in iTube well it doesn't start and in the console (adb logcat) I see

09-09 08:39:30.783   111   918 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
09-09 08:39:30.783   111   918 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
09-09 08:39:30.783   111   918 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
09-09 08:39:30.784   111   916 E SoundPool: Unable to load sample
09-09 08:39:30.784   111   167 W AudioService: onLoadSoundEffects(), Error -2147483648 while loading samples
09-09 08:39:30.788    40    40 I MediaPlayerService: MediaPlayerService::getOMX

whenever I press the play/pause button. Also the same happens in the webview shell the when I try youtube there.

The above errors changes to

09-09 08:48:12.966  1027  1129 E ACodec  : Unable to instantiate a decoder for type 'audio/opus' with err 0xfffffffe.
09-09 08:48:12.966  1027  1129 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
09-09 08:48:12.966  1027  1129 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
09-09 08:48:12.967  1027  1027 W MediaCodec-JNI: try to release MediaCodec from JMediaCodec::~JMediaCodec()...
09-09 08:48:12.967  1027  1027 W MediaCodec-JNI: done releasing MediaCodec from JMediaCodec::~JMediaCodec().
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: Failed to create MediaCodec: audio/opus, isSecure: false, requireSoftwareCodec: no
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: java.lang.IllegalArgumentException: Failed to initialize audio/opus, error 0xfffffffe
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.native_setup(Native Method)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.<init>(MediaCodec.java:1776)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.createDecoderByType(MediaCodec.java:1724)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.media.MediaCodecUtil.createDecoder(MediaCodecUtil.java:217)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.media.MediaCodecBridge.create(MediaCodecBridge.java:214)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.os.Handler.dispatchMessage(Handler.java:102)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.os.Looper.loop(Looper.java:154)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.app.ActivityThread.main(ActivityThread.java:6119)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at java.lang.reflect.Method.invoke(Native Method)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
09-09 08:48:12.969    40    99 I MediaPlayerService: MediaPlayerService::getOMX

when in the WebView shell.

What were you expecting?:
I was expecting to view videos and hear sound from the emulator.

Additional info:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions