Opened 13 years ago

Last modified 4 years ago

#8134 new bug

MediaPlayer use drawbitmap mode instead of overlay mode

Reported by: Giova84 Owned by: stippi
Priority: normal Milestone: R1.1
Component: Applications/MediaPlayer Version: R1/Development
Keywords: mediaplayer video overlay disabled drawbitmap slow video Cc:
Blocked By: Blocking:
Platform: All

Description

As the title say, MediaPlayer doesn't use video overlay, so, in fullscreen mode the video track lose framerates, the video is not fluid, look very poor. MediaPlayer play video only in drawbitmap mode. No problem with VLC. VLC use video overlay, so i can play any movie in fullscreen mode and these are played very smoothly.

R1A3 and hrev43238

Change History (9)

comment:1 by anevilyak, 13 years ago

This doesn't seem to be universal, overlay is used over here for instance, AFAICT.

comment:2 by axeld, 13 years ago

MediaPlayer's overlay support is relatively poor, as it will just try the decoders preferred format. For ffmpeg, this generally seems to be RGB-32 which only few cards to support.

To get overlay working, MediaPlayer would need to ask the app_server for supported formats, and then try those. Or just try a few more anyway - the most common overlay format is YCbCr, so it should at least try that one.

in reply to:  2 comment:3 by tangobravo, 13 years ago

Replying to axeld:

MediaPlayer's overlay support is relatively poor, as it will just try the decoders preferred format. For ffmpeg, this generally seems to be RGB-32 which only few cards to support.

Most video codecs will encode in some YUV space by default, and use a lower resolution for the UV components than the Y. If our ffmpeg decoder is offering RGB-32 by default, that sounds like some mis-configuration (it's probably inserting a colour conversion filter automatically).

comment:4 by ariza09, 13 years ago

(Google Code-in)

Haiku revision: hrev42211 not a bug.When I open the video in fullscreen mode,Video is very smoothly. System: Haiku hrev1-alpha3 on VMware workstation 8 on windows 7 32 bit

comment:5 by Giova84, 13 years ago

Hi Ariza90,

I have two computers: on both computers Mediaplayer play videos in drawBitmap mode. On the first computer (Intel dualcore with a videocard Intel Extreme HDMI 512 Mb RAM) the videos are played smoothly in fullscreen mode, but on my older computer (pentium 4 singlecore with a Geforce 4 MX AGP 128 Mb card) the fullscreen mode looks very poor and in slow frames. VLC goes in ovlerlay mode, so in this way, on my older computer fullscreen mode is good.

Regards.

EDIT:

Ops, i am really sorry, Ariza09: I misspelled your name!

Excuse me!

Last edited 13 years ago by Giova84 (previous) (diff)

comment:6 by Giova84, 12 years ago

hrev44240: MediaPlayer is still using drawbitmap instead of overlay. VLC is still using overlay mode, instead. On older e slower computers this (only drawbitmap) make the video playing very poor.

Version 0, edited 12 years ago by Giova84 (next)

comment:7 by diver, 12 years ago

Version: R1/alpha3R1/Development

comment:8 by Freeman, 12 years ago

System: Haiku R1Alpha4.1 on Virtualbox v4.2.4r81684 Windows Ultimate x64. CPU: i5 3570k 3.4 ghz ( 1 Cpu allocated to Haiku) Ram: 4gb ddr3 (2gb allocated to Haiku) Video memory: 8mb allocated to Haiku . Acceleration not enabled in Virtualbox

Test video 720p 104.64mb ASF file was played smoothly in fullscreen. So like Giova84 says, it depends on the computer hardware.

comment:9 by pulkomandy, 4 years ago

Milestone: R1R1.1
Note: See TracTickets for help on using tickets.