After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 739247 - vp8enc works very slow on android-x86 devices
vp8enc works very slow on android-x86 devices
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.4.0
Other other
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-27 15:09 UTC by jacobhameiri
Modified: 2014-11-06 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jacobhameiri 2014-10-27 15:09:20 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
Comment 1 Nicolas Dufresne (ndufresne) 2014-10-27 15:25:55 UTC
Any rational behind filing this bug here (against GStreamer project) and not libvpx project ?
Comment 2 jacobhameiri 2014-10-27 15:33:00 UTC
I guess not, I will open a bug in libvpx
Comment 3 Nicolas Dufresne (ndufresne) 2014-10-27 15:37:03 UTC
(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).
Comment 4 jacobhameiri 2014-10-27 15:41:14 UTC
I build with cerbero the 1.4 branch and cross compile for android-x86
Comment 5 Nicolas Dufresne (ndufresne) 2014-10-27 17:01:08 UTC
(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.
Comment 6 jacobhameiri 2014-11-02 08:37:06 UTC
setting deadline=1 (VPX_DL_REALTIME) solved the problem, I guess the defaults are different between arm and x86.
Comment 7 Sebastian Dröge (slomo) 2014-11-06 09:59:21 UTC
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.