Bernhard Praschinger wrote:

>.... Could you do a "lspci | grep -i audio" so I know that sound card
> your system has.

00:05.0 Multimedia audio controller: nVidia Corporation nForce Audio (rev 
c2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce Audio (rev 
c2)
01:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture 
(rev 11)

> Have you loaded the modules snd_pcm_oss and snd_mixer_oss ?

Yes.
Output of lsmod is below

Module                  Size  Used by
ppp_deflate             6080  0 
zlib_deflate           20184  1 ppp_deflate
bsd_comp                5824  0 
ppp_async              11652  1 
crc_ccitt               2112  1 ppp_async
ppp_generic            27796  7 ppp_deflate,bsd_comp,ppp_async
slhc                    6912  1 ppp_generic
ipt_MASQUERADE          3520  1 
iptable_nat             8004  1 
nf_nat                 17900  2 ipt_MASQUERADE,iptable_nat
w83781d                32980  0 
hwmon_vid               3264  1 w83781d
hwmon                   3156  1 w83781d
i2c_isa                 5312  1 w83781d
sunrpc                159676  1 
ipt_REJECT              4544  1 
nf_conntrack_ipv4      18444  6 iptable_nat
xt_state                2496  4 
nf_conntrack           61112  5 
ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
nfnetlink               7000  2 nf_conntrack_ipv4,nf_conntrack
xt_tcpudp               3456  5 
iptable_filter          3012  1 
ip_tables              12952  2 iptable_nat,iptable_filter
x_tables               15556  6 
ipt_MASQUERADE,iptable_nat,ipt_REJECT,xt_state,xt_tcpudp,ip_tables
vfat                   12992  1 
fat                    53148  1 vfat
dm_mod                 59500  0 
video                  17732  0 
button                  8144  0 
ipv6                  257600  12 
ohci_hcd               20812  0 
bttv                  174048  0 
video_buf              24776  1 bttv
ir_common              30476  1 bttv
compat_ioctl32          1344  1 bttv
i2c_algo_bit            8080  1 bttv
btcx_risc               5068  1 bttv
tveeprom               15328  1 bttv
videodev               28032  1 bttv
v4l2_common            24256  2 bttv,videodev
v4l1_compat            13576  1 videodev
i2c_amd756              6596  0 
i2c_core               22416  6 
w83781d,i2c_isa,bttv,i2c_algo_bit,tveeprom,i2c_amd756
snd_intel8x0           34564  0 
snd_ac97_codec        100204  1 snd_intel8x0
ac97_bus                2304  1 snd_ac97_codec
snd_pcm_oss            46400  0 
snd_mixer_oss          17536  1 snd_pcm_oss
snd_pcm                80592  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              23688  1 snd_pcm
snd                    54628  6 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_
timer
soundcore               7712  1 snd
snd_page_alloc         10312  2 snd_intel8x0,snd_pcm
forcedeth              44828  0 
floppy                 58724  0 
amd74xx                13852  0 [permanent]
sd_mod                 18768  0 
scsi_mod              101480  1 sd_mod

> How many sound cards do you have ? And from which one doe you want to
> record ? Without the recording command, and the output when you add -v
> 2. And lines from your log (/var/log/messages) it is very hard to
> help. You should see some entry's when you start recording and it
> fails.
> 

I only have one sound card, see above. Recording does not fail, it records 
properly, with sound. It is only lavplay/glav that does not reproduce the 
recorded sound. Playing the same clip with mplayer has good sound and 
video. lavplay/glav has good video but only a short click or pop in the 
beginning then no sound. Subsequent rewound and play in glav remains 
silent. Here is thte output of glav with -v 2: There is nothing relevant in 
/var/log/messages.

[EMAIL PROTECTED] ~]$ glav -v 2 +n -U -a 1 test.avi
++:    INFO: [lavplay] Norm set to NTSC
++:    INFO: [lavplay] Initialising SDL
++:    INFO: [lavplay] SDL YUV overlay: hardware
++:    INFO: [lavplay] Using read(2)/write(2) system call for capture/playpack
++:    INFO: [lavplay] Output norm: NTSC
++:    INFO: [lavplay] Output dimensions: 720x480
++: lavtools version 1.9.0
++: ++ WARN: [lavplay] Unable to set negative priority for audio thread.
++: ++ WARN: [lavplay] Pthread Real-time scheduling for audio thread could 
not be enabled.
++: 
[EMAIL PROTECTED] ~]$ 

I checked settings in alsamix and aumix and they both have volume pcm not 
muted. My kernel is 2.6.20 (compiled by myself) with alsa, and it has oss 
emulation; mplayer can play the clip with alsa or oss configuration.

I hope this helps, and thank you for your interest in solving this quandery.

Janos
(jankom, janosk)


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to