Closed Tormund1985 closed 2 years ago
Hi,
You may try -A48000 -C1 -aS16_LE
that seems better correspond to your capture device.
Best regards Michel
HI Michel!
Now its working with next command:
.../dev/video0,hw:1,0 -A48000 -C1 -aS16_LE
I can't hear because I was trying to reproduce the rtsp "ts", but with unicast its working.
Thanks you very much, I really appreciate your help.
Describe the bug I can't add audio over rtsp connection.
To Reproduce ./v4l2rtspserver -W 1280 -H 720 -F 25 /dev/video0,hw:1,0 -A 48000 -a S32_LE -p 8555
Expected behavior The video works, I can play it from VLC, but not the audio coming from a microphone.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Audio works fine with ffmpeg command:
ffmpeg -ar 44100 -ac 1 -f alsa -i plughw:1,0 -f wav -listen 1 tcp://0.0.0.0:5002
Of course libasound2-dev is present and ALSA found when I compile v4l2rtspserver
I follow this issue from 2018: