Opened 10 years ago

Last modified 8 years ago

#1532 closed defect (duplicate)

status line printed ~86 times per second on audio-only files

Reported by: hhaamu@… Owned by: reimar
Priority: normal Component: core
Version: 1.0rc2 Severity: minor
Keywords: Cc: reimar, compn
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

The status line is printed way too often on audio files, seeing how the data only updates ten times a second.

For comparison, on video files the line is printed once per frame.

Background:
Apple's Terminal.app seems to dislike the carriage-return (\r) character and uses 8-10% of CPU (effectively quadrupling CPU usage of audio file playing) due to mplayer printing it this often.

Change History (5)

comment:1 Changed 10 years ago by hhaamu@…

I figured rc2 was a tad old, so tested with SVN r29474 -- got ~82 times per second

Also related: bug 1459

comment:2 Changed 10 years ago by john.vansickle@…

  • Resolution set to invalid
  • Status changed from new to closed

(In reply to comment #0)

The status line is printed way too often on audio files, seeing how the data
only updates ten times a second.

For comparison, on video files the line is printed once per frame.

Background:
Apple's Terminal.app seems to dislike the carriage-return (\r) character and
uses 8-10% of CPU (effectively quadrupling CPU usage of audio file playing) due
to mplayer printing it this often.

This sounds like more of a problem with Terminal.app than MPlayer. You're solution is to use -quiet or -really-quiet until Apple fixes Terminal.app.

comment:3 Changed 10 years ago by hhaamu@…

  • Resolution invalid deleted
  • Status changed from closed to reopened

Nope, the status line is still being printed way more than it needs to be, no matter what the terminal program is.

comment:4 Changed 10 years ago by reimar

  • Cc Reimar.Doeffinger@… added

The patch for this on the mplayer-devel list is IMO nearly acceptable, it just needs someone to fix it up a bit (search for quiet-time).

comment:5 Changed 8 years ago by compn

  • Resolution set to duplicate
  • Status changed from reopened to closed, patriotact@gmail.com

merge these bugs.

Note: See TracTickets for help on using tickets.