phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.41k stars 660 forks source link

Video Stuck at loading/ doesn't play at all / unable to stream videos on internet #2490

Open abhiturkeh opened 1 year ago

abhiturkeh commented 1 year ago

Current Behavior:

Videos to play both from local storage and online streaming from browser.

Describe the bug

when i play videos at any streaming platform they stuck at loading screen (black screen loading circle). I downloaded the video in local storage and tried to play different video players like vlc (black screen loading circle). I tried all versions of aosp-12.1-a64 and aosp-13-a64 but issue still persist.

Only when i flashed all aosp-11-a64 versions it works, also my stock rom version is android 11.

To Reproduce

1. Go to stock browser, firefox, fennec or chrome and any streaming site like youtube, netflix, amazon play etc. 2. Click on play on any content 3. Next page load with Black screen loading circle forever 4. Download the videos locally and play with video player, vlc etc 5. See bug Black screen loading circle forever 6. youtube, new pipe, Netflix app crashes or freezes when play a video. ### Expected behavior Able to play videos ### Photos ### Smartphone (please complete the following information): - Device: Lenovo M8 3rd gen/ Lenovo TB-8506F - Build Flavor: all version available for a64 binder aosp12/13 - aosp 12 Version 416, android_13.0.0_r14 ci-20221204 ### Additional context This bug first show up in aosp 12 and continued in next aosp 13 builds Only aosp 11 and lineage os 18.1 GSI are not impacted. This is only bug i encountered for my device everything else works fine.
phhusson commented 1 year ago

This bug first show up in aosp 12l and continued in next aosp 13 builds

This means that aosp 12 doesn't have the issue right?

Only aosp 11 and lineage os 18.1 GSI are not impacted.

Why don't you mention aosp 12?

Grab logs with adb logcat -b all -d > log.txt right after trying to load a file in newpipe

abhiturkeh commented 1 year ago

i didn't tested with aosp 12 but lineage os 19.1 also showed the same issue.

**update Tested on [AOSP 12.0 v402] system-squeak-arm32_binder64-ab-vndklite-vanilla.img Same behaviour as aosp 12.1 and 13, not working

abhiturkeh commented 1 year ago

this log file generated from system-squeak-arm32_binder64-ab-vndklite-vanilla-secure.img.xz v416 log.txt

phhusson commented 1 year ago

Ok error is 12-18 21:00:25.420 1455 1455 F linker : CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.media.omx@1.0-service": library "libstagefright_omx.so" not found: needed by main executable

Can you confirm to me that your device initially shipped (when you bought it) with Android 9? What is the last Android version you had on stock rom?

phhusson commented 1 year ago

Ah ok, I wasn't looking at the correct device. And your stock rom never upgraded to Android 12 or Android 13, right?

abhiturkeh commented 1 year ago

yes, the rom was never upgraded 12 or 13.

Take a look this will help :) https://www.gsmarena.com/lenovo_tab_m8_(3rd_gen)-10991.php

kevin-fesselier commented 1 year ago

Hi, I have the same device and the same issue, did you ever find a fix for this? Thanks!