GNOME Bugzilla – Bug 739247
vp8enc works very slow on android-x86 devices
Last modified: 2014-11-06 09:59:21 UTC
It takes the encoder a long time to process incoming buffers and cpu load is very high ( around 90% ). tested on samsung galaxy tab 3 10.1 x86 , dell venue 7 I am not sure if it is related but I am seeing this in the build log: /tmp/vpx-conf-11237-32127.c:2:2: error: #error "not x32" #error "not x32" ^ enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3
Any rational behind filing this bug here (against GStreamer project) and not libvpx project ?
I guess not, I will open a bug in libvpx
(In reply to comment #2) > I guess not, I will open a bug in libvpx Ok thanks, I'll keep this one open a little, just in case it comes back to us. Would it be possible to share with us what kind of GStreamer build you are using ? We only currently offer pre-builts for Android ARM, and I haven't tested the result of Intel "trans-compiler" (not sure how that thing is called).
I build with cerbero the 1.4 branch and cross compile for android-x86
(In reply to comment #4) > I build with cerbero the 1.4 branch and cross compile for android-x86 Then it's really worth keeping open, as possible the issue could be improved at build level, even though normally compilation scripts should really figure-out.
setting deadline=1 (VPX_DL_REALTIME) solved the problem, I guess the defaults are different between arm and x86.
We set deadline by default always to VPX_DL_BEST_QUALITY. On x86 and arm. Maybe on arm the library just ignores the setting. In any case you'll have to set this to REALTIME if you want realtime encoding.