[MPlayer-users] v4l sound prob with latest cvs

Yotzo yotzo at elektropont.hu
Sun Aug 25 18:45:02 CEST 2002


I have no sound from v4l with cvs. Other sound works perfectly (even 
with mplayer).
The v4l sound was last working with mplayer by the 1st tvdiff patch.
I've a binary with the 1st v4l patch by Jindrich Makovicka, and it still 
works, but a fresh compiled mplayer has no sound.

Here is a log with tv.diff (mp-tv-1) and with cvs (mp-tv-3).
Command line is the same:
aumix -d /dev/mixer2 -v90 -q; /tmp/main-tv1/mplayer -ao oss -vo xvidix -v -tv 
on:driver=v4l:input=0:freq=559.25:width=384:height=576:outfmt=yuy2 -vop 
pp=0x2007f,scale=384:288:-1:-1:-1




-- 
"Ha egy unalmas ember kimegy a szobából, olyan mintha valaki bejött volna."
              [Daradics Dániel alias Yotzo(@elektropont.hu)]
-------------- next part --------------


MPlayer CVS-020820-21:31-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /home/yotzo/.mplayer/codecs.conf: can't open '/home/yotzo/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:get_path('font/font.desc') -> '/home/yotzo/.mplayer/font/font.desc'
 '-ao' 'oss' '-vo' 'xvidix' '-v' '-tv' 'on:driver=v4l:input=0:freq=559.25:width=384:height=576:outfmt=yuy2' '-vop' 'pp=0x2007f,scale=384:288:-1:-1:-1'
font: can't open file: /home/yotzo/.mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/yotzo/.mplayer/input.conf'
Parsing input config file /home/yotzo/.mplayer/input.conf
Input config file /home/yotzo/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
NEW LIRC init was successful.

Playing TV
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
 Capabilites: capture tuner overlay clipping frameram scales 
 Device type: 235
 Supported sizes: 48x32 => 924x576
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:0)
  1: Composite1: audio camera  (tuner:0, norm:0)
  2: S-Video: audio camera  (tuner:0, norm:0)
mbuf: size=8519680, frames=4
 Audio devices: 1
  0: TV: muted=no volume=58982 bass=32768 treble=32768 balance=32768 mode=stereo
 channels: 2, samplerate: 44100, samplesize: 440, format: Signed 16-bit (Little-Endian)
Requested width: 384
ioctl dsp getfmt: 0
Audio ID: 0
Supported formats: 1f9
ioctl dsp setfmt: 0
ioctl dsp stereo: 0 (req: 1)
ioctl dsp speed: 0
ioctl dsp trigger: 0
trigger: 1
ioctl dsp trigger: 0
ioctl dsp getblocksize: 0
blocksize: 16384
Requested height: 576
Using input 'Television'
Selected norm: pal
Tuner isn't capable to set norm!
Selected channel list: europe-east (including 133 channels)
requested frequency: 559.250
Selected frequency: 8948 (559.250)
Detected TV! ;-)
==> Found video stream: 0
Output format: Packed YUY2
Output size: 384x576
fps: 25.000000, frametime: 0.040000
Picture values:
palette: 7, depth: 16, bytesperline: 768
 Depth: 16, Palette: 7 (Format: Packed YUY2)
 Brightness: 32768, Hue: 32768, Colour: 32512, Contrast: 27648
[V] filefmt:9  fourcc:0x32595559  size:384x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/yotzo/.mplayer/sub/'
No vidix driver name provided, probing available ones!
Opening video filter: [pp=0x2007f]
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] found 17 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 17 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon VE QY
vidixlib: /usr/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x4001659c
Radeon_vid: Video memory = 32Mb
Radeon_vid: Set write-combining type of video memory
vidixlib: '/usr/lib/mplayer/vidix/radeon_vid.so'successfully loaded
VIDIX: Description: BES driver for radeon cards
VIDIX: Author: Nick Kurshev
[vo] query(Planar YV12) -> 3
Opening video filter: [scale=384:288:-1:-1:-1]
SwScale params: 384 x 288 (-1=no scaling)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 576 (preferred csp: Packed YUY2)
[PP] Using external postprocessing filter, max q = 6
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
vo_debug: query(Packed YUY2) returned 0xC35 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(384x576->384x576,flags=0,'MPlayer',0x32595559)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 384x576 -> 384x288
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [xvidix] 384x288 => 384x288 Planar YV12 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
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)
[xvidix] dcx: 448 dcy: 358 dx: 0 dy: 0 dw: 384 dh: 288
[xvidix] window properties: pos: 448x358, size: 384x288
vosub_vidix: using 1 buffer(s)
Detected video codec: [rawyuy2] vfm:8 (RAW YUY2)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [scale] Exporting mp_image_t, 384x576x16bpp YUV packed, 442368 bytes
*** [pp] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
*** [vo] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
[xvidix] dcx: 448 dcy: 358 dx: 0 dy: 0 dw: 384 dh: 288
[xvidix] window properties: pos: 448x358, size: 384x288
V:  -0.0    1   0%  0%  0.0% 0 0 0%
V:   0.0    2   0%  0%  0.0% 0 0 0%
V:   0.1    3   0%  0%  0.0% 0 0 0%
V:   0.2    4   0%  0%  0.0% 0 0 0%
V:   0.2    5   0%  0%  0.0% 0 0 0%
V:   0.3    6   0%  0%  0.0% 0 0 0%
V:   0.3    7   0%  0%  0.0% 0 0 0%
V:   0.4    8   0%  0%  0.0% 0 0 0%
V:   0.4    9   0%  0%  0.0% 0 0 0%
V:   0.4   10   0%  0%  0.0% 0 0 0%
V:   0.5   11   0%  0%  0.0% 0 0 0%
V:   0.5   12   0% 14%  0.0% 0 0 0%
V:   0.6   13   0% 14%  0.0% 0 0 0%
V:   0.6   14   0% 14%  0.0% 0 0 0%
V:   0.6   15   0% 14%  0.0% 0 0 0%
V:   0.7   16   0% 14%  0.0% 0 0 0%
V:   0.7   17   0% 14%  0.0% 0 0 0%
V:   0.8   18   0% 15%  0.0% 0 0 0%
V:   0.8   19   0% 15%  0.0% 0 0 0%
V:   0.8   20   0% 15%  0.0% 0 0 0%
V:   0.9   21   0% 15%  0.0% 0 0 0%
V:   0.9   22   0% 15%  0.0% 0 0 0%
V:   1.0   23   0% 15%  0.0% 0 0 0%
V:   1.0   24   0% 15%  0.0% 0 0 0%
V:   1.0   25   0% 15%  0.0% 0 0 0%
V:   1.1   26   0% 15%  0.0% 0 0 0%
V:   1.1   27   0% 15%  0.0% 0 0 0%
V:   1.2   28   0% 15%  0.0% 0 0 0%
V:   1.2   29   0% 15%  0.0% 0 0 0%
V:   1.2   30   0% 15%  0.0% 0 0 0%
V:   1.3   31   0% 15%  0.0% 0 0 0%
V:   1.3   32   0% 15%  0.0% 0 0 0%
V:   1.4   33   0% 15%  0.0% 0 0 0%
V:   1.4   34   0% 15%  0.0% 0 0 0%
V:   1.4   35   0% 15%  0.0% 0 0 0%
V:   1.5   36   0% 15%  0.0% 0 0 0%
V:   1.5   37   0% 15%  0.0% 0 0 0%
V:   1.6   38   0% 15%  0.0% 0 0 0%
V:   1.6   39   0% 15%  0.0% 0 0 0%
V:   1.6   40   0% 15%  0.0% 0 0 0%
V:   1.7   41   0% 15%  0.0% 0 0 0%
V:   1.7   42   0% 15%  0.0% 0 0 0%
V:   1.8   43   0% 15%  0.0% 0 0 0%
V:   1.8   44   0% 15%  0.0% 0 0 0%
V:   1.8   45   0% 15%  0.0% 0 0 0%
DEMUXER: freeing demuxer at 0x83b5ad0  
Waiting for threads to finish... done
DEMUXER: freeing sh_video at 0x83b6488  
vo: uninit ...

Exiting... (Quit)
-------------- next part --------------


MPlayer CVS-020823-06:41-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Tualatin (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /home/yotzo/.mplayer/codecs.conf: can't open '/home/yotzo/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 38 audio & 106 video codecs
CommandLine:get_path('font/font.desc') -> '/home/yotzo/.mplayer/font/font.desc'
 '-ao' 'oss' '-vo' 'xvidix' '-v' '-tv' 'on:driver=v4l:input=0:freq=559.25:width=384:height=576:outfmt=yuy2' '-vop' 'pp=0x2007f,scale=384:288:-1:-1:-1'
font: can't open file: /home/yotzo/.mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/yotzo/.mplayer/input.conf'
Parsing input config file /home/yotzo/.mplayer/input.conf
Input config file /home/yotzo/.mplayer/input.conf parsed : 50 binds
Setting up lirc support...
NEW LIRC init was successful.

Playing TV
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi <alex at naxine.org>
 comment: under development
Selected device: BT878(Pinnacle PCTV Studio/Ra)
 Capabilites: capture tuner overlay clipping frameram scales 
 Device type: 235
 Supported sizes: 48x32 => 924x576
 Inputs: 3
  0: Television: tuner audio tv camera  (tuner:1, norm:0)
  1: Composite1: audio camera  (tuner:0, norm:0)
  2: S-Video: audio camera  (tuner:0, norm:0)
mbuf: size=8519680, frames=4
 Audio devices: 1
  0: TV: muted=yes volume=0 bass=32768 treble=32768 balance=32768 mode=stereo
 channels: 2
Using input 'Television'
Selected norm: pal
Requested width: 384
Requested height: 576
Selected channel list: europe-east (including 133 channels)
requested frequency: 559.250
Selected frequency: 8948 (559.250)
Detected TV! ;-)
==> Found video stream: 0
Output format: Packed YUY2
Output size: 384x576
fps: 25.000000, frametime: 0.040000
Picture values:
 Depth: 16, Palette: 7 (Format: Packed YUY2)
 Brightness: 32768, Hue: 32768, Colour: 32512, Contrast: 27648
Starting audio capture
id=0 volume=100 bass=32768 treble=32768 balance=32768 mode=stereo
 channels: 2
[V] filefmt:9  fourcc:0x32595559  size:384x576  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/yotzo/.mplayer/sub/'
No vidix driver name provided, probing available ones!
Opening video filter: [pp=0x2007f]
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] found 17 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/lib/mplayer/vidix/mach64_vid.so
[mach64] Can't find chip
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] found 17 pci devices
[mga] No supported cards found
vidixlib: PROBING: /usr/lib/mplayer/vidix/radeon_vid.so
Radeon_vid: Found chip: Radeon VE QY
vidixlib: /usr/lib/mplayer/vidix/radeon_vid.so probed o'k
vidixlib: will use /usr/lib/mplayer/vidix/radeon_vid.so driver
vidixlib: Attempt to initialize driver at: 0x4001659c
Radeon_vid: Video memory = 32Mb
Radeon_vid: Set write-combining type of video memory
vidixlib: '/usr/lib/mplayer/vidix/radeon_vid.so'successfully loaded
VIDIX: Description: BES driver for radeon cards
VIDIX: Author: Nick Kurshev
[vo] query(Planar YV12) -> 3
Opening video filter: [scale=384:288:-1:-1:-1]
SwScale params: 384 x 288 (-1=no scaling)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 384 x 576 (preferred csp: Packed YUY2)
[PP] Using external postprocessing filter, max q = 6
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
vo_debug: query(Packed YUY2) returned 0xC35 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(384x576->384x576,flags=0,'MPlayer',0x32595559)
scale: query(BGR 32-bit) -> 0
scale: query(BGR 24-bit) -> 0
scale: query(BGR 16-bit) -> 0
scale: query(BGR 15-bit) -> 0
scale: query(BGR 8-bit) -> 0
scale: query(BGR 4-bit) -> 0
scale: query(BGR 1-bit) -> 0
scale: query(RGB 32-bit) -> 0
scale: query(RGB 24-bit) -> 0
scale: query(RGB 16-bit) -> 0
scale: query(RGB 15-bit) -> 0
scale: query(RGB 8-bit) -> 0
scale: query(RGB 4-bit) -> 0
scale: query(RGB 1-bit) -> 0
scale: query(Planar YV12) -> 3
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 5 -> 4

SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using MMX2
SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
SwScaler: 384x576 -> 384x288
REQ: flags=0xC37  req=0x0  
REQ: flags=0x437  req=0x0  
VO: [xvidix] 384x288 => 384x288 Planar YV12 
VO: Description: X11 (VIDIX)
VO: Author: Alex Beregszaszi
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)
[xvidix] dcx: 448 dcy: 358 dx: 0 dy: 0 dw: 384 dh: 288
[xvidix] window properties: pos: 448x358, size: 384x288
vosub_vidix: using 1 buffer(s)
Detected video codec: [rawyuy2] vfm:8 (RAW YUY2)
==========================================================================
Audio: no sound!!!
Freeing 0 unused audio chunks
Start playing...
*** [scale] Exporting mp_image_t, 384x576x16bpp YUV packed, 442368 bytes
*** [pp] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
*** [vo] Allocating mp_image_t, 384x288x12bpp YUV planar, 165888 bytes
[xvidix] dcx: 448 dcy: 358 dx: 0 dy: 0 dw: 384 dh: 288
[xvidix] window properties: pos: 448x358, size: 384x288
V:  -0.0    1   0%  0%  0.0% 0 0 0%
V:   0.0    2   0%  0%  0.0% 0 0 0%
V:   0.1    3   0%  0%  0.0% 0 0 0%
V:   0.1    4   0%  0%  0.0% 0 0 0%
V:   0.2    5   0%  0%  0.0% 0 0 0%
V:   0.2    6   0%  0%  0.0% 0 0 0%
V:   0.2    7   0%  0%  0.0% 0 0 0%
V:   0.3    8   0%  0%  0.0% 0 0 0%
V:   0.3    9   0%  0%  0.0% 0 0 0%
V:   0.4   10   0%  0%  0.0% 0 0 0%
V:   0.4   11   0%  0%  0.0% 0 0 0%
V:   0.4   12   0%  0%  0.0% 0 0 0%
V:   0.5   13   0%  0%  0.0% 0 0 0%
V:   0.5   14   0% 17%  0.0% 0 0 0%
V:   0.6   15   0% 17%  0.0% 0 0 0%
V:   0.6   16   0% 17%  0.0% 0 0 0%
V:   0.6   17   0% 16%  0.0% 0 0 0%
V:   0.7   18   0% 16%  0.0% 0 0 0%
V:   0.7   19   0% 16%  0.0% 0 0 0%
V:   0.8   20   0% 16%  0.0% 0 0 0%
V:   0.8   21   0% 16%  0.0% 0 0 0%
V:   0.8   22   0% 16%  0.0% 0 0 0%
V:   0.9   23   0% 16%  0.0% 0 0 0%
V:   0.9   24   0% 16%  0.0% 0 0 0%
V:   1.0   25   0% 16%  0.0% 0 0 0%
V:   1.0   26   0% 16%  0.0% 0 0 0%
V:   1.0   27   0% 16%  0.0% 0 0 0%
V:   1.1   28   0% 16%  0.0% 0 0 0%
V:   1.1   29   0% 16%  0.0% 0 0 0%
V:   1.2   30   0% 16%  0.0% 0 0 0%
V:   1.2   31   0% 16%  0.0% 0 0 0%
DEMUXER: freeing demuxer at 0x83c7a10  
Waiting for threads to finish... done
DEMUXER: freeing sh_video at 0x83c83c8  
vo: uninit ...

Exiting... (Quit)


More information about the MPlayer-users mailing list