Open wx5391805 opened 8 months ago
Just use ffmpeg
with hw accelerated APIs (libva
etc.) to implement your own media codecs, no magics here.
What is the SW codec? When I open both androidboot.use_redroid_omx=1 androidboot.use_redroid_vaapi=1 I get an amdgpu driver error. I can only do this androidboot.use_redroid_omx=1 androidboot.use_redroid_vaapi=0 But I found that the CPU utilization is much lower than google.h264.encoder.
[518851.401904] [drm:amdgpu_job_timedout [amdgpu]] ERROR ring vcn_enc_0.0 timeout, signaled seq=257492, emitted seq=257493 [518851.413038] [drm:amdgpu_job_timedout [amdgpu]] ERROR Process information: process omx@1.0-service pid 63535 thread android.ha:cs0 pid 3951 [518851.590839] [drm] Register(0) [mmUVD_POWER_STATUS] failed to reach value 0x00000001 != 0x00000002n
This is not mature, and that's why not mentioned in official redroid doc.
OK but what is the software codec in this case? It's much better than libx264
Redroid is a great job. Are there any plans to open source libOmxCore? I use amdgpu + redroid OMX and want to improve the screen recording features. Thank you very much.