[MPlayer-users] Fonts

Corey Hickey bugfood-ml at fatooh.org
Thu May 8 05:36:45 CEST 2003


D Richard Felker III wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Wed, May 07, 2003 at 01:17:04PM -0500, davidgn at servidor.unam.mx wrote:
> 
>>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>>
>>Hello.
>>I was just wondering, why does every movie has jagged subtitles?
>>Is there anything I can do to make the subtitles appear as smooth as the time
>>osd font? I have tried some few combinations, but as there are so many, Im not
>>sure if Im missing something.
> 
> 
> DVD subtitles are horrible ugly bitmaps, so that's why they look bad.
> If you want to smooth them out, add spuaa=20 to your .mplayer/config
> (or put -spuaa 20 on the command line), but it may make mplayer slow
> down slightly when a subtitle is displayed.
> 

I just tried that out, and I noticed that when I use -spuaa 20, there's
a thin vertical black line to the right of some subtitles. I've watched
it for a few minutes, and I can't find any correlation as to when the
line will show up and when it won't, but it seems to be there for about
half the subtitles I've seen. I'm attaching a jpeg screenshot of what it
looks like, along with mplayer -v pasted below. Can anyone reproduce
this, or should I make a full bugreport?

-Corey



Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer dev-CVS-030501-22:53-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices  (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/bugfood/.mplayer/config
Reading /home/bugfood/.mplayer/codecs.conf: 55 audio & 141 video codecs
CommandLine: 'dvd://5' '-sid' '1' '-ss' '900' '-spuaa' '20' '-aid' '128' 
'-vo' 'x11' '-v'
get_path('font/font.desc') -> '/home/bugfood/.mplayer/font/font.desc'
Font /home/bugfood/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Permission denied (mplayer should be setuid 
root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/bugfood/.mplayer/input.conf'
Parsing input config file /home/bugfood/.mplayer/input.conf
Input config file /home/bugfood/.mplayer/input.conf parsed : 67 binds
Opening joystick device /dev/input/js2
get_path('5.conf') -> '/home/bugfood/.mplayer/5.conf'

Playing dvd://5
get_path('DVDKeys') -> '/home/bugfood/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 11 titles on this DVD.
There are 18 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: ac3 (5.1) language: fr aid: 129
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] subtitle ( sid ): 2 language: es
[open] subtitle ( sid ): 3 language: fr
[open] number of subtitles on disk: 4
DVD start cell: 0  pack: 0x0-0x4AEE5
DVD start=0 end=3585790
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x4AEE5
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x854d860
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x854d860
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x854d860
Checking for REAL
DEMUXER: freeing demuxer at 0x854d860
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x854d860
DEMUXER: freeing demuxer at 0x854e200
Searching demuxer type for filename dvd://5 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x854e200
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing demuxer at 0x854e200
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x4AEE5
Angle-seek synced by cell/vob IDN search!
Checking for PVA
DEMUXER: freeing demuxer at 0x854e200
************Checking for TS************
NOT A TS FILE1
TRIED UP TO POSITION 1000000, FOUND 45, packet_size= 0
DVD Seek! lba=0x601  cell=0  packs: 0x0-0x4AEE5
Angle-seek synced by cell/vob IDN search!
BUF: 47 2f 19 93, PID 3865, SIZE: 0
PID 3865, COMPARE CC 3 AND LAST_CC -1
BUF: 47 2f 19 93, PID 3865, SIZE: 0
PID 3865, COMPARE CC 3 AND LAST_CC 3
DEMUXER: freeing demuxer at 0x854e200
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x4AEE5
Angle-seek synced by cell/vob IDN search!
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 129
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  6299.6 kbps (787.5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/home/bugfood/.mplayer/sub/'
get_path('default.sub') -> '/home/bugfood/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local 
display)
[x11] Detected wm supports layers.
==========================================================================
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: testing and bugreports are welcome.
alsa-init: requested format: 48000 Hz, 2 channels, Signed 16-bit 
(Little-Endian)
alsa-init: compiled for ALSA-0.9.2
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=65536
alsa9: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa9] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi <alex at naxine.org>, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 
and bps = 2
Starting playback...
alsa-space: free space = 65536, status=139900120, prepared --
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=0,'MPlayer',0x32315659)
VO: [x11] 720x480 => 854x480 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
dvd_next_cell: next1=0x0  038 ct:  0.000    1/  1   0%  0%  0.0% 0 0 0%
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
DVD Seek! lba=0x54849  cell=2  packs: 0x4D1FE-0x57D75
Angle-seek synced by cell/vob IDN search!
==> Found subtitle: 1
==> Found subtitle: 0
alsa-space: free space = 65536, status=140103240, prepared --
==> Found subtitle: 5
==> Found subtitle: 4
==> Found subtitle: 3
==> Found subtitle: 2
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating (slices) mp_image_t, 720x480x12bpp YUV planar, 
518400 bytes
A:  68.9 V:  68.9 A-V:  0.015 ct:  0.126   13/ 11   0%  0%  0.0% 0 0 0%
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS 
changed to 23.976!
A:  70.2 V:  70.2 A-V:  0.008 ct:  0.178   45/ 42  12% 12%  4.5% 0 0 0%
alsa-space: free space = 65536, status=140040984, prepared --
Uninit audio filters...-0.025 ct:  0.197   62/ 59  12% 12%  5.4% 5 0 0%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x854e200
DEMUXER: freeing sh_video at 0x8550bf8
DEMUXER: freeing sh_audio at 0x8552d58
DEMUXER: freeing sh_audio at 0x8552cb0
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (Quit)



More information about the MPlayer-users mailing list