Hello Jiri,

But I guess these are problems of "mplayer". Perhaps a black layer/surface should be put behind the video window to prevent this?

I suggest You to look at mplayer DOCS and consider to use -vop expand - this
could help, but it uses more CPU time (it has one advantage - allows to put
subtitles bellow the  movie),

Unfortunately, nothing works as expected.


I guess "-vop expand" is not what we're looking for. From the docs:
"Expands (not scales) movie resolution to the given value places the unscaled original at coordinates x, y."


But: I want the image to be scaled to my screen size, so a combination of "expand" and "scale" would be right. But "scale" uses software scaling. But I tried it anyway, with mixed results (below)

In theory, "-fs" should give the black bands above and below the movie.
"-fs Fullscreen  playing (centers movie, and makes black bands around
it)."

But here are the detailed results:

1) mplayer -fs -vo directfb [...]
=> bands are cleared to black, but become visible due to window manager updates, black movie window stays after quit, can only be deleted with "dfblayer"


2) mplayer -fs -vo dfbmga:bes [...]
=> bands are not cleared, movie windows disappears automatically

3) mplayer -fs -vo directfb -vop expand=1280:1024:0:0:0 [...]
=> output looks completely bogus, video is put in a small window at the bottom left of the screen and does not have the right size, other boxes with garbage are displayed randomly. After quitting, the screen can only be restored with "dfblayer"


4) mplayer -fs -vo dfbmga:bes -vop expand=1280:1024 [...]
=> does not work:
VO: [dfbmga] 1280x1024 => 1280x1024 Planar YV12  [fs]
vo_dfbmga: Video surface 1280x1024 YV12
vo_dfbmga: Invalid BES configuration - Not supported!!
FATAL: Cannot initialize video driver.
(!) [16831: 98626.951] --> Caught signal 11 (at (nil), invalid address) <--
[...]

JS

CU Michael.



--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.




Reply via email to