Last active
August 29, 2015 14:20
-
-
Save m13253/6c34c0c1b929d0e80ffe to your computer and use it in GitHub Desktop.
My screencast live stream configuration
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
# Personal reminder | |
# Do not use it unless you know what it means! | |
parec --rate=48000 --format=float32le -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor | \ | |
ffmpeg -f x11grab -video_size 1366x768 -framerate 25 -i :0 \ | |
-f f32le -ar 48k -ac 2 -i - \ | |
-vf setpts='(RTCTIME-RTCSTART)/(TB*1000000)' \ | |
-b:v 512k -c:v libx264 -profile:v main -pix_fmt yuv420p -level:v 4.1 -tune:v zerolatency -preset:v ultrafast -g:v 25 \ | |
-b:a 96k -c:a libfdk_aac -profile:a aac_he \ | |
-f flv -vsync passthrough rtmp://localhost/live |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment