Last active
April 14, 2020 11:27
-
-
Save tomoyanonymous/c4c548995b73a45b9e5b90af00a86ce2 to your computer and use it in GitHub Desktop.
ffmpeg streaming command memo
This file contains hidden or 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
#send | |
ffmpeg -f avfoundation -re -i \"none:BlackHole 16ch\" -c:a pcm_s16le -ac:a 4 -f rtp rtp://localhost:30000 -sdp_file test.sdp | |
#receive | |
ffplay -protocol_whitelist "rtp,udp,file" -i "rtp://127.0.0.1:30000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
note that channel information is not included in sdp file when a codec is pcm_s16le(if mulaw, included)