2017-09-04 70 views
0

저는 GStreamer, GStreamer RTSP Server 및 RTSP를 통한 스트리밍을 실행하는 몇 가지 관련 플러그인을 구축했습니다. GStreamer RTSP Server 예제는 v4l2src, videotestsrc 또는 filesrc와 함께 .MP4 파일과 함께 웹캠 (dev/video0)의 일부 소스를 사용할 수 있습니다.gstreamer를 사용하여 RTSP를 통해 Framebufferr에서 스트리밍

그래서 어떻게 RTSP를 통해 프레임 버퍼 소스 (dev/fb0)에서 스트리밍 할 수 있습니까?

답변

0

GStreamer로 프레임 버퍼를 가져올 수 있습니다.

gst-launch-1.0 -v multifilesrc location=/dev/fb0 ! videoparse format=29 width=1680 height=1080 framerate=30/1 ! decodebin ! videoconvert ! autovideosink sync=false 

당신은 다음 RTSP 응용 프로그램에 적응해야한다 : 여기

은 예입니다.

0

내가 명령에서/GST-RTSP 서버/예 입력 : VLC보기

vlc vlc rtsp://127.0.0.1:8554/test

를 사용

stream ready at rtsp://127.0.0.1:8554/test
x264 [error]: baseline profile doesn't support 4:4:4

: 나는 오류를 가지고,

sudo ./test-launch "(multifilesrc location=/dev/fb0 ! videoparse format=29 framerate=30/1 ! decodebin ! videoconvert ! x264enc ! rtph264pay name=pay0 pt=96)"

을하지만, 검은 색 화면 일뿐입니다.

프레임 버퍼 정보 :

mode "1280x720"
geometry 1280 720 1280 720 32
timings 0 0 0 0 0 0 0
rgba 8/0,8/8,8/16,8/24
endmode