Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS says downloaded file damanged #6

Open
aquav77 opened this issue May 8, 2023 · 8 comments
Open

Mac OS says downloaded file damanged #6

aquav77 opened this issue May 8, 2023 · 8 comments

Comments

@aquav77
Copy link

aquav77 commented May 8, 2023

I am running a much older version of Mac OS. Could that be the issue?

@schollz
Copy link
Owner

schollz commented May 8, 2023

Yeah, I think Go stopped supporting very old versions.

@aquav77
Copy link
Author

aquav77 commented May 8, 2023

I will try a newer Mac. How reliable would this be to send live audio from computer. I assume there is a url generated for others to listen. In our case it is a church service delivered to a local AM radio station. I would hate to provide them a link and your servers changed or went down. Once they set it up from the computers it would be annoying for them to keep changing. This is a great service though. Thank You for providing!

@schollz
Copy link
Owner

schollz commented May 8, 2023

Yeah it generates a URL for others to listen. I have no plans for taking the service down or changing the name. But, to be frank, the reliability really depends on sponsorship (servers/domains/bandwidth do cost me real $). If you or someone in your congregation could support me, that would go a long way to maintaining this tool and many others: https://github.com/sponsors/schollz

@aquav77
Copy link
Author

aquav77 commented May 8, 2023

I will see how the UI works with choosing the USB audio input and remembering it. They are using Mixlr now and it has stopped remembering on the recent update. It is fairly complicated etc. Would be great if heavier users would pay.
Are you using Icecast or shoutcast? I am not a developer and found you on a search. I guess setting up a ffmpeg server or whatever is complicated. I guess that would stream from a local computer to the internet? Would any monthly contributions use a credit card?

@schollz
Copy link
Owner

schollz commented May 8, 2023

Are you using Icecast or shoutcast?

Neither, this simply streams from ffmpeg which is bundled into the binary for streammyaudio. No other software is needed, nothing needs to be installed. The streammyaudio can be just downloaded and run.

I guess setting up a ffmpeg server or whatever is complicated.

There is no ffmpeg server, its all just one program: streammyaudio that routes the audio (using ffmpeg in the background, but streammyaudio handles that).

I guess that would stream from a local computer to the internet?

Yes, that's the main purpose.

Would any monthly contributions use a credit card?

Yes, you can choose to use a credit card or most other online banking services if you were to choose sponsorship. If you want to sponsor me, please feel free to email me ([email protected]), I'd be happy to help you get you set up.

@gregsadetsky
Copy link
Contributor

@aquav77 try running xattr -c streammyaudio (where streammyaudio is the binary) -- recent versions of macos will announce that a binary is "damaged" when it only needs to be "blessed" by running xattr...

@strickinato
Copy link
Contributor

I recently figured out how to do the "no download" version of this on a mac os. You can running the following (if you have ffmpeg and curl installed on your machine):

ffmpeg -f avfoundation -i ":default" -f mp3 - | \
    curl -s -k -H "Transfer-Encoding: chunked" -X POST -T - \
    "https://streammyaudio.com/MYSTREAMNAME.mp3?stream=true&advertise=true"

Added to the instructions as well:
#13

@gregsadetsky
Copy link
Contributor

gregsadetsky commented Mar 27, 2024

confirmed @strickinato , amazing! that worked immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants