Replies: 1 comment
-
Dont worry, It turns out I was editing an old YML file --- doh - thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Hi,
I'm trying to set up a USB mic plugged into the Raspberry Pi, but When I go to run and connect to stream, I get the error ...
Feb 04 17:22:52 Raspicam mediamtx[2219]: 2025/02/04 17:22:52 INF [RTSP] [conn 192.168.1.120:64528] closed: path 'cam_with_audio' is not configured>
My Sound card using
arecord -L
Shows this ...null Discard all samples (playback) or generate zero samples (capture) default Playback/recording through the PulseAudio sound server lavrate Rate Converter Plugin Using Libav/FFmpeg Library samplerate Rate Converter Plugin Using Samplerate Library speexrate Rate Converter Plugin Using Speex Resampler jack JACK Audio Connection Kit oss Open Sound System pulse PulseAudio Sound Server speex Plugin using Speex DSP (resample, agc, denoise, echo, dereverb) upmix Plugin for channel upmix (4,6,8) vdownmix Plugin for channel downmix (stereo) with a simple spacialization usbstream:CARD=Headphones bcm2835 Headphones USB Stream Output usbstream:CARD=vc4hdmi0 vc4-hdmi-0 USB Stream Output usbstream:CARD=vc4hdmi1 vc4-hdmi-1 USB Stream Output hw:CARD=Device,DEV=0 USB PnP Audio Device, USB Audio Direct hardware device without any conversions plughw:CARD=Device,DEV=0 USB PnP Audio Device, USB Audio Hardware device with all software conversions sysdefault:CARD=Device USB PnP Audio Device, USB Audio Default Audio Device front:CARD=Device,DEV=0 USB PnP Audio Device, USB Audio Front output / input dsnoop:CARD=Device,DEV=0 USB PnP Audio Device, USB Audio Direct sample snooping device usbstream:CARD=Device USB PnP Audio Device USB Stream Output
And my .yml paths has this setup ...
`paths:
cam:
source: rpiCamera
rpiCameraWidth: 1920
rpiCameraHeight: 1080
rpiCameraBitrate: 6000000
rpiCameraAWB: auto
cam_with_audio:
runOnInit: >
gst-launch-1.0
rtspclientsink name=s location=rtsp://localhost:$RTSP_PORT/cam_with_audio
rtspsrc location=rtsp://127.0.0.1:$RTSP_PORT/cam latency=0 ! rtph264depay ! s.
alsasrc device=front:CARD=Device,DEV=0
USB PnP Audio Device ! opusenc bitrate=16000 ! s.
runOnInitRestart: yes`
Beta Was this translation helpful? Give feedback.
All reactions