일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- dart
- ffmpeg
- deployment
- Sysinternals
- service
- Windows10
- Python
- RTMP
- wireshark
- Pod
- Java
- ebpf
- 행정구역분류
- HLS
- spring cloud config
- Android
- nginx-media-server
- Flutter
- aws
- aws cli
- Shell script
- android studio
- golang
- kubectl
- VSCode
- Kubernetes
- namespace
- configmap
- macos
- docker
- Today
- Total
목록RTMP (5)
woonizzooni
관련글 "Docker - NGINX MEDIA SERVER 만들기" nginx-media-server : RTMP push스트림을 받아 RTMP/HLS/DASH 서빙. github.com/woonizzooni/nginx-media-server 위 주소에 생성해놓은 스펙을 그대로 이용하는 것으로 설명함. Namespace 생성 apiVersion: v1 kind: Namespace metadata: name: nginx-ms Service 생성 : - 여기가 조금 애매한데, Endpoint가 여러개일 경우 로드 밸런싱되니 직접 붙어 재생하는 것은 거의 불가능 - Endpoint가 여러 개일 경우 워크로드(Deployment)를 Origin으로 하고, 그 뒤에 Edge를 구성해서 Edge를 통해 스트리밍 되..

그냥 아래 파일을 주로 이용했었음. 개발용으로... hub.docker.com/r/tiangolo/nginx-rtmp/ github.com/tiangolo/nginx-rtmp-docker/blob/master/Dockerfile buildpack-deps:stretch를 기본 이미지로 사용했는데, 이미지 크기가 약 850MB임. 배포 이미지에 HLS, DASH가 비활성화 되어 있어서 필요할 경우 새로 빌드해야 했는데, 용량도 줄이고 옵션도 켜고 .. 나만의 이미지(?)를 만들기로 함. TL; DR nginx-media-server : RTMP push스트림을 받아 RTMP/HLS/DASH 서빙. github.com/woonizzooni/nginx-media-server 서버 실행 $ docker run ..
ffmpeg의 stdin을 막고, mp4파일을 소스로 반복하여 송출하도록 함. ffmpeg -nostdin -re -stream_loop -1 -i ~/Movies/sample_h264_aac.mp4 \ -c:v copy -c:a copy \ -f flv "rtmp://localhost/live/test" 위 명령은 mp4파일의 video코덱이 h264, audio코덱이 aac일 경우의 예임. 만약, adobe rtmp스펙이 지원하지 않는 - video코덱이거나 (ex. h265) - audio코덱일 경우 (ex. ac3 등) 각각 h264코덱과 aac코덱으로 트랜스코딩을 하도록 하자. ex) -c:v libx -c:v libx264 ... -c:a libfdk_aac -b:a 128k -ar 44100..

[관련글] "FFmpeg Visual Studio 2019 컴파일-1" "[macos]ffmpeg으로 화면캡처(capture desktop)해서 rtmp송출" [참고] Capturing your Desktop / Screen Recording : Windows trac.ffmpeg.org/wiki/Capture/Desktop#Windows 기존에 컴파일해서 설치되어 있는 버전으로... Use DirectShow : dshow 장치 확인 > ffmpeg -list_devices true -f dshow -i dummy ffmpeg version 2.8.git Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.2.0 (GCC) configurat..

[참고글 : 빌드 / 설치 / 실행파일 다운로드] Windows10 FFmpeg컴파일 macOS ffmpeg설치 FFmpeg 바이너리 다운로드 (Windows (32bit/64bit), macOS 64bit) - 화면 캡처 방법 참고 : https://trac.ffmpeg.org/wiki/Capture/Desktop - 구동환경 : 맥북 + 외부모니터 연결 $ ffmpeg -f avfoundation -list_devices true -i "" o 비디오장치 [0] : 내장카메라 [1] : 맥북모니터 [2] : 외부모니터 o 오디오장치 [0] : 맥북 마이크 [1] : Movavi 앱 가상 장치 같은데... (신경쓰지말자) o 송출 명령 구성 1. 장치/스트림 구성 -f avfoundation -vide..