[MPlayer-cygwin] font scaling problem? sig11 with no subfont.ttf/font and video with subs.
Compn
tempn at twmi.rr.com
Sat Dec 20 14:45:35 CET 2003
i dunno if this is a bug or not but if font= is declared in the config, then
-subfont-text-scale does not scale the font. commenting out font
lets it work again.
font=c:\programs\mplayer\font-arial-18-iso-8859-1\font.desc
means i will get the same font size using -subfont-text-scale or
the other subtitle scaling options.
also, without a subfont.ttf and without a font defined,
mplayer will sig11 on me with a video with subtitle file.
below is -v.
C:\STUFF\incoming\OLDSTUFF>mplayer -v -nosound "Dragon's Claw CD 2 MHK Rip.avi"
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
CPU: Intel Pentium MMX P55C 217.3 MHz (Family: 5, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file C:/programs/mplayer/mplayer/config
Reading C:/programs/mplayer/mplayer/codecs.conf: 60 audio & 158 video codecs
CommandLine: '-v' '-nosound' 'Dragon's Claw CD 2 MHK Rip.avi'
init_freetype
get_path('font/font.desc') -> 'C:/programs/mplayer/mplayer/font/font.desc'
font: can't open file: C:/programs/mplayer/mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> 'C:/programs/mplayer/mplayer/input.conf'
Parsing input config file C:/programs/mplayer/mplayer/input.conf
Input config file C:/programs/mplayer/mplayer/input.conf parsed: 53 binds
get_path('Dragon's Claw CD 2 MHK Rip.avi.conf') -> 'C:/programs/mplayer/mplayer/Dragon's Claw CD 2 MHK Rip.avi.conf'
Playing Dragon's Claw CD 2 MHK Rip.avi.
WINSOCK2 init: 0
[file] File size is 737241088 bytes
STREAM: [file] Dragon's Claw CD 2 MHK Rip.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 33367 (fps=29.970)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 74386 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 288
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: divx (78766964)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 29970/1000 = 29.970
Start: 0 Len: 74386
Suggested BufferSize: 72246
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 288
biPlanes 1
biBitCount 24
biCompression 808802372='DX50'
biSizeImage 552960
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0 Len: 103418
Suggested BufferSize: 768
Quality -1
Sample size: 0
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 21100
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=506
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
list_end=0x2292
list_end=0x22B6
hdr=Software size=15
Software : Nandub v1.0rc2
Broken chunk? chunksize=1346 (id=JUNK)
list_end=0x2BC5F76E
Found movie at 0x280C - 0x2BC5F76E
Reading INDEX block, 177804 chunks for 74386 frames (fpos=2BC5F776)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1EC)
Auto-selected AVI video ID = 0
AVI_NI: No audio stream found -> no sound.
AVI video size=680413221 (74386) audio size=0 (0)
VIDEO: [DX50] 640x288 24bpp 29.970 fps 2193.1 kbps (267.7 kbyte/s)
[V] filefmt:3 fourcc:0x30355844 size:640x288 fps:29.97 ftime:=0.0334
Clip info:
Software: Nandub v1.0rc2
get_path('sub/') -> 'C:/programs/mplayer/mplayer/sub/'
SUB: Detected subtitle file format: subviewer
SUB: Read 377 subtitles.
SUB: added subtitle file (1): ./Dragon's Claw CD 2 MHK Rip.srt
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>12 BGR32 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12 supported
<vo_directx><FORMAT OVERLAY>1 I420 not supported
<vo_directx><FORMAT OVERLAY>2 IYUV not supported
<vo_directx><FORMAT OVERLAY>3 YVU9 supported
<vo_directx><FORMAT OVERLAY>4 YUY2 supported
<vo_directx><FORMAT OVERLAY>5 RGB15 not supported
<vo_directx><FORMAT OVERLAY>6 BGR15 not supported
<vo_directx><FORMAT OVERLAY>7 RGB16 not supported
<vo_directx><FORMAT OVERLAY>8 BGR16 not supported
<vo_directx><FORMAT OVERLAY>9 RGB24 not supported
<vo_directx><FORMAT OVERLAY>10 BGR24 not supported
<vo_directx><FORMAT OVERLAY>11 RGB32 not supported
<vo_directx><FORMAT OVERLAY>12 BGR32 not supported
<vo_directx><INFO>Your card supports 3 of 13 overlayformats
<vo_directx><INFO>can mirror up down
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
[ffmpeg] aspect_ratio: 2.222222
VDec: vo config request - 640 x 288 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.22:1 - prescaling to correct movie aspect.
VO Config (640x288->640x288,flags=0,'MPlayer',0x32315659)
VO: [directx] 640x288 => 640x288 Planar YV12
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>using normal cooperativelevel
<vo_directx><INFO>using singlebuffer overlay
<vo_directx><ERROR>slow video ram
*** [vo] Allocating (slices) mp_image_t, 640x288x12bpp YUV planar, 276480 bytes
<vo_directx><ERROR>slow video ram
*** [vo] Allocating (slices) mp_image_t, 640x288x12bpp YUV planar, 276480 bytes
get_path('subfont.ttf') -> 'C:/programs/mplayer/mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM.
Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
uninit video: ffmpeg
DEMUXER: freeing demuxer at 020034E8
WINSOCK2 uninit
More information about the MPlayer-cygwin
mailing list