DaewoongP / cerule-stream

Application Object detection using Neural Networks, Python and Open CV (with Raspberry pi)
1 stars 0 forks source link

[서버] OpenCV 연동 #24

Closed safecorners closed 6 years ago

safecorners commented 6 years ago

리눅스에서 입력받은 영상정보처리하고, 그 결과를 스트림으로 전송하기 위해서 사용한다.

safecorners commented 6 years ago

ffmepg 스트리밍 방법

safecorners commented 6 years ago

도커 사용법

Server

docker run --rm -it -p 8080:80 -p 1935:1935 nginx /bin/bash
# nginx

Client

ffmpeg -f avfoundation -r 30 -i "0:0" -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset medium -g 60 -b:v 2500k -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k -f flv rtmp://localhost:1935/dash/live