High CPU usage when video is paused?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
poochie2
New Cone
New Cone
Posts: 4
Joined: 24 Oct 2004 08:16

High CPU usage when video is paused?

Postby poochie2 » 04 Jan 2009 12:24

Is it normal to have a high cpu usage (10-25%) when a video is paused (tried VOB and MKV on Windows and OSX Intel)?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: High CPU usage when video is paused?

Postby Jean-Baptiste Kempf » 04 Jan 2009 14:11

Nope. VLC version?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

poochie2
New Cone
New Cone
Posts: 4
Joined: 24 Oct 2004 08:16

Re: High CPU usage when video is paused?

Postby poochie2 » 04 Jan 2009 14:37

- 0.9.8 on OSX, always happens, even with an mp3 file! (Edit: 0.8.6i does the same)
- 0.8.6f on win sometimes does so sometimes doesn't, can be a 5% of CPU sometimes or a 20% on others, 0% otherwise (this happened with the same mkv open after doing play/pause) (Edit: 0.9.6, which I had around, does the same thing, but this machine was tested on remote desktop [didn't think that would change anything while paused], with a standard desktop usage I only get 2% spikes on an Athlon X2 2.0 GHz...so this seems more like a OSX issue)
- doesn't happen on my desktop win machine with 0.8.6i or with 0.8.6f, I shall later try the latest build on my server.

jskartman
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2009 23:59

Re: High CPU usage when video is paused?

Postby jskartman » 13 Dec 2009 00:08

I have observed this "bug" too

Under ubuntu karmic, when i pause a video the cpu load decreases from 80-40% CPU (depend on the video quality,codecs...) to 10-20% CPU.

The expected behaviour is that VLC uses 0% CPU when the video is paused as Mplayer does.

Regards

jskartman
New Cone
New Cone
Posts: 2
Joined: 12 Dec 2009 23:59

Re: High CPU usage when video is paused?

Postby jskartman » 13 Dec 2009 00:08

vlc 1.0.2

Rémi Denis-Courmont
Developer
Developer
Posts: 15328
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: High CPU usage when video is paused?

Postby Rémi Denis-Courmont » 13 Dec 2009 10:47

This is normal behaviour. The video filtering and rendering pipeline runs also when paused. This is required for OSD to work. This is also required to redraw the current frame if it becomes damaged (in the X11 sense of damaged).

If you want zero usage, update to VLC 1.1, stop the input, and make sure your Qt4 theme does not use an interval timer internally (some of them do).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests