Linux/GSTREAMER
VLC를 이용한 RTP 스트림 재생
본 글은 GStreamer로 송출한 RTP(H.264) 스트림을 VLC 플레이어로 수신 및 재생하는 방법을 설명한다. Ubuntu 환경에서 VLC 기본 패키지(apt install vlc)는 RTP/RTSP 기능이 비활성화되어 있으므로, Snap 버전 VLC 설치를 통해 live555 기반 RTP 지원을 활성화해야 한다.1. 테스트 환경 항목 내용 OSUbuntu 22.04 LTS (x86_64)송신 프로그램 GStreamer수신 프로그램 VLC (Snap 버전)스트림 형식 RTP / H.264포트 UDP 5002 (예시)2. Gstreamer 송신 다음 명령을 실행하면 640×480 해상도의 테스트 패턴을 RTP(H.264) 형태로 송출한다.gst-launch-1.0 -v videotests..
[Gstreamer] appsrc
appsrc 요소는 애플리케이션에서 GStreamer 파이프라인에 데이터를 삽입하는 데 사용할 수 있습니다. 대부분의 GStreamer 요소와 달리 appsrc는 외부 API 기능을 제공합니다. https://gstreamer.freedesktop.org/documentation/applib/gstappsrc.html?gi-language=c GstAppSrcGstAppSrc The appsrc element can be used by applications to insert data into a GStreamer pipeline. Unlike most GStreamer elements, appsrc provides external API functions. appsrc can be used by lin..
[Gstreamer] appsink
appsink는 애플리케이션이 파이프라인의 GStreamer 데이터를 처리할 수 있도록 다양한 방법을 지원하는 싱크 플러그인입니다. 대부분의 GStreamer 요소와 달리 Appsink는 외부 API 기능을 제공합니다.https://gstreamer.freedesktop.org/documentation/applib/gstappsink.html?gi-language=c GstAppSinkGstAppSink Appsink is a sink plugin that supports many different methods for making the application get a handle on the GStreamer data in a pipeline. Unlike most GStreamer elements,..