[MPlayer-cygwin] problem with vf=expand

Radek Cervinka radek.cervinka at centrum.cz
Sun Dec 19 22:53:08 CET 2004


Hi,
i uses MPlayer on Windows and Linux and i found this problem.
I like display subtitles under picture and for this i try to use

this config
subpos=100
subalign=2
vf=expand=0:-100:0:0:1
subfont-autoscale=1

but, subtitles are not rendered, but if I specify vo=directx:noaccell, 
subtitles are rendered good. Widtout expand rendered good too.
It's a bug or feature? Or can add only selected amount of pixels?

logs :

1)good subtitles
vo=directx,
#vf=expand=0:-100:0:0:1

Starting playback...
[ffmpeg] aspect_ratio: 1.739130
VDec: vo config request - 640 x 368 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
VO Config (640x368->640x368,flags=0,'MPlayer',0x32315659)
VO: [directx] 640x368 => 640x368 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
*** [vo] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
XXX initial  v_pts=0.000  a_pos=8000 (0.500)
*** [vo] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
Unicode font: 1418 glyphs.
*** [vo] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 353280 bytes
*****************************************************************************
2)bad subtitles
vo=directx
vf=expand=0:-100:0:0:1

Starting playback...
[ffmpeg] aspect_ratio: 1.739130
VDec: vo config request - 640 x 368 (preferred csp: Planar YV12)
Trying filter chain: expand vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
VO Config (640x368->640x368,flags=0,'MPlayer',0x32315659)
REQ: flags=0x417  req=0x0
VO: [directx] 640x468 => 640x468 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YV12  created
Unicode font: 1418 glyphs.
*** [vo] Allocating (slices) mp_image_t, 640x468x12bpp YUV planar, 449280 bytes
Full DR not possible, trying SLICES instead!
*** [expand] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 
353280 by
tes
XXX initial  v_pts=0.000  a_pos=8000 (0.500)
*** [vo] Allocating (slices) mp_image_t, 640x468x12bpp YUV planar, 449280 bytes
Full DR not possible, trying SLICES instead!
*** [expand] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 
353280 by
tes
*** [vo] Allocating (slices) mp_image_t, 640x468x12bpp YUV planar, 449280 bytes
Full DR not possible, trying SLICES instead!
*** [expand] Allocating (slices) mp_image_t, 640x368x12bpp YUV planar, 
353280 by
tes
Uninit audio filters...


many thanks for help

Radek Cervinka




More information about the MPlayer-cygwin mailing list