Last active
September 5, 2016 18:12
-
-
Save bastibeckr/6668972 to your computer and use it in GitHub Desktop.
Capture on Mac OSX from Blackmagic Ultrastudio to FFMPEG.
Generate multiple HLS streams
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
bmdcapture -m 8 -C 0 -A 2 -V 4 -F nut -f pipe:1 | \ | |
ffmpeg -y -i - \ | |
-c:a libfaac -ac 2 -b:a 96k -ar 44100 -c:v libx264 -pix_fmt yuv420p -profile:v main -level 32 -b:v 1000K -f hls -hls_time 10 -hls_list_size 999 -vf "scale=1280:-1" -segment_list_flags +live 1280x720.m3u8 \ | |
-c:a libfaac -ac 2 -b:a 96k -ar 44100 -c:v libx264 -pix_fmt yuv420p -profile:v main -level 32 -b:v 600K -f hls -hls_time 10 -hls_list_size 999 -vf "scale=720:-1" -segment_list_flags +live 720x405.m3u8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment