Created
November 20, 2017 11:58
-
-
Save derchrisuk/8269456d584843b556c33c84c4e3b923 to your computer and use it in GitHub Desktop.
ffmpeg for Facetime HD streaming
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 -y -f avfoundation -framerate 30 -s 1280x720 -i "FaceTime HD Camera:Built-in Microphone" -pixel_format uyvy422 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -x264opts "keyint=30:min-keyint=30:no-scenecut" -acodec libfdk_aac -profile:v high422 -g 30 -keyint_min 30 -vb 3M -bufsize 3M -maxrate 7M -acodec aac -f hls -hls_allow_cache 1 -hls_time 1 -hls_list_size 3 -hls_flags program_date_time -hls_playlist_type event -use_localtime 1 -f flv rtmp://127.0.0.1:1935/live |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment