[Mplayer-users] Unable to use Mplayer video codec driver family d show

Francois Visagie fvisagie at za.spescom.com
Wed May 24 13:49:57 CEST 2006


Dear Mplayer community,

I am trying to get Mplayer 1.0pre7 to play via Windows DirectShow, in order
to use DirectShow filters like DirectVobSub or ffdshow to control and render
subtitle text multiplexed into the AVI. This works with other players, but
despite having tried anything from the documentation that looks useful, I
have had no success. Despite trying all kinds of files encoded in all kinds
of formats that Mplayer does play back correctly otherwise, I cannot get it
to use dshow. Even forcing the codec family with -vfm dshow does not work.

Below please find hopefully all relevant information.

=> Is Mplayer 1.0pre7 supposed to work via DirectShow on the system below (I
have also tried pre8)?
=> If so, how can I get it to work - is there something I need to configure
differently or some other work-around?
=> If 1.0pre7 & 8 don't correctly support this, is there a later binary I
can download - I don't have the environment to do my own makes from source?

Many thanks in advance,
Francois Visagie

--
Mplayer config

vo=directx
ao=win32
double=yes
font=c:\windows\fonts\arial.ttf
autosync=1
framedrop=yes
quiet=yes
fs=yes
subfont-text-scale=3
monitoraspect=1.6

B.4.1. System Information

OS Name	Microsoft Windows XP Professional
Version	5.1.2600 Service Pack 2 Build 2600
OS Manufacturer	Microsoft Corporation
BIOS Version/Date	Dell Inc. A04, 2005/09/30
SMBIOS Version	2.3
Windows Directory	C:\WINDOWS
System Directory	C:\WINDOWS\system32
Boot Device	\Device\HarddiskVolume2
Locale	United States
Hardware Abstraction Layer	Version = "5.1.2600.2180
(xpsp_sp2_rtm.040803-2158)"
Time Zone	South Africa Standard Time
Total Physical Memory	512.00 MB
Available Physical Memory	158.74 MB
Total Virtual Memory	2.00 GB
Available Virtual Memory	1.96 GB
Page File Space	1.22 GB
Page File	C:\pagefile.sys

B.4.2. Hardware and drivers

System Manufacturer	Dell Inc.
System Model	Latitude D810
System Type	X86-based PC
Processor	x86 Family 6 Model 13 Stepping 8 GenuineIntel ~1995 Mhz

Name	ATI MOBILITY RADEON X300
PNP Device ID
PCI\VEN_1002&DEV_5460&SUBSYS_200A1028&REV_00\4&27EA4097&0&0008
Adapter Type	ATI MOBILITY RADEON X300 (0x5460), ATI Technologies Inc.
compatible
Adapter Description	ATI MOBILITY RADEON X300
Adapter RAM	64.00 MB (67,108,864 bytes)
Installed Drivers	ati2dvag.dll
Driver Version	6.14.10.6568
INF File	oem4.inf (BR_24910_ati2mtag_M22 section)
Color Planes	1
Color Table Entries	4294967296
Resolution	1680 x 1050 x 60 hertz
Bits/Pixel	32
Memory Address	0xD0000000-0xD7FFFFFF
I/O Port	0x0000DE00-0x0000DEFF
Memory Address	0xDFDF0000-0xDFDFFFFF
IRQ Channel	IRQ 16
I/O Port	0x000003B0-0x000003BB
I/O Port	0x000003C0-0x000003DF
Memory Address	0xA0000-0xBFFFF
Driver	c:\windows\system32\drivers\ati2mtag.sys (6.14.10.6568, 1.08 MB
(1,132,544 bytes), 2005/09/08 09:54)

Name	SigmaTel C-Major Audio
Manufacturer	SigmaTel
Status	OK
PNP Device ID	PCI\VEN_8086&DEV_266E&SUBSYS_01861028&REV_03\3&61AAA01&0&F2
I/O Port	0x0000ED00-0x0000EDFF
I/O Port	0x0000EC40-0x0000EC7F
Memory Address	0xDFFFFE00-0xDFFFFFFF
Memory Address	0xDFFFFD00-0xDFFFFDFF
IRQ Channel	IRQ 16
Driver	c:\windows\system32\drivers\stac97.sys (5.10.4255, 266.77 KB
(273,168 bytes), 2005/09/08 09:54)

B.4.5. Playback problems

MPlayer 1.0pre7-3.4.2 (C) 2000-2005 MPlayer Team
CPU: Intel (Family: 6, Stepping: 8)
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: '-v' '-vfm' 'dshow' 'C:\Documents and Settings\fvisagie\My
Document
s\My Videos\Movie XviD deinterlaced 12bpp compression.avi'
init_freetype
c:\windows\fonts\arial.ttf doesn't look like a font description, ignoring.
Cannot load font: c:\windows\fonts\arial.ttf
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Windows native timing
get_path('input.conf') -> 'C:/Program Files/mplayer/mplayer/input.conf'
Parsing input config file C:/Program Files/mplayer/mplayer/input.conf
Input config file C:/Program Files/mplayer/mplayer/input.conf parsed: 57
binds
get_path('C:\Documents and Settings\fvisagie\My Documents\My Videos\Movie
XviD d
einterlaced 12bpp compression.avi.conf') -> 'C:/Program
Files/mplayer/mplayer/C:
\Documents and Settings\fvisagie\My Documents\My Videos\Movie XviD
deinterlaced
12bpp compression.avi.conf'
Playing C:\Documents and Settings\fvisagie\My Documents\My Videos\Movie XviD
dei
nterlaced 12bpp compression.avi.
WINSOCK2 init: 0
[file] File size is 15668998 bytes
STREAM: [file] C:\Documents and Settings\fvisagie\My Documents\My
Videos\Movie X
viD deinterlaced 12bpp compression.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: 40000 (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
Frames total: 3013  initial: 0
streams: 2
Suggested BufferSize: 0
Size: 540 x 404
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids  FCC: xvid (64697678)
Flags: 0
Priority: 0  Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0  Len: 3013
Suggested BufferSize: 21141
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 540
  biHeight 404
  biPlanes 1
  biBitCount 12
  biCompression 1145656920='XVID'
  biSizeImage 1308960
===========================
Regenerating keyframe table for MPEG4 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 6000/1 = 6000.000
Start: 0   Len: 723312
Suggested BufferSize: 3000
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 24000
avg byte/sec: 6000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=144
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=3013)
list_end=0xED9EFE
Found movie at 0x280C - 0xED9EFE
Reading INDEX block, 6016 chunks for 3013 frames (fpos=00ED9F06)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xBC4)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=14790118 (3013) audio size=723312 (723312)
VIDEO:  [XVID]  540x404  12bpp  25.000 fps  981.8 kbps (119.8 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:540x404  fps:25.00  ftime:=0.0400
get_path('sub/') -> 'C:/Program Files/mplayer/mplayer/sub/'
SUB: Detected subtitle file format: microdvd
SUB: Read 125 subtitles.
SUB: Adjusted 124 subtitle(s).
SUB: added subtitle file (1): C:\Documents and Settings\fvisagie\My
Documents\My
 Videos\Movie XviD deinterlaced 12bpp compression.sub
==========================================================================
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 2.0, Layer III, 24000 Hz 48 kbit Joint-Stereo, BPF: 144
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 24000 Hz, 2 ch, s16le, 48.0 kbit/6.25% (ratio: 6000->96000)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>14 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 UYVY  supported
<vo_directx><FORMAT OVERLAY>6 BGR8  not supported
<vo_directx><FORMAT OVERLAY>7 RGB15 supported
<vo_directx><FORMAT OVERLAY>8 BGR15 supported
<vo_directx><FORMAT OVERLAY>9 RGB16 supported
<vo_directx><FORMAT OVERLAY>10 BGR16 supported
<vo_directx><FORMAT OVERLAY>11 RGB24 not supported
<vo_directx><FORMAT OVERLAY>12 BGR24 not supported
<vo_directx><FORMAT OVERLAY>13 RGB32 supported
<vo_directx><FORMAT OVERLAY>14 BGR32 supported
<vo_directx><INFO>Your card supports 10 of 15 overlayformats
<vo_directx><INFO>hardware supports overlay
==========================================================================
Trying to force video codec driver family dshow...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 24000Hz/2ch/s16le -> 24000Hz/2ch/s16le...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 24000Hz/2ch/s16le
AF_pre: 24000Hz/2ch/s16le
ao_win32: Samplerate:24000Hz Channels:2 Format:s16le
ao_win32: Buffersize:4096
AO: [win32] 24000Hz 2ch s16le (2 bps)
AO: Description: Windows waveOut audio output
AO: Author: Sascha Sommer <saschasommer at freenet.de>
Building audio filter chain for 24000Hz/2ch/s16le -> 24000Hz/2ch/s16le...
[dummy] Was reinitialized: 24000Hz/2ch/s16le
[dummy] Was reinitialized: 24000Hz/2ch/s16le
Starting playback...
XXX initial  v_pts=0.000  a_pos=3000 (0.500)
[ffmpeg] aspect_ratio: 1.336634
VDec: vo config request - 540 x 404 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.34:1 - prescaling to correct movie aspect.
VO Config (540x404->540x404,flags=1,'MPlayer',0x32315659)
VO: [directx] 540x404 => 540x404 Planar YV12  [fs]
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, 544x416x12bpp YUV planar, 339456
bytes
*** [vo] Allocating (slices) mp_image_t, 544x416x12bpp YUV planar, 339456
bytes
Unicode font: 1418 glyphs.
*** [vo] Allocating (slices) mp_image_t, 544x416x12bpp YUV planar, 339456
bytes
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
WINSOCK2 uninit
waveOut device closed
buffer memory freed

Exiting... (Quit)






This e-mail is sent on the Spescom Terms and Conditions 
that can be accessed by clicking on this link http://www.spescom.com/email.html



More information about the MPlayer-users mailing list