iizukanao / picam

Audio/video recorder for Raspberry Pi with language agnostic API
GNU Lesser General Public License v2.1
493 stars 78 forks source link

Audio over VLC #147

Open DrSavignano opened 3 years ago

DrSavignano commented 3 years ago

Everything is working properly, USB microphone is HW: 2,0, but when I connect to the PI Zero W, I get a picture but no sound. When I try to edit any setting on the Pi Zero I get "Error: Failed to set the camera to idle state perhaps another program is using the camera, otherwise to need to reboot this pi." When I reboot the pi, attempt any changes I get the same message. I feel like I am one step away from being done.

lucasrangit commented 3 years ago

What does arecord -l and arecord -L say? And what arguments are you passing to picam?

Here is mine as an example, where I have working audio over HLS to VLC.

/home/pi/picam/picam -o /run/shm/hls --time --autoex --vflip --vfr --audiobitrate 96000 --videobitrate 4000000 --alsadev 'plughw:0,0' --channels 2 --samplerate 32000 --volume 2.0 --hflip