Re: alsa arecord works then stops working - Re: alsa capture works then stops working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul, "arecord" will stop if there is not any audio level on the corresponding input. Open "alsamixer" and set the level of the correct input.
After that level is correct, run "alsactl store 0" to fix.
José Luis

El dom, 11-11-2012 a las 12:30 +0000, alsa-user-request@xxxxxxxxxxxxxxxxxxxxx escribió:
Send Alsa-user mailing list submissions to
	alsa-user@xxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/alsa-user
or, via email, send a message with subject or body 'help' to
	alsa-user-request@xxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
	alsa-user-owner@xxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Alsa-user digest..."


Today's Topics:

   1. alsa arecord works then stops working (Paul Homlish)
   2. alsa capture works then stops working (Paul Homlish)
   3. Re: No audio with mencoder, usual alsa setting (Miroslav Rovis)


----------------------------------------------------------------------

Message: 1
Date: Sat, 10 Nov 2012 07:34:22 -0500
From: Paul Homlish <phomlish@xxxxxxxxxxx>
Subject:  alsa arecord works then stops working
To: alsa-user@xxxxxxxxxxxxxxxxxxxxx
Message-ID: <509E49CE.7080908@xxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

this works over and over and over perfectly:
arecord -D plughw:1,0 -c 2 -r 48000 | aplay

however, when I do either of:

mplayer device=/dev/video0 ALSA_CARD=1 ALSA_PCM_CARD=0 tv://
or
vlc v4l2:// --v4l2-standard=NTSC --input-slave=alsa://hw:1,0 
--v4l2-width=640 --v4l2-height=480 --aspect-ratio=4:3

then
arecord -D plughw:1,0 -c 2 -r 48000 | aplay
stops working.
Additionally, I never heard any sound from the capture device.
details can be seen here:
https://docs.google.com/document/d/1X9pOl5-Yh9nCkPQdmhCOpyaoCBEvvdND5SDn3lFxMrQ/edit
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sat, 10 Nov 2012 07:30:48 -0500
From: Paul Homlish <phomlish@xxxxxxxxxxx>
Subject:  alsa capture works then stops working
To: alsa-user@xxxxxxxxxxxxxxxxxxxxx
Message-ID: <509E48F8.20308@xxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

this works over and over and over perfectly:
arecord -D plughw:1,0 -c 2 -r 48000 | aplay

however, when I do either of:

mplayer device=/dev/video0 ALSA_CARD=1 ALSA_PCM_CARD=0 tv://
or
vlc v4l2:// --v4l2-standard=NTSC --input-slave=alsa://hw:1,0 
--v4l2-width=640 --v4l2-height=480 --aspect-ratio=4:3

then
arecord -D plughw:1,0 -c 2 -r 48000 | aplay
stops working.
Additionally, I never heard any sound from the capture device.

here are details for the experience and my system.

https://docs.google.com/document/d/1X9pOl5-Yh9nCkPQdmhCOpyaoCBEvvdND5SDn3lFxMrQ/edit

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sat, 10 Nov 2012 23:48:27 +0100
From: Miroslav Rovis <m.rovis@xxxxxxx>
Subject: Re:  No audio with mencoder, usual alsa setting
To: alsa-user@xxxxxxxxxxxxxxxxxxxxx
Message-ID: <509ED9BB.9000201@xxxxxxx>
Content-Type: text/plain; charset=UTF-8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The issue has been solved:

http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-November/015243.html

Hope this helps other users!

Miroslav Rovis

> Date: Fri, 02 Nov 2012 03:49:47 +0100 From: Miroslav Rovis
> <m.rovis@xxxxxxx> Subject:  No audio with mencoder,
> usual alsa setting To: alsa-user@xxxxxxxxxxxxxxxxxxxxx Message-ID:
> <509334CB.2060402@xxxxxxx> Content-Type: text/plain; charset=UTF-8
> 
> Hi!
> 
> I searched the list, but didn't find closely relevant topic. It
> could be udev related, since my errors are similar to these:
> 
> http://linuxtv.org/pipermail/linux-dvb/2009-January/031362.html
> 
> OTOH, I get audio with ffmpeg, a path that I also follow:
> 
> http://ffmpeg.org/pipermail/ffmpeg-user/2012-November/010896.html
> 
> (pls. find in the latter link my mencoder lines and profile
> entries that don't get the sound right, so I don't cross post!)
> 
> It is obviously alsa issue, with mencoder. I could post the
> console output here. But it doesn't show errors.
> 
> It just doesn't capture the sound. So, I'll try and post the
> relevant output of diverse command, to be able to pinpoint the
> problem.
> 
> Also, I made a screencast of my alsa problem. Here:
> 
> "Screen 2012-11-02 23h, Alsa problem"
> 
> http://www.youtube.com/watch?v=efvKex6LTMI
> 
> 
> $ arecord -l **** List of CAPTURE Hardware Devices ****
> 
> shm_open() failed: Permission denied
> 
> card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog] 
> Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB],
> device 2: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice
> #0: subdevice #0 card 2: CX8811 [Conexant CX8811], device 0: CX88
> Digital [CX88 Digital] Subdevices: 0/1 Subdevice #0: subdevice #0 
> $
> 
> $ aplay -l **** List of PLAYBACK Hardware Devices **** shm_open()
> failed: Permission denied card 0: SB [HDA ATI SB], device 0: ALC892
> Analog [ALC892 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 
> card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital] 
> Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic
> [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 0/1 
> Subdevice #0: subdevice #0 $
> 
> # excerpt from /var/log/dmesg start [    8.839284] cx88/2: cx2388x
> MPEG-TS Driver Manager version 0.0.9
loaded
> [    8.840878] cx88[0]: subsystem: 0070:1402, board: Hauppauge 
> WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T [card=53,autodetected], 
> frontend(s): 2 [    8.840880] cx88[0]: TV tuner type 63, Radio
> tuner type -1 [    8.841420] snd_hda_intel 0000:01:00.1: irq 74 for
> MSI/MSI-X [    8.854439] cx88/0: cx2388x v4l2 driver version 0.0.9
> loaded [    8.878594] cx2388x alsa driver version 0.0.9 loaded [
> 8.953843] cx88[0]: i2c init: enabling analog demod on 
> HVR1300/3000/4000 tuner # excerpt from /var/log/dmesg end
> 
> # excerpt from /var/log/dmesg start [    9.074506] cx88[0]:
> hauppauge eeprom: model=14109 [    9.093514] tuner-simple 0-0061:
> creating new instance [    9.093523] tuner-simple 0-0061: type set
> to 78 (Philips FMD1216MEX MK3 Hybrid Tuner) [    9.149392]
> Registered IR keymap rc-hauppauge [    9.149856] input: cx88 IR
> (Hauppauge WinTV-HVR300 as 
> /devices/pci0000:00/0000:00:14.4/0000:04:05.2/rc/rc0/input4 [
> 9.153553] [drm] PCIE GART of 512M enabled (table at 
> 0x0000000000040000). [    9.153727] radeon 0000:01:00.0: WB
> enabled [    9.153738] radeon 0000:01:00.0: fence driver on ring 0
> use gpu addr 0x0000000040000c00 and cpu addr 0xffff8802335c0c00 [
> 9.170403] rc0: cx88 IR (Hauppauge WinTV-HVR300 as 
> /devices/pci0000:00/0000:00:14.4/0000:04:05.2/rc/rc0 [    9.170438]
> [drm] ring test on 0 succeeded in 2 usecs [    9.170485] cx88[0]/2:
> cx2388x 8802 Driver Manager [    9.170531] cx88[0]/2: found at
> 0000:04:05.2, rev: 5, irq: 20, latency: 32, mmio: 0xfb000000 #
> excerpt from /var/log/dmesg end
> 
> If I posted  the output of ls -lR /proc/asound/ here, which is too
> bulky and obtrusive for posting, there would be as many lines as
> there are files of
> 
> -r--r--r-- 1 root wheel 0 2012-11-02 03:33 clients
> 
> "root wheel" owned files... Does that tell something? I don't see 
> myself as plain user in wheel...
> 
> $ cat /etc/group | grep wheel wheel:x:10:root $
> 
> What else do I need to post? I searched and read a lot, and I'm a 
> little lost right now.
> 
> I'll try and ask for help on Gentoo forums, since Gentoo has had 
> issues with udev recently...
> 
> Also maybe on pulse audio mailing list, because the fiddling with 
> pavucontrol window (line in, or setting cx88 as default or what
> not) doesn't help mencoder in the least...
> 
> And also on mencoder list.
> 
> I'll try and remember to post the solution here once I reach it,
> just as I will try and point to here from the other places, for
> people to find the solution if they have issue like mine!
> 
> Thanx!
> 
> Miroslav Rovis

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCe2boACgkQ5NaGZVDan0pgMgCgoRCIklJUZXcU4p9K3jdzPl55
O4MAnj5w6eIIBeOijRX0CWNH3lbjqN59
=QZ5M
-----END PGP SIGNATURE-----



------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov

------------------------------

_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


End of Alsa-user Digest, Vol 79, Issue 13
*****************************************


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux