Opened 15 years ago

Last modified 13 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: no Analyzed by developer: no

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 by hhaamu@…, 15 years ago

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

Also related: bug 1459

comment:2 by john.vansickle@…, 15 years ago

Resolution: invalid
Status: newclosed

(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 by hhaamu@…, 15 years ago

Resolution: invalid
Status: closedreopened

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

comment:4 by reimar, 15 years ago

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 by compn, 13 years ago

Resolution: duplicate
Status: reopenedclosed, patriotact@gmail.com

merge these bugs.

Note: See TracTickets for help on using tickets.