mkchromecast icon indicating copy to clipboard operation
mkchromecast copied to clipboard

Connects and hear volume change sound but no audio

Open stephend9 opened this issue 5 years ago • 8 comments

Hi there,

I'm having trouble getting audio out to my Chromecast Audio device from your application. Casting works normally on my phone so I've verified that the rest of the system works. Mkchromecast appears like it's working fine and hasn't thrown any errors.

Here are the details on my current setup: Mkchromecast v0.3.8.1 on Linux Mint 19.3 Chromecast Audio Firmware Version 1.42.172094

I can see my device, get connected, and it's synced properly to Mkchromecast output in pavucontrol. When I first connect I hear the normal Chromecast audio connection noise. I can also hear a sound when I adjust the volume up and down from the Mkchromecast systray icon. I've tried aac instead of mp3 audio format and I've also tried gstreamer and ffmpeg on the backend but none of that troubleshooting has fixed anything for me.

I'm not to experienced in working with ALSA yet so I've only used the pulseaudio output. Is there a chance using instead ALSA would get me casting?

Thanks to anyone who can offer up some help.

stephend9 avatar May 04 '20 16:05 stephend9

I have the same issue on Ubuntu 18.04 with pulseaudio. For some reason, which is beyond me, this worked: python3 /usr/share/mkchromecast/mkchromecast.py -s --encoder-backend ffmpeg --control --sample-rate 96000 --host 192.168.1.XXX where the host IP is my local network DHCP address (same network as the chromecast device). THERE WAS A BIG DELAY (30 seconds or so) . . . LAG. I actually thought it hadn't worked and then got a shock when sound came pouring out of the chromecast device.

criticny avatar May 04 '20 17:05 criticny

Same issue ubuntu 18.04 using git master For audio only there is a delay of about 30 seconds For video there is no audio

FiveBoroughs avatar May 04 '20 23:05 FiveBoroughs

I tried the command @criticny suggested, but still no audio after waiting many minutes of connecting to my Chromecast and playing tunes.

I can hear the same normal initial connection noise and the volume change sound out of my Chromecast Audio speakers when I press "u" or "d". Pavucontrol shows normal volume going into Mkchromecast like it should.

I'm still stumped folks. Any other suggestions?

stephend9 avatar May 05 '20 03:05 stephend9

I have the same issue with Linux Lite connects I hear the connect tone but not audio coming out

meldarionqeusse avatar May 14 '20 18:05 meldarionqeusse

running mkchromecast -s I noticed this line:

PID of streaming process: 16818
 * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)

I guess that should be my computer's IP address. If I go to http://0.0.0.0:500 I can hear audio

meldarionqeusse avatar May 16 '20 15:05 meldarionqeusse

Possible duplicate: https://github.com/muammar/mkchromecast/issues/158

austinbutler avatar Sep 04 '20 21:09 austinbutler

Same issue, cast from Chrome on the same laptop works fine though.

austinbutler avatar Sep 04 '20 21:09 austinbutler