Opened 22 months ago

Last modified 6 weeks ago

#13622 assigned bug

[MediaPlayer] media extractor thread uses 100% cpu

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Media Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #13928
Has a Patch: no Platform: x86-64

Description

hrev51305 x86_64

http://podtrac.com/pts/redirect.mp3/latenightlinux.com/media/LNL15.ogg

Playing this file is either makes MediaPlayer (media extractor thread) use 100% cpu or quits with:

pure virtual method called
terminate called without an active exception

Change History (8)

comment:1 Changed 22 months ago by korli

What about hrev51306?

comment:2 Changed 22 months ago by diver

CPU usage is still high. Can't trigger the crash tho.

comment:3 Changed 22 months ago by korli

https://dev.haiku-os.org/attachment/ticket/13410/VanillaFudge.mp3 seems to also be affected. MediaPlayer (or something it calls) seems to insist on extracting video frames which are not present.

comment:4 Changed 22 months ago by vidrep

Note that the the slider of the progress bar never moves while playing that ogg sample clip. I also see that problem with one of my m2ts trailers.

Last edited 22 months ago by vidrep (previous) (diff)

comment:5 Changed 17 months ago by diver

Blocking: 13928 added

comment:6 Changed 8 months ago by waddlesplash

High CPU usage fixed in hrev52358; however, the time indicator still does not increment on these files.

comment:7 Changed 4 months ago by pulkomandy

Still getting high CPU usage on some files here. In media player, "event queue runner", "playback manager", "media extractor thread" and "frame generator" threads are busy, as well as the main window thread.

How did we end up with so many threads just to play a media file anyway?

comment:8 Changed 6 weeks ago by korli

Owner: changed from korli to nobody
Status: newassigned
Note: See TracTickets for help on using tickets.