Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

It's consuming CPU even when there's no active task. #520

Closed
402m opened this issue Aug 10, 2020 · 6 comments
Closed

It's consuming CPU even when there's no active task. #520

402m opened this issue Aug 10, 2020 · 6 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@402m
Copy link

402m commented Aug 10, 2020

Description
Right after I use Config.setLogLevel, my app keeps a ~ 10% CPU usage even though I haven't start any command.

Expected behavior
There should be ~ 0% CPU usage when idle.

Current behavior
The CPU stays ~10% on my Nexus 6P & Pixel 4 devices.

Logs

08-10 18:18:49.652 26071 26162 I mobile-ffmpeg: Loading mobile-ffmpeg.
08-10 18:18:49.813 26071 26162 I mobile-ffmpeg: Loaded mobile-ffmpeg-min-gpl-arm64-v8a-4.3.2-20200415.
08-10 18:18:49.815 26071 26211 D mobile-ffmpeg: Callback thread started.

Environment

  • Platform: Android
  • Architecture: arm64-v8a
  • Version: 4.3.2
  • Android Studio version: IDEA 2020.1.1
@tanersener tanersener self-assigned this Aug 10, 2020
@tanersener tanersener added the bug Something isn't working label Aug 10, 2020
@tanersener
Copy link
Owner

Thanks for reporting this issue. Something was not right about monitorWait function on Android. Fixed it on the development branch. It is around % 1 after the fix.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

github-actions bot commented Feb 9, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

imostovyi pushed a commit to imostovyi/mobile-ffmpeg that referenced this issue Apr 2, 2021
* development: (155 commits)
  fix android async example
  update ios manual test application
  update android test app
  support iOS 14, fixes tanersener#553
  Support Android scoped storage (tanersener#440)
  Update arch-common.sh (tanersener#534)
  fix monitorWait method for android, fixes tanersener#520
  reorganise android.mk for cpu-features
  update the packaging for android arm-v7a and arm-v7a-neon architectures and remove custom abi rules for releases, fixes tanersener#511
  fix proguard rules, fixes tanersener#508
  target android api level 30
  update android gradle version
  Update README
  move tooltips to resources
  fix android release packaging script
  update ios test-app settings
  fix ios/tvos system library indexes in ffmpeg build scripts
  use v4.4.LTS in test applications
  release v4.4.LTS
  fix mobile-ffmpeg videotoolbox flags for tvos
  ...

# Conflicts:
#	ios/configure
#	ios/src/MobileFFmpeg.h
#	ios/src/MobileFFmpeg.m
#	src/ffmpeg/configure
#	src/ffmpeg/libswscale/aarch64/hscale.S
#	src/libvorbis/doc/Vorbis_I_spec.html
#	src/libvorbis/doc/Vorbis_I_spec.pdf
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@tanersener
Copy link
Owner

This project will be retired. Please consider switching to FFmpegKit. This bug is fixed there.

@tanersener tanersener added the wontfix This will not be worked on label Apr 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants