[MPlayer-cygwin] Re: Problem with subtitles

Tomasz Rojek tiroy at poczta.onet.pl
Mon Mar 21 17:30:55 CET 2005


> How about posting the output of mplayer -v?
Here it is:

$ mplayer -v Koyaanisqatsi.avi -sub Koyaanisqatsi.txt -font 
/cygdrive/c/winnt/fonts/arial.ttf
MPlayer 1.0pre6-3.2.3 (C) 2000-2004 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 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.

CommandLine: '-subfont-encoding' 'cp1250' '-subfont-autoscale' '2' '-v' 
'Koyaanisqatsi.avi' '-sub' 'Koyaanisqatsi.txt' '-font' 
'/cygdrive/c/winnt/fonts/arial.ttf'
init_freetype
font: can't open file: /cygdrive/c/winnt/fonts/arial.ttf
Cannot load font: /cygdrive/c/winnt/fonts/arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 
'C:\FOLDER\cygwin\home\waw00968/mplayer/input.conf'
Can't open input config file 
C:\FOLDER\cygwin\home\waw00968/mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file 
or directory
Falling back on default (hardcoded) input config
get_path('Koyaanisqatsi.avi.conf') -> 
'C:\FOLDER\cygwin\home\waw00968/mplayer/Koyaanisqatsi.avi.conf'
getch2: 6 can't get number of input events  [disabling console input]
Playing Koyaanisqatsi.avi.
WINSOCK2 init: 0
[file] File size is 726571008 bytes
STREAM: [file] Koyaanisqatsi.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: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 123846   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  720 x 416
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 123846
Suggested BufferSize: 173382
Quality 5000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 720
  biHeight 416
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 898560
===========================
Regenerating keyframe table for DIVX3 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0   Len: 82642944
Suggested BufferSize: 7133
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=384
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=123846)
list_end=0x2B121E7E
Found movie at 0x280C - 0x2B121E7E
Reading INDEX block, 247676 chunks for 123846 frames (fpos=2B121E86)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1BEA)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=637851843 (123846) audio size=82642944 (82642944)
VIDEO:  [DIV3]  720x416  24bpp  23.976 fps  987.9 kbps (120.6 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:720x416  fps:23.98  ftime:=0.0417
SUB: Detected subtitle file format: vplayer
SUB: Read 10 subtitles.
SUB: Adjusted 10 subtitle(s).
SUB: added subtitle file (1): Koyaanisqatsi.txt
get_path('sub/') -> 'C:\FOLDER\cygwin\home\waw00968/mplayer/sub/'
SUB: Detected subtitle file format: vplayer
SUB: Read 10 subtitles.
SUB: Adjusted 10 subtitle(s).
SUB: added subtitle file (2): ./Koyaanisqatsi.txt
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 48000 Hz 128 kbit Joint-Stereo, BPF: 384
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>9 BGR16 supported
<vo_directx><INFO>testing supported overlay pixelformats
<vo_directx><FORMAT OVERLAY>0 YV12  not supported
<vo_directx><FORMAT OVERLAY>1 I420  not supported
<vo_directx><FORMAT OVERLAY>2 IYUV  not supported
<vo_directx><FORMAT OVERLAY>3 YVU9  not supported
<vo_directx><FORMAT OVERLAY>4 YUY2  supported
<vo_directx><FORMAT OVERLAY>5 UYVY  not supported
<vo_directx><FORMAT OVERLAY>6 RGB15 not supported
<vo_directx><FORMAT OVERLAY>7 BGR15 not supported
<vo_directx><FORMAT OVERLAY>8 RGB16 not supported
<vo_directx><FORMAT OVERLAY>9 BGR16 not supported
<vo_directx><FORMAT OVERLAY>10 RGB24 not supported
<vo_directx><FORMAT OVERLAY>11 BGR24 not supported
<vo_directx><FORMAT OVERLAY>12 RGB32 not supported
<vo_directx><FORMAT OVERLAY>13 BGR32 not supported
<vo_directx><INFO>Your card supports 1 of 14 overlayformats
<vo_directx><INFO>hardware supports overlay
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
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)
ao_dsound: DirectSound initialized
ao_dsound: Samplerate:48000Hz Channels:2 Format:Signed 16-bit 
(Little-Endian)
ao_dsound: Buffersize:192000 bytes (1000 msec)
ao_dsound: primary buffer created
ao_dsound: secondary (stream)buffer created
AO: [dsound] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Windows DirectSound audio output
AO: Author: Gabor Szecsi <deje at miki.hu>
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...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 720 x 416 (preferred csp: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x416->720x416,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Planar YV12 to Packed YUY2 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (BGR)
SwScaler: 720x416 -> 720x416
REQ: flags=0x17  req=0x0
VO: [directx] 720x416 => 720x416 Packed YUY2
VO: Description: Directx DDraw YUV/RGB/BGR renderer
VO: Author: Sascha Sommer <saschasommer at freenet.de>
<vo_directx><INFO>overlay with format YUY2  created
<vo_directx><WARN>unable to get DirectDraw ColorControl interface
*** [vo] Allocating mp_image_t, 720x416x16bpp YUV packed, 599040 bytes
*** [scale] Allocating (slices) mp_image_t, 720x416x12bpp YUV planar, 449280 
bytes
get_path('subfont.ttf') -> 
'C:\FOLDER\cygwin\home\waw00968/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.
XXX initial  v_pts=0.000  a_pos=7133 (0.446)   1 ??% ??% ??,?% 0 0
*** [scale] Allocating (slices) mp_image_t, 720x416x12bpp YUV planar, 449280 
bytes
Uninit audio filters... 0.001 ct:  0.024  58/ 58  8%  6%  0.3% 0 0
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
WINSOCK2 uninit
ao_dsound: DirectSound uninitialized

Exiting... (Quit)

freetype is installed:

$ cygcheck -c | grep free
freetype2               2.1.5-1               OK
libfreetype2-devel      2.1.5-1               OK
libfreetype26           2.1.5-1               OK

-- 
Greetings

Tomasz Rojek 






More information about the MPlayer-cygwin mailing list