Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- AWS
- 안드로이드
- NeXT
- 도메인
- nextjs
- ios
- fanzeel
- Elastic Beanstalk
- 웹뷰
- php
- swift
- TypeScript
- Android
- node.js
- hybrid
- JavaScript
- 카카오톡
- node
- Route53
- cors
- S3
- beanstalk
- angular4
- https
- react
- 페이스북
- 알려줌
- 감사일기
- angular
- 네이티브
Archives
- Today
- Total
목록Spawn (1)
쪼렙 as! 풀스택
Node.js - spawn - ffmpeg 이용하여, facebook, Instagram LIVE 에 영상 송출하기.
function start(streamUrl, streamKey, opt, SOURCE_URL) { if (!opt) { opt = '-ar 44100 -vcodec libx264 -b:v 3200k -f flv'; //ffmpeg 송출 option } const target = streamUrl + (streamUrl.charAt(streamUrl.length - 1) === '/' ? '' : '/') + streamKey; const argStr = `-re -i ${SOURCE_URL} ${opt} ${target}` const command = `ffmpeg ${argStr}` const args = argStr.split(' '); console.log(command) // spawn 을 시작..
개발 일지/Web & Server
2021. 1. 31. 14:32