[MPlayer-users] WM9 audio problems

Stian B. Barmen stian at barmen.nu
Wed Oct 12 10:29:02 CEST 2005


>> I am trying to play a WM9 HD-DVD file and am not able to get sound. Or
>> actually I get sound after about 20 minutes into the film, but then it
>> is lagging about 5-6 seconds behind. 
>
>Try with "-mc 0"
>
>If that doesn't help, upgrade to CVS.
>

It still does not work. First I tried the -mc 0, but that made no
difference. So a cvs download and compile later I tried it again. When I run
it from the cvs version I get sound now and again. First if I just let it
play I get no sound at all, but if I skip a few minutes rew of ff I suddenly
get sound, only for a few seconds and it is gone again. (I can hear a
*knick* in the speackers and then the audio is gone). 

Ok, so I looked in the console when this happened and then I see a message
like:

Too many video packets in the buffer: (101 in 8451874 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:  88.0 V:  88.1 A-V: -0.047 ct: -2.531 717/717 48% 24%  6.0% 7 0
Too many video packets in the buffer: (99 in 8400465 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:  88.0 V:  88.6 A-V: -0.559 ct: -2.581 729/729 48% 24%  5.9% 7 0
Too many video packets in the buffer: (98 in 8400100 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:  90.0 V:  93.2 A-V: -3.135 ct: -2.879 839/839 48% 24%  5.2% 7 0

Is there something wrong with my media file? I can play it no problems in
Windows... :/

Like it says in the console output I could try -ni option, and I did, no
difference .. :) Exactly the same. 



Here is command output complete, with -v :

MPlayer dev-CVS-051012-09:18-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Intel  (Family: 6, Stepping: 6)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2


CommandLine: '-vo' 'x11' '-v' '/home/stian/Desktop/Movie.wmv'
init_freetype
get_path('font/font.desc') -> '/home/stian/.mplayer/font/font.desc'
font: can't open file: /home/stian/.mplayer/font/font.desc
font: can't open file: /usr/local/mplayer_cvs//share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Using nanosleep() timing
get_path('input.conf') -> '/home/stian/.mplayer/input.conf'
Can't open input config file /home/stian/.mplayer/input.conf: No such file
or directory
Can't open input config file /usr/local/mplayer_cvs//etc/mplayer/input.conf:
No such file or directory
Falling back on default (hardcoded) input config
get_path('Movie.wmv.conf') -> '/home/stian/.mplayer/Movie.wmv.conf'
Playing /home/stian/Desktop/Movie.wmv.
[file] File size is 4644930112 bytes
STREAM: [file] /home/stian/Desktop/Movie.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 36 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: E9F6C8
FILEPOS=0xAB1
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 354 (0x162)
Channels: 6
Samplerate: 48000
avg byte/sec: 48206
Block align: 16384
bits/sample: 24
cbSize: 18
Unknown extra header dump: [18] [0] [3f] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [e0] [0] [0] [0]
===========================
ASF: audio scrambling: 1 x 1 x 16384
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: EA9548
FILEPOS=0xB2B
==> Found video stream: 2
======= VIDEO Format ======
  biSize 44
  biWidth 1280
  biHeight 720
  biPlanes 1
  biBitCount 24
  biCompression 861293911='WMV3'
  biSizeImage 0
Unknown extra header dump: [4b] [f1] [a] [1]
===========================
ASF: packets: 282962  flags: 2  max_packet_size: 16415  min_packet_size:
16415  max_bitrate: 35214705  preroll: 3000

 Title: 'Movie' WM9 HD-DVD 1280x720p
 Author:
 Copyright:
 Comment:

============ ASF Stream group == START ===
 stream count=[0x2][2]
   stream id=[0x1][1]
   max bitrate=[0x7e71a][517914]
   stream id=[0x2][2]
   max bitrate=[0x2116e57][34696791]
============ ASF Stream group == END ===
Found movie at 0xBBA - 0x14DA64A8
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
ASF: Searching for audio stream (id:-1).
Auto-selected ASF audio ID = 1
VIDEO:  [WMV3]  1280x720  24bpp  1000.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6  fourcc:0x33564D57  size:1280x720  fps:1000.00  ftime:=0.0010
Clip info:
 name: 'Movie' WM9 HD-DVD 1280x720p
 author:
 copyright:
 comments:
get_path('sub/') -> '/home/stian/.mplayer/sub/'
get_path('default.sub') -> '/home/stian/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [dmo] Win32/DMO decoders
======= WAVE Format =======
Format Tag: 354 (0x162)
Channels: 6
Samplerate: 48000
avg byte/sec: 48206
Block align: 16384
bits/sample: 24
cbSize: 18
Unknown extra header dump: [18] [0] [3f] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[0] [0] [e0] [0] [0] [0]
===========================
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 4
bits/sample: 16
cbSize: 0
===========================
GetOutput r=0x0   size:73728  align:1
StreamCount r=0x0  1  1
INFO: Win32/DMO audio codec init OK!
dec_audio: Allocating 65536 bytes for input buffer.
dec_audio: Allocating 65536 + 65536 = 131072 bytes for output buffer.
AUDIO: 48000 Hz, 2 ch, s16le, 385.6 kbit/25.11% (ratio: 48206->192000)
Selected audio codec: [wma9dmo] afm:dmo (Windows Media Audio 9 DMO)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1400x1050 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
==========================================================================
Opening video decoder: [dmo] DMO video codecs
get_path('registry') -> '/home/stian/.mplayer/registry'
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0   size:2764800  align:1
StreamCount r=0x0  1  1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 1280 x 720 (preferred csp: Packed YUY2)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659)
VO: [x11] 1280x720 => 1280x720 Planar YV12
VO: Description: X11 ( XImage/Shm )
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
Sharing memory.
SwScaler: using unscaled Planar YV12 -> BGRA special converter
INFO: Win32/DMO video codec init OK.
Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
ao2: 48000 Hz  2 chans  s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch s16le (2 B/s)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...

avg. framerate: 23 fps
*** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
get_path('subfont.ttf') -> '/home/stian/.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.
A:   7.8 V:   3.2 A-V:  4.635 ct:  0.021   6/  6 ??% ??% ??,?% 0 0
Too many video packets in the buffer: (188 in 8409261 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
warning!  broken fragment, 26791 bytes missing   27% 24%  0.2% 0 0
warning!  broken fragment, 43174 bytes missing
warning!  broken fragment, 59557 bytes missing
warning!  broken fragment, 75940 bytes missing
warning!  broken fragment, 92323 bytes missing
warning!  broken fragment, 16673 bytes missing   48% 24%  5.2% 0 0
warning!  broken fragment, 33056 bytes missing
warning!  broken fragment, 49439 bytes missing
warning!  broken fragment, 65822 bytes missing
A:  64.9 V:  64.8 A-V:  0.088 ct: -0.496 1128/1128 47% 24%  7.6% 0 0
Too many video packets in the buffer: (100 in 8408666 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
ds_fill_buffer: EOF reached (stream: audio)
Uninit audio filters...-7.952 ct: -1.273 1368/1368 47% 24%  5.0% 0 0
[libaf] Removing filter dummy
uninit audio: dmo
uninit video: dmo
vo: uninit ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3095 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20051012/d10d5981/attachment.bin>


More information about the MPlayer-users mailing list