Giter Site home page Giter Site logo

Comments (8)

melchor629 avatar melchor629 commented on June 13, 2024

Hi, in the folder of the .exe should be some logs, you can start with that. Also, can be a good idea to run the app with a PowerShell (drag & drop the executable and press enter should work), it will show you more logs (including audio system logs).

What format are you trying to cast? The ones I didn't test on Windows are WAV HD and FLAC HD (96KHz/24bit). I will try to do some tests with windows and post them here.

Thanks for reporting the issue :)

from chromecaster-gui.

melchor629 avatar melchor629 commented on June 13, 2024

I've been testing for a while and I think there's something wrong with the executable (it's only a guess). After rebuilding the app and testing, it seems that some weird noises I heard, disappeared. And also I can confirm that both untested formats works perfectly on Windows.

I let you the testing build here to give it a try. Also, try to change the quality setting.

Edit: You can try something, if you listen to http://localhost:9877 (in VLC for example), that's the audio that Windows gives to the app, and http://localhost:9876 is the audio stream that chromecasts and so uses to play. Could be a good idea to see if the error comes from the encoder (last link) or from the audio capturing system (first link).

from chromecaster-gui.

kbalint avatar kbalint commented on June 13, 2024

Hi, thanks for the reply. If I connect a mic to the desktop, I can hear it on the :9877 port with 1sec delay, and on the Chrome device with a 3sec delay with the new build. But no other sound, just what the mic receives - I thought all desktop sound will be forwarded via some virtual driver? Thanks!

from chromecaster-gui.

melchor629 avatar melchor629 commented on June 13, 2024

For desktop sound, some audio drivers offers a virtual device to use as a "mic" called "Stereo Mix" or "Loopback" (see this image). In case you don't have any virtual device like those mentioned, wait for something I just found for Windows to capture audio from the desktop (I have to test it correctly before adding it :).

The delays is something difficult to me to fix (Google devices likes to buffer for a long time).

from chromecaster-gui.

kbalint avatar kbalint commented on June 13, 2024

Unfortunately I don't have a loopback sound device :(
My 2 cents: I know ffmpeg can grab the audio out perfectly [nearly] real time (works on my machine):

ffmpeg -f dshow -i audio="virtual-audio-capturer" output.mkv

but can't really grasp how to put the udp/rtp stream under http; or if the output is redirected to a file, make it available to clients for reading.

from chromecaster-gui.

melchor629 avatar melchor629 commented on June 13, 2024

Well, the ffmpeg-thing is really easy to use, but I think it is really complicated to put on the app. But is a good idea by the way. The drawback is that ffmpeg is really heavy because has a lot of utilities and codecs.

Any way, I think I managed to apply a patch from Audacity that allows users to capture the output of something. That should help you to send your computer's audio without having a virtual device (as I mentioned before). The testing build is at the same link.

captura de pantalla 2018-10-26 a las 16 56 41

In the image above, you can see that my Speakers ("Altavoces" in the image) appears as input device, but its name ends with (loopback). These are the output devices that Windows allow the app to capture as input device, and so, you may now send your desktop sound to the Chromecast (or anything similar from Google).

My few tests run really well, but please try it as well. Hope it helps solve your issue :)

(Edit): I've tested on a MacBook Pro with Windows, and the trick does not work (Audacity has the same issue). Seems to be dependant on the driver you have installed, but it's something.

from chromecaster-gui.

kbalint avatar kbalint commented on June 13, 2024

Hi, I see the loopback interface, but in all variations (flac/mp3/wav), it always says 'unsupported audio format' in the debug window, but does not even start the cast up (no UI showing on the chromecast device)

from chromecaster-gui.

melchor629 avatar melchor629 commented on June 13, 2024

It seems that it is not supported (the loopback device) with your driver. I think I cannot do anything more to solve that specific issue of capturing desktop audio :(

from chromecaster-gui.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.