Opened 6 years ago

Closed 4 years ago

#14681 closed bug (duplicate)

Playing audio file with embedded Art consumes way too much CPU

Reported by: miqlas Owned by: pulkomandy
Priority: normal Milestone: Unscheduled
Component: Audio & Video/Codecs Version: R1/Development
Keywords: MediaPlayer, playback, cpu, Cc:
Blocked By: #13622 Blocking:
Platform: All

Description

Happens on b1 and on hrev52467, 64 bit. Since the patches from waddlesplash it happens not so frequently, but the problem still exists.

Happen with not yet played files. Stopping and playing solves the problem. Closing MPlayer also solves the problem Even if the file was played once, the bug can resurface again randonmly with low canche Comparing the threads while MediaPlayer plays the same file shows: the "frame_generator" is the rebel thread.

It seems the "Media:Frame" is the problem. If a sound file doesn't triggers the symptoms, just remove it like: rmattr "Media:Frame" filename.mp3 and it will trigger the bug (not always at the first try, for me it kicks in on the second play, idk, why.)

Attachments (1)

sItw.png (472.4 KB ) - added by miqlas 6 years ago.
screenshot

Download all attachments as: .zip

Change History (4)

comment:1 by miqlas, 6 years ago

This screenshot shows that a file without "Media:Frame" triggers the bug (see the previously high CPU load on the ActivityMonitor replicant), but closing and reopening the file MediaPlayer finds the generated attribute and doesn't regenerates it again. (Notice the lower CPU load)

by miqlas, 6 years ago

Attachment: sItw.png added

screenshot

comment:2 by waddlesplash, 6 years ago

Component: - GeneralAudio & Video/Codecs
Owner: changed from nobody to pulkomandy
Status: newassigned

comment:3 by pulkomandy, 4 years ago

Blocked By: 13622 added
Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.