Hello,
I am streaming PCM/ulaw audio from a webcam using both VLC and MPlayer.
vlc rtsp://admin:12345@192.168.1.30
mplayer rtsp://admin:12345@192.168.1.30
VLC has inferior sound quality, with a "robotic"/"metallic" sound
VLC output tells me that:
[0x7ff908002f78] main audio resampler debug: looking for audio resampler module matching "any": 3 candidates
[0x7ff908002f78] main audio resampler debug: using audio resampler module "ugly_resampler"
After some googling it turns out that this is an old bug of VLC 2.1.4
https://bugs.archlinux.org/task/41414
https://bbs.archlinux.org/viewtopic.php?pid=1442284
A work-around would be to use the speex resampler, but that doesn't work either..
vlc --audio-resampler speex ..
vlc --audio-resampler Speex" ..
vlc --audio-resampler "speex" ..
vlc --audio-resampler "Speex" ..
Now VLC output tells me that ..
main debug: looking for audio resampler module matching "Speex": 3 candidates
pulse debug: changing sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
main debug: using audio resampler module "ugly_resampler"
main debug: End of audio preroll
I need to give the audio-resampler option from the command line, as I am using the VLC python plugins.
Any solution/fix appreciated!
Regards,
Sampsa