August
4th,
2022
5주차 목표
- Gstreamer와 OpenCV를 이용하여 RTP 통신 구현해보기
회고
Code structure

- Video source: webcam using OpenCV.
- Encoding format: h.264 using GStreamer.
- Communication method: RTP using GStreamer.
Problems
- Couldn’t receive the webcam video because of the laptop failure (hardware problem).
- There are still difficulties in modularizing each function.
-
Lack of understanding of elements
(differences between openh264enc and x264enc, nvvidconv and videoconvert, etc.).
Progress
-
Demo
-
The entire pipeline was implemented without modularization

-
Server GStreamer pipeline:
autovideosrc ! x264enc ! rtph264pay config-interval=1 ! udpsink host=127.0.0.1 port=5000
Client GStreamer pipeline:
udpsrc port=5000 caps="application/x-rtp" ! rtph264depay ! avdec_h264 ! videoconvert ! xvimagesink
- But RTP works well.