remote-android / redroid-doc

redroid (Remote-Android) is a multi-arch, GPU enabled, Android in Cloud solution. Track issues / docs here
4.28k stars 308 forks source link

Using Scrcpy to operate container devices and play MP4 format videos, there is sound during playback, but the video playback interface is black. #552

Open RookieProgra opened 10 months ago

RookieProgra commented 10 months ago

Describe the bug Docker running redroid12 Arm64 Only image, use Scrcpy to operate container devices and play MP4 format videos. There is sound during playback, but the video playback interface is black. It is normal for me to use Redroid11 in the same environment.

collect debug logs

tmp.ZrCUCtQFmY.zip logcat.txt

zhouziyang commented 10 months ago

The stock h264 video decoder possible buggy and poor performance. And I'm considering to add a hardware (or x264) accelerated h264 video decoder (OMX / C2).

RookieProgra commented 10 months ago

The stock h264 video decoder possible buggy and poor performance. And I'm considering to add a hardware (or x264) accelerated h264 video decoder (OMX / C2).

But when playing videos on my device, there is always a black screen. According to what you said, shouldn't this issue happen occasionally?