Created
September 30, 2015 20:33
-
-
Save joffilyfe/6459bd84b24179731987 to your computer and use it in GitHub Desktop.
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
ffmpeg -re -f avfoundation -i "Built-in Microphone" -ar 8000 -f mulaw -f rtp rtp://localhost:1234 | |
ffmpeg -re -f avfoundation -i "1" -ar 8000 -f mulaw -f flv rtmp://localhost/live | |
ffmpeg -f avfoundation -i "0":"0" -f flv rtmp://localhost/live | |
ffmpeg -re -f avfoundation -i "0" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234 | |
ffmpeg -re -f avfoundation -i "-1:0" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234 | |
ffmpeg -re -f lavfi -i aevalsrc="sin(400*2*PI*t)" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234 | |
ffmpeg -re -f lavfi -i aevalsrc="0" -ar 8000 -f mulaw -f rtp rtp://127.0.0.1:1234 | |
ffmpeg -re -f avfoundation -ac 2 -i ":0" -ac 2 -acodec libmp3lame -f rtp rtp://127.0.0.1:7000 | |
http://ffmpeg.gusari.org/viewtopic.php?f=12&t=880 | |
http://ffmpeg.gusari.org/viewtopic.php?f=12&t=1062 | |
https://trac.ffmpeg.org/wiki/Capture/Desktop | |
https://trac.ffmpeg.org/wiki/Capture/Webcam | |
http://mcs.une.edu.au/doc/ffmpeg/ffmpeg-all.html | |
https://trac.ffmpeg.org/wiki/Capture/ALSA | |
ffmpeg -re -f avfoundation -ac 2 -i ":0" -acodec libmp3lame -ab 32k -ac 1 -f rtp rtp://127.0.0.1:7000 | |
OSX: | |
(Listando os inputs) ffmpeg -f avfoundation -list_devices true -i "" | |
(Rodando RTP com audio) ffmpeg -re -f avfoundation -ac 2 -i ":0" -acodec libmp3lame -ab 32k -ac 1 -f rtp rtp://127.0.0.1:7000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment