[MPlayer-users] audio keeps playing after quitting mplayer -tv

Rich Unger rich_unger at alum.wustl.edu
Mon Jan 27 06:46:54 CET 2003


I'm running a bttv card (AverTV studio), and it runs great, but when I 
quit mplayer, the audio keeps on going...



The output of mplayer -v:

MPlayer 0.90rc2-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow 3DNowEx SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/rich/.mplayer/config
Reading /home/rich/.mplayer/codecs.conf: can't open 
'/home/rich/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 49 audio & 125 video codecs
CommandLine:init_freetype
 '-tv' 
'on:driver=v4l:norm=ntsc:channel=11:chanlist=us-bcast:amode=1:forcechan=2:audioid=0:width=640:height=480' 
'-v'
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (mplayer should be 
setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/rich/.mplayer/input.conf'
Can't open input config file /home/rich/.mplayer/input.conf : No such 
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 50 binds
Setting up lirc support...

Playing TV channel 11
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0.00% (0 bytes)    Cache fill:  0.00% (0 bytes)    Detected 
TV! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(AVerMedia TVPhone)
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:ntsc)
  1: Composite1: audio camera  (tuner:0, norm:ntsc)
  2: Composite2: audio camera  (tuner:0, norm:ntsc)
mbuf: size=8519680, frames=4
 Audio devices: 1
Video capture card reports the audio setup as follows:
Card reports an unknown audio mode !
Trying two channel audio. Use forcechan to override.
Audio mode setup warning!
Requested mode was stereo, but v4l still reports unknown.
You may need "forcechan" option to force stereo/mono audio recording.
  0: TV: muted=no vol=0 bass=0 treble=0 balance=0 mode=unknown chan=2
Using input 'Television'
Selected norm: ntsc
Tuner (Television) range: 0 -> 4294967295
Requested width: 640
Requested height: 480
Selected channel list: us-bcast (including 82 channels)
Requested channel: 11
Selected channel: 11 (freq: 199.250)
requested frequency: 199.250
Current frequency: 3188 (199.250)
Current frequency: 3188 (199.250)
==> Found video stream: 0
Output format: Planar YV12
Picture values:
 Depth: 12, Palette: yuv420p (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32512, Contrast: 27648
Using a ring buffer for maximum 2 frames, 0 MB total size.
Enabling tv audio. Requested setup is:
id=0 vol=60000 bass=0 treble=0 balance=0 mode=stereo chan=2
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:30.00  ftime:=0.0333
get_path('sub/') -> '/home/rich/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x480 => 640x480 Planar YV12
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
using Xvideo port 85 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 512
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
============MPlayer 0.90rc2-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP 
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
MMX2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow 3DNowEx SSE

Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/rich/.mplayer/config
Reading /home/rich/.mplayer/codecs.conf: can't open 
'/home/rich/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 49 audio & 125 video codecs
CommandLine:init_freetype
 '-tv' 
'on:driver=v4l:norm=ntsc:channel=11:chanlist=us-bcast:amode=1:forcechan=2:audioid=0:width=640:height=480' 
'-v'
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (mplayer should be 
setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/home/rich/.mplayer/input.conf'
Can't open input config file /home/rich/.mplayer/input.conf : No such 
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 50 binds
Setting up lirc support...

Playing TV channel 11
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0 
Cache fill:  0.00% (0 bytes)    Cache fill:  0.00% (0 bytes)    Detected 
TV! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(AVerMedia TVPhone)
 Capabilites: capture tuner overlay clipping frameram scales
 Device type: 235
 Supported sizes: 48x32 => 768x480
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:ntsc)
  1: Composite1: audio camera  (tuner:0, norm:ntsc)
  2: Composite2: audio camera  (tuner:0, norm:ntsc)
mbuf: size=8519680, frames=4
 Audio devices: 1
Video capture card reports the audio setup as follows:
Card reports an unknown audio mode !
Trying two channel audio. Use forcechan to override.
Audio mode setup warning!
Requested mode was stereo, but v4l still reports unknown.
You may need "forcechan" option to force stereo/mono audio recording.
  0: TV: muted=no vol=0 bass=0 treble=0 balance=0 mode=unknown chan=2
Using input 'Television'
Selected norm: ntsc
Tuner (Television) range: 0 -> 4294967295
Requested width: 640
Requested height: 480
Selected channel list: us-bcast (including 82 channels)
Requested channel: 11
Selected channel: 11 (freq: 199.250)
requested frequency: 199.250
Current frequency: 3188 (199.250)
Current frequency: 3188 (199.250)
==> Found video stream: 0
Output format: Planar YV12
Picture values:
 Depth: 12, Palette: yuv420p (Format: Planar YV12)
 Brightness: 32768, Hue: 32768, Colour: 32512, Contrast: 27648
Using a ring buffer for maximum 2 frames, 0 MB total size.
Enabling tv audio. Requested setup is:
id=0 vol=60000 bass=0 treble=0 balance=0 mode=stereo chan=2
[V] filefmt:9  fourcc:0x32315659  size:640x480  fps:30.00  ftime:=0.0333
get_path('sub/') -> '/home/rich/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (640x480->640x480,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x480 => 640x480 Planar YV12
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
using Xvideo port 85 for hw scaling
[xv] dx: 0 dy: 0 dw: 640 dh: 512
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [vo] Exporting mp_image_t, 640x480x12bpp YUV planar, 460800 bytes
get_path('subfont.ttf') -> '/home/rich/.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.
[xv] dx: 0 dy: 0 dw: 640 dh: 480
V:   0.0    1   0%  0%  0.0% 0 0 0%V:   0.0    2   0%  0%  0.0% 0 0 
0%V:   0.0    3   0%  0%  0.0% 0 0 0%V:   0.0    4   0%  0%  0.0% 0 0 
0%V:   0.0    5   0%  0%  0.0% 0 0 0%V:   0.0    6   0%  0%  0.0% 0 0 
0%V:   0.0    7   0%  0%  0.0% 0 0 0%V:   0.0    8   0%  0%  0.0% 0 0 
0%V:   0.0    9   0%  0%  0.0% 0 0 0%V:   0.0   10   0%  0%  0.0% 0 0 
0%V:   0.0   11   0%  0%  0.0% 0 0 0%V:   0.0   12   0%  0%  0.0% 0 0 
0%V:   0.0   13   0%  0%  0.0% 0 0 0%V:   0.0   14   0%  0%  0.0% 0 0 
0%V:   0.0   15   0%  0%  0.0% 0 0 0%V:   0.0   16   0%  0%  0.0% 0 0 
0%V:   0.0   17   0%  0%  0.0% 0 0 0%V:   0.0   18   0%  0%  0.0% 0 0 
0%V:   0.0   19   0%  0%  0.0% 0 0 0%V:   0.0   20   0%  0%  0.0% 0 0 
0%V:   0.0   21   0%  0%  0.0% 0 0 0%V:   0.0   22   0%  0%  0.0% 0 0 
0%V:   0.0   23   0%  0%  0.0% 0 0 0%V:   0.0   24   0%  0%  0.0% 0 0 
0%V:   0.0   25   0%  0%  0.0% 0 0 0%V:   0.0   26   0%  0%  0.0% 0 0 
0%V:   0.0   27   0%  0%  0.0% 0 0 0%V:   0.0   28   0%  0%  0.0% 0 0 
0%V:   0.0   29   0%  0%  0.0% 0 0 0%V:   0.0   30   0%  0%  0.0% 0 0 
0%V:   0.0   31   0%  0%  0.0% 0 0 0%V:   0.0   32   0%  0%  0.0% 0 0 
0%V:   0.0   33   0%  0%  0.0% 0 0 0%V:   0.0   34   0%  0%  0.0% 0 0 
0%V:   0.0   35   0%  0%  0.0% 0 0 0%V:   0.0   36   0%  0%  0.0% 0 0 
0%V:   0.0   37   0%  0%  0.0% 0 0 0%V:   0.0   38   0%  0%  0.0% 0 0 
0%V:   0.0   39   0%  0%  0.0% 0 0 0%V:   0.0   40   0%  0%  0.0% 0 0 
0%V:   0.0   41   0%  0%  0.0% 0 0 0%V:   0.0   42   0%  0%  0.0% 0 0 
0%V:   0.0   43   0%  0%  0.0% 0 0 0%V:   0.0   44   0%  0%  0.0% 0 0 
0%V:   0.0   45   0%  0%  0.0% 0 0 0%V:   0.0   46   0%  0%  0.0% 0 0 
0%V:   0.0   47   0%  0%  0.0% 0 0 0%V:   0.0   48   0%  0%  0.0% 0 0 
0%V:   0.0   49   0%  0%  0.0% 0 0 0%V:   0.0   50   0%  0%  0.0% 0 0 
0%V:   0.0   51   0%  0%  0.0% 0 0 0%uninit video: raw
DEMUXER: freeing demuxer at 0x845dca0
Waiting for threads to finish... done
DEMUXER: freeing sh_video at 0x8460ed0
vo: uninit ...

Exiting... (Quit)



More information about the MPlayer-users mailing list