Skip to content

Instantly share code, notes, and snippets.

@bastibeckr
Last active September 5, 2016 18:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bastibeckr/6668972 to your computer and use it in GitHub Desktop.
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
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