[MPlayer-users] understandig -vo expand with mpconsole/-vo mga (black bands for subtitles)

Maximo Ramos maximo at violadores.org
Sun Apr 21 07:25:01 CEST 2002


Hi there!!

Looks like I don't understand the docs about -vo expand :(

Firstable: I use mplayer in fbconsole, with -vo mga and most of the time with
mpconsole. My fbconsole resolution is 1024x768

I have a divx file with resolution: 

VO: [mga] 720x320 => 720x320 Planar YV12

Now, for testing, to add black borders, I tried -vop expand=720:500:720:320, I get:

VO: [mga] 720x500 => 720x320 Planar YV12
vo_mga aspect(): resized to 720x320
[mga] Using 3 buffers.
*** [expand] Exporting mp_image_t, 720x320x12bpp YUV planar, 345600 bytes
*** [vo] Allocating mp_image_t, 720x500x12bpp YUV planar, 540000 bytes

I get the black bands *but* it doesn't expand the movie, it shrinks the file inside the
720x320, making it look weird.

What I mean is that I don't get the 720x500, did I missunderstand the docs? 

And for fullscreen:

with the same divx file, and the -fs parameter, I normally get:

VO: [mga] 720x320 => 720x320 Planar YV12 fs
vo_mga aspect(): resized to 1024x456
[mga] Using 3 buffers.
*** [vo] Exporting mp_image_t, 720x320x12bpp YUV planar, 345600 bytes

so, if I tried -vop expand=1024:768:1024:456 to fillup the rest of the screen with black
bands, the divx file shrinks again inside the 1024:456 :(

What am I missing? is it possible to write a script (like mpconsole) to fillup with black 
bands a movie if possible? 
 
PS. -subpos doesn't work with -vo mga




More information about the MPlayer-users mailing list