Audio Setup problem for VLC and SoX - need advice
See original GitHub issueYour OS (including version) where you are running AlexaPi:
Rapsbian
Your hardware platform and model you are running on:
Rasp pi 3+
Python release (python2 --version
):
Python 2.7.13
Description of problem:
I have a problem with audio setup and don't know how to fix it.
I have tried both vlc and sox and followed the instructions for [PulseAudio](https://github.com/alexa-pi/AlexaPi/wiki/Audio-setup-&-debugging).
With vlc:
[6c6004e0] pulse audio output error: PulseAudio server connection failure: Access denied
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access denied
[6c6004e0] alsa audio output error: cannot open ALSA device "default": Connection refused
[6c6004e0] core audio output error: Audio output failed
[6c6004e0] core audio output error: The audio device "default" could not be used:
Connection refused.
[6c6004e0] core audio output error: module not functional
[73837a78] core decoder error: failed to create audio output
With sox:
DEBUG: Error attempting play. sox FAIL formats: can't open output file `default': can not open audio device: Access denied
Same with pulseaudio / alsa
Expected:
Problem-relevant config.yaml
entries:
sox
input_device: "USB PnP Sound Device: Audio (plughw:1,0)"
output: "pulseaudio"
output_device: ""
playback_handler: "sox"
vlc
input_device: "USB PnP Sound Device: Audio (plughw:1,0)"
output: "pulse"
output_device: ""
playback_handler: "vlc"
Steps to reproduce:
- Clean install
Traceback (if applicable):
Additional info:
http://www.alsa-project.org/db/?f=d9b972e381a285c30c5226566684278ed89b6da8
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Easiest Ways Here! Fix VLC No Sound Problems
Part 2: Top 7 Solutions to VLC No Sound Problems · 1. Turn on Audio/Unmute Audio on VLC · 2. Enable Sound Device...
Read more >VLC command-line help - VideoLAN Wiki
VLC command-line help for Windows users about VLC media player ... HDMI/SPDIF audio passthrough Change this value if you have issue with HD ......
Read more >Tips for Fixing VLC Player Has No Sound
The VLC has no sound problem may be caused by an outdated VLC version, which you can fix it by upgrading to the...
Read more >VLC - Gentoo Wiki
USE flags for media-video/vlc Media player and framework with support for most multimedia files and streaming ; faad, Enable AAC audio decoding library...
Read more >Error Opening Sound File
Many users prefer SoX, which is free and can be called from the Windows Command Prompt or Mac OS X Terminal. (See installation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Had one last look at the documentation to see if I had missed anything.
Ignored it the first time, because I didn’t think is was required…
That seems to have done the trick!
Ok, good to know!