Created
July 28, 2019 16:54
-
-
Save tschiemer/3f94e2688cb3ee3519043d42832613e6 to your computer and use it in GitHub Desktop.
macos multichannel audio streaming (rtmp, ffmpeg)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## rtmp server | |
https://www.npmjs.com/package/node-media-server | |
### stream | |
# https://www.ffmpeg.org/ffmpeg-devices.html#avfoundation | |
# https://stackoverflow.com/questions/4716203/which-are-the-flv-supported-audio-types | |
# https://trac.ffmpeg.org/wiki/Encode/AAC | |
# https://trac.ffmpeg.org/wiki/SupportedMediaTypesInFormats | |
# https://trac.ffmpeg.org/wiki/AudioChannelManipulation | |
ffmpeg -f avfoundation -i "none:0" -f flv -c:a aac rtmp://localhost/live/test4ch | |
## record | |
ffmpeg rtmp:://localhost/live/test4ch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment