[MPlayer-cygwin] [win32] file not playing

mdew mdew at mdew.dyndns.org
Mon Mar 31 03:34:34 CEST 2003


On Sun, 2003-03-30 at 07:03, Sascha Sommer wrote:
> > <vo_directx><INFO>using normal cooperativelevel
> > <vo_directx><INFO>using singlebuffer overlay
> > <vo_directx><ERROR>invalid pixelformat: YV12
> > <vo_directx><WARN>can't use overlay mode => switching to nonoverlay
> > <vo_directx><INFO>back surface created
> 
> Ok the crash is related to a 10l in vo_directx.c
> Until I fixed it, you can workaround this by using mplayer -vo
> directx:noaccel
> The other question is, why overlay creation fails with  "invalid
> pixelformat".
> As to me this should never happen.
> You could also try with -vop format=yuy2 . If it works, this is much faster
> than -vo directx:noaccel.
> 
> S. Sommer

Is this fixed in the cvs?

ok, this worked (according to him)

C:\DOCUME~1\trevorp\MYDOCU~1\vids>mplayer -vo directx:noaccel
ghostship.avi -v
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-021125-21:13-2.95.3-5 (C) 2000-2003 Arpad Gereoffy (see
DOCS)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
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
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directo
ry
Reading config file /cygdrive/c/.mplayer/config
Reading /cygdrive/c/.mplayer/codecs.conf: can't open
'/cygdrive/c/.mplayer/codec
s.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-vo' 'directx:noaccel' 'ghostship.avi' '-v'
get_path('font/font.desc') -> '/cygdrive/c/.mplayer/font/font.desc'
font: can't open file: /cygdrive/c/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/cygdrive/c/.mplayer/input.conf'
Can't open input config file /cygdrive/c/.mplayer/input.conf : No such
file or d
irectory
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('ghostship.avi.conf') ->
'/cygdrive/c/.mplayer/ghostship.avi.conf'

Playing ghostship.avi
Not an URL!
File size is 730411008 bytes
AVI file format detected.
list_end=0x22D6
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 126086   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 304
list_end=0x1138
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 126086
Suggested BufferSize: 54197
Quality 10000
Sample size: 0
found 'bih', 108 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 304
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 525312
===========================
list_end=0x21CA
==> 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: 219116
Suggested BufferSize: 960
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16672
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=400
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x22D6
list_end=0x22FA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1278  (id=JUNK)
list_end=0x2B34E100
Found movie at 0x280C - 0x2B34E100
Reading INDEX block, 345202 chunks for 126086 frames (fpos=0x2b34e108)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=634172482 (126086) audio size=87878592 (219116)
VIDEO:  [XVID]  576x304  24bpp  23.98 fps  964.7 kbps (117.8 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:576x304  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/cygdrive/c/.mplayer/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 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>disabled overlay
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>12 BGR32 supported
<vo_directx><INFO>using backpuffer
========================================================================
==
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 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_win32: Samplerate:48000Hz Channels:2 Format:Signed 16-bit
(Little-Endian)
ao_win32: Buffersize:4096
AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Windows waveOut audio output
AO: Author: Sascha Sommer <saschasommer at freenet.de>
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: 1.894737
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop 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 1.89:1 - prescaling to correct movie aspect.
VO Config (576x304->576x304,flags=0,'MPlayer',0x32315659)
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
REQ: flags=0x5  req=0x0
VO: [directx] 576x304 => 576x304 BGR 32-bit
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>back surface created
*** [vo] Allocating mp_image_t, 576x304x32bpp BGR packed, 700416 bytes
*** [scale] Allocating (slices) mp_image_t, 576x304x12bpp YUV planar,
262656 byt
es
get_path('subfont.ttf') -> '/cygdrive/c/.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=8304 (0.498) /  1   0%  0%  0.0% 0 0 0%
*** [scale] Allocating (slices) mp_image_t, 576x304x12bpp YUV planar,
262656 byt
es
Uninit audio filters...-0.000 ct: -0.003  112/112   8% 13%  1.0% 0 0 0%
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x10290370
waveOut device closed
buffer memory freed

Exiting... (Quit)


this didnt work...
C:\DOCUME~1\trevorp\MYDOCU~1\vids>mplayer -vo directx:noaccel -vop
format=yuy2 g
hostship.avi -v
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer CVS-021125-21:13-2.95.3-5 (C) 2000-2003 Arpad Gereoffy (see
DOCS)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 2)
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
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
directo
ry
Reading config file /cygdrive/c/.mplayer/config
Reading /cygdrive/c/.mplayer/codecs.conf: can't open
'/cygdrive/c/.mplayer/codec
s.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: can't open
'/usr/local/etc/mplayer/c
odecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-vo' 'directx:noaccel' '-vop' 'format=yuy2'
'ghostship.avi' '-v'
get_path('font/font.desc') -> '/cygdrive/c/.mplayer/font/font.desc'
font: can't open file: /cygdrive/c/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/cygdrive/c/.mplayer/input.conf'
Can't open input config file /cygdrive/c/.mplayer/input.conf : No such
file or d
irectory
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('ghostship.avi.conf') ->
'/cygdrive/c/.mplayer/ghostship.avi.conf'

Playing ghostship.avi
Not an URL!
File size is 730411008 bytes
AVI file format detected.
list_end=0x22D6
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 126086   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 304
list_end=0x1138
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 126086
Suggested BufferSize: 54197
Quality 10000
Sample size: 0
found 'bih', 108 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 304
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 525312
===========================
list_end=0x21CA
==> 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: 219116
Suggested BufferSize: 960
Quality -1
Sample size: 0
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 16672
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=400
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x22D6
list_end=0x22FA
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1278  (id=JUNK)
list_end=0x2B34E100
Found movie at 0x280C - 0x2B34E100
Reading INDEX block, 345202 chunks for 126086 frames (fpos=0x2b34e108)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x18C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=634172482 (126086) audio size=87878592 (219116)
VIDEO:  [XVID]  576x304  24bpp  23.98 fps  964.7 kbps (117.8 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:576x304  fps:23.98  ftime:=0.0417
Clip info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/cygdrive/c/.mplayer/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 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>disabled overlay
<vo_directx><INFO>checking primary surface
<vo_directx><FORMAT PRIMARY>12 BGR32 supported
<vo_directx><INFO>using backpuffer
Opening video filter: [format fmt=yuy2]
========================================================================
==
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 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_win32: Samplerate:48000Hz Channels:2 Format:Signed 16-bit
(Little-Endian)
ao_win32: Buffersize:4096
AO: [win32] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: Windows waveOut audio output
AO: Author: Sascha Sommer <saschasommer at freenet.de>
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: 1.894737
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)
Trying filter chain: format vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale format vo
The selected video_out device is incompatible with this codec.
init_vo failed

FATAL: Could not initialize video filters (-vop) or video output (-vo).

Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x10290590
waveOut device closed
buffer memory freed

Exiting... (End of file)


-- 
mdew <mdew at mdew.dyndns.org>



More information about the MPlayer-cygwin mailing list