[MPlayer-users] Jumpy dvd playback with alsa9

David Eduardo Gomez Noguera davidgn at servidor.unam.mx
Sat Jan 3 03:32:56 CET 2004


On Fri, 2004-01-02 at 17:45, Corey Hickey wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> David Eduardo Gomez Noguera wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > It has happened some times after a few minutes of playback, with an
> > output line like this
> > 
> > alsa-play: xrun of at least 24.417 msecs. resetting stream  7%  2.2% 26
> > 0 0%
> > 
> > I am running it with this line
> >  mplayer -ao alsa9 -channels 6 -sid 0 -aid 128 -v -double
> > -stop_xscreensaver  -vf pp=lb dvd://1
> Does it happen without -channels 6?

No. I played a video that had only stereo, with -channels 6, and it
didnt jump. It also doesnt jump without it.
It also doesnt happen with the same stream, without -channels 6 .
> > 
> > the processor never seems to be heavily loaded, except a small peak when
> > that message is printed, and Im running on a P4 at 2.5 Ghz with 512 Mb
> > of ram and an MX440 nvidia AGP4x with  64 Mb with the nvidia drivers on
> > a 2.6 kernel, running gnome2 and alsa-lib 0.9.7-1 (fedora core 1).
> > 
> > Any idea or suggestion of why that happens?
> > 
> > 
> 
> One other thought, have you tried with a larger cache? Use -cache 8192
> and see if you still have that problem.
> 
> Please give us the _entire_ text output of the mplayer line you're
> using (with -v).

Ugh! Its huge, but I will.
> -Corey
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
-------------- next part --------------
 mplayer -ao alsa9 -channels 6 -sid 0 -aid 128 -v -double -stop_xscreensaver  -vf pp=lb dvd://1 -fs
MPlayer 1.0pre2-3.3.2 (C) 2000-2003 MPlayer Team
 
CPU: Intel Pentium 4/Xeon/Celeron Northwood 2534 MHz (Family: 8, Stepping: 7)
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
 
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
CommandLine: '-ao' 'alsa9' '-channels' '6' '-sid' '0' '-aid' '128' '-v' '-double' '-stop_xscreensaver' '-vf' 'pp=lb' 'dvd://1' '-fs'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
get_path('1.conf') -> '/root/.mplayer/1.conf'
 
Playing dvd://1
get_path('DVDKeys') -> '/root/.mplayer/DVDKeys'
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 39 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: dts (5.1) language: en aid: 137
[open] audio stream: 2 audio format: ac3 (stereo) language: en aid: 130
[open] audio stream: 3 audio format: ac3 (stereo) language: en aid: 131
[open] audio stream: 4 audio format: ac3 (stereo) language: en aid: 132
[open] audio stream: 5 audio format: ac3 (stereo) language: en aid: 133
[open] audio stream: 6 audio format: ac3 (stereo) language: en aid: 134
[open] number of audio channels on disk: 7.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: es
[open] number of subtitles on disk: 2
DVD start cell: 0  pack: 0x0-0x5764
DVD start=0 end=3306952
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x5764
Angle-seek synced by cell/vob IDN search!
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8589ac8
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8589ac8
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8589ac8
Checking for REAL
DEMUXER: freeing demuxer at 0x8589ac8
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8589ac8
DEMUXER: freeing demuxer at 0x858a468
Searching demuxer type for filename dvd://1 ext: (null)
Checking for MOV
DEMUXER: freeing demuxer at 0x858a468
Checking for VIVO
header block 1 size: 0
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DEMUXER: freeing demuxer at 0x858a468
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x5764
Angle-seek synced by cell/vob IDN search!
Checking for PVA
DEMUXER: freeing demuxer at 0x858a468
Checking for MPEG-TS...
TRIED UP TO POSITION 92803, FOUND 0, packet_size= 71
DVD Seek! lba=0x2D  cell=0  packs: 0x0-0x5764
Angle-seek synced by cell/vob IDN search!
DEMUXER: freeing demuxer at 0x858a468
DVD Seek! lba=0x0  cell=0  packs: 0x0-0x5764
Angle-seek synced by cell/vob IDN search!
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7541.6 kbps (942.7 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 18432 + 65536 = 83968 bytes for output buffer
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
A52 flags before a52_frame: 0x37
A52 flags after a52_frame: 0x17
Using MMX optimized resampler
AUDIO: 48000 Hz, 6 ch, 16 bit (0x10), ratio: 56000->576000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 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
xscreensaver_disable: xscreensaver wid=10485761.
Opening video filter: [pp=lb]
[vo] query(Planar YV12) -> 3
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp 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 pp vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/6ch/16bit -> 48000Hz/6ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 6, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 6 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 6ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 48000 Hz, 6 channels, Signed 16-bit (Little-Endian)alsa-init: compiled for ALSA-0.9.7
alsa-init: soundcard set to surround51
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=196608
alsa9: 48000 Hz/6 channels/12 bpf/196608 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 48000Hz 6ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 48000Hz/6ch/16bit -> 48000Hz/6ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 6, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 6, format = 0x00000001 and bps = 2
Starting playback...
alsa-space: free space = 196608, status=140228416, prepared --
==> Found audio stream: 137
==> Found audio stream: 130
==> Found audio stream: 131
==> Found audio stream: 132
==> Found audio stream: 133
==> Found audio stream: 134
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x480->854x480,flags=1,'MPlayer',0x32315659)
REQ: flags=0x437  req=0x0
VO: [xv] 720x480 => 854x480 Planar YV12  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_ABOVE.
using Xvideo port 105 for hw scaling
[xv-fs] dx: 0 dy: 96 dw: 1024 dh: 576
[xv] dx: 0 dy: 96 dw: 1024 dh: 576
xscreensaver_disable: xscreensaver wid=10485761.
*** [pp] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
[xv] dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dx: 0 dy: 96 dw: 1024 dh: 576
alsa-space: xrun of at least 212.522 msecs. resetting stream0.0% 0 0 0%
alsa-space: free space = 0, status=140606360, xrun --
*** [pp] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
*** [vo] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes
alsa-space: free space = 196608, status=140045608, prepared --0% 0 0 0%
*** [pp] Allocating mp_image_t, 720x480x12bpp YUV planar, 518400 bytes%
A:   0.5 V:   0.5 A-V:  0.016 ct:  0.021   10/  8   0%  0%  0.0% 0 0 0%
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS changed to 23.976!
A:   1.0 V:   1.0 A-V: -0.011 ct:  0.034   21/ 19  48% 10%  2.0% 0 0 0%
demux_mpg: Progressive seq detected, leaving 3:2 TELECINE mode
Warning! FPS changed 23.976 -> 29.970  (-5.994000) [4]  0%  1.9% 0 0 0%
==> Found subtitle: 4: -0.017 ct:  0.028   25/ 22  42% 10%  1.9% 0 0 0%
==> Found subtitle: 10
==> Found subtitle: 5: -0.047 ct:  0.026   29/ 25  38%  9%  2.1% 0 0 0%
==> Found subtitle: 11
==> Found subtitle: 3: -0.064 ct:  0.020   31/ 27  37%  9%  2.1% 0 0 0%
==> Found subtitle: 9
A:   1.5 V:   1.6 A-V: -0.016 ct:  0.011   35/ 30  33%  9%  2.0% 0 0 0%
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS changed to 23.976!
==> Found subtitle: 2:  0.015 ct: -0.015   61/ 56  25%  9%  1.9% 0 0 0%
==> Found subtitle: 8
==> Found subtitle: 0: -0.000 ct: -0.015  140/135  18%  8%  2.2% 0 0 0%
==> Found subtitle: 1
==> Found subtitle: 6
==> Found subtitle: 7
A:  15.6 V:  15.6 A-V:  0.037 ct: -0.013  372/367  13%  8%  2.0% 0 0 0%
demux_mpg: Progressive seq detected, leaving 3:2 TELECINE mode
Warning! FPS changed 23.976 -> 29.970  (-5.994000) [4]  8%  2.0% 0 0 0%
A:  16.0 V:  16.0 A-V:  0.035 ct:  0.014  386/379  13%  8%  2.0% 0 0 0%
demux_mpg: 3:2 TELECINE detected, enabling inverse telecine fx. FPS changed to 23.976!
--- END OF CELL !!! --- 0.001 ct:  0.090  1029/1021  13%  8%  2.0% 0 0 0%
dvd_next_cell: next1=0x0
dvd_next_cell: next2=0x0
dvd_next_cell: next3=0x1
DVD next cell: 1  pack: 0x5765-0x15E68
alsa-play: xrun of at least 0.098 msecs. resetting stream 8%  2.2% 4 0 0%
--- END OF CELL !!! --- 0.007 ct:  0.090  4617/4609  11%  8%  2.3% 11 0 0%
dvd_next_cell: next1=0x1
dvd_next_cell: next2=0x1
dvd_next_cell: next3=0x2
DVD next cell: 2  pack: 0x15E69-0x318B2
alsa-play: xrun of at least 72.697 msecs. resetting stream8%  2.3% 16 0 0%
--- END OF CELL !!! --- 0.015 ct:  0.090  11973/11965  10%  8%  2.3% 32 0 0%
dvd_next_cell: next1=0x2
dvd_next_cell: next2=0x2
dvd_next_cell: next3=0x3
DVD next cell: 3  pack: 0x318B3-0x604BD
alsa-play: xrun of at least 81.343 msecs. resetting stream  8%  2.2% 32 0 0%
[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_ABOVE. 0 0%
[xv] dx: 0 dy: 0 dw: 854 dh: 480:  0.095  18847/18839  11%  8%  2.3% 42 0 0%
[xv] dx: 0 dy: 0 dw: 854 dh: 480:  0.095  18849/18841  11%  8%  2.3% 42 0 0%
--- END OF CELL !!! --- 0.007 ct:  0.091  21513/21505  11%  8%  2.3% 56 0 0%
dvd_next_cell: next1=0x3
dvd_next_cell: next2=0x3
dvd_next_cell: next3=0x4
DVD next cell: 4  pack: 0x604BE-0x7239A
--- END OF CELL !!! ----0.011 ct:  0.087  25354/25346  11%  8%  2.2% 56 0 0%
dvd_next_cell: next1=0x4
dvd_next_cell: next2=0x4
dvd_next_cell: next3=0x5
DVD next cell: 5  pack: 0x7239B-0x834A4
alsa-play: xrun of at least 10.496 msecs. resetting stream  8%  2.2% 59 0 0%
--- END OF CELL !!! ----0.011 ct:  0.090  29110/29102  11%  8%  2.2% 66 0 0%
dvd_next_cell: next1=0x5
dvd_next_cell: next2=0x5
dvd_next_cell: next3=0x6
DVD next cell: 6  pack: 0x834A5-0x8E419
alsa-play: xrun of at least 0.088 msecs. resetting stream%  8%  2.2% 66 0 0%
--- END OF CELL !!! ----0.012 ct:  0.088  31473/31465  11%  8%  2.2% 72 0 0%
dvd_next_cell: next1=0x6
dvd_next_cell: next2=0x6
dvd_next_cell: next3=0x7
DVD next cell: 7  pack: 0x8E41A-0xA243D
alsa-play: xrun of at least 13.149 msecs. resetting stream  8%  2.2% 83 0 0%
--- END OF CELL !!! ----0.007 ct:  0.091  36790/36782  11%  8%  2.3% 93 0 0%
dvd_next_cell: next1=0x7
dvd_next_cell: next2=0x7
dvd_next_cell: next3=0x8
DVD next cell: 8  pack: 0xA243E-0xB0305
--- END OF CELL !!! --- 0.007 ct:  0.092  40281/40273  11%  8%  2.2% 93 0 0%
dvd_next_cell: next1=0x8
dvd_next_cell: next2=0x8
dvd_next_cell: next3=0x9
DVD next cell: 9  pack: 0xB0306-0xC65CB
alsa-play: xrun of at least 31.398 msecs. resetting stream  8%  2.2% 93 0 0%
A:1692.7 V:1692.6 A-V:  0.014 ct:  0.092  40586/40578  11%  8%  2.3% 102 0 0%


More information about the MPlayer-users mailing list