5주차 목표

  • Gstreamer와 OpenCV를 이용하여 RTP 통신 구현해보기

회고

Code structure

Untitled

  • 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

    RTP_demo.mp4

  • The entire pipeline was implemented without modularization

    Untitled (1)

  • 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.

Namho Kim