Skip to content

Latest commit

 

History

History
97 lines (81 loc) · 3.64 KB

examples-sources-tiler-demuxer.md

File metadata and controls

97 lines (81 loc) · 3.64 KB

Pipelines with multiple Sources and Tiler or Demuxer

Examples using

Note: there are other Tiler and Demuxer examples documented under



4 HTTP URI Sources, PGIE, Tracker, 2D Tiler, OSD, and Window Sink

#
# The simple example demonstrates how to create a set of Pipeline components, 
# specifically:
#   - 4 HTTP URI Sources
#   - Primary GST Inference Engine (PGIE)
#   - IOU Tracker
#   - 2D Tiler
#   - On-Screen Display
#   - Window Sink
# ...and how to add them to a new Pipeline and play
# 
# The example registers handler callback functions with the Pipeline for:
#   - source-buffering messages
#   - key-release events
#   - delete-window events
#
# When using non-live streaming sources -- like the HTTP URI in this example --
# the application should pause the Pipeline when ever a Source is buffering. The 
# buffering_message_handler() callback funtion is added to the Pipeline to
# be called when a buffering-message is recieved on the Pipeline bus.
# The callback input parameters are 
#    - source - Source of the message == <source-name>-uridecodebin
#    - percent - the current buffer size as a percentage of the high watermark.
#    - client_data - unused in this simple example
# When a buffering message is received (percent < 100) the calback will pause
# the Pipeline. When a buffering message with 100% is received the callback
# resumes the Pipeline playback,
#


4 URI Sources with 2D Tiler Show Source Control

#
# This example demonstrates how to manually control -- using key release and 
# button press events -- the 2D Tiler's output stream to: 
#   - show a specific source on key input (source No.) or mouse click on tile.
#   - to return to showing all sources on 'A' key input, mouse click, or timeout.
#   - to cycle through all sources on 'C' input showing each for timeout.
# 
# Note: timeout is controled with the global variable SHOW_SOURCE_TIMEOUT 
# 
# The example uses a basic inference Pipeline consisting of:
#   - 4 URI Sources
#   - Primary GST Inference Engine (PGIE)
#   - IOU Tracker
#   - 2D Tiler
#   - On-Screen Display
#   - Window Sink
#  


2 URI Sources with Demuxer and 2 Branches

#
# This example demonstrates how to create an Inference Pipeline with two
# Sources, built-in Streammuxer, and Demuxer with two branches; one per demuxed
# Stream. Eaxh branch has an On-Screen-Display and EGL Window Sink.   
#