Skip to content

A pipeline to process multi media source based on Gstreamer.

Notifications You must be signed in to change notification settings

Som5ra/Gstreamer-Multisource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gstreamer-Multisource

  • A pipeline to process multi media source based on gstreamer.

GStreamer Install (Ubuntu)

sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio

Hardware Accleration

  • Verify hardware accleration after installation
  • Output will be empty if there is no hardware accleration
gst-inspect-1.0 | grep 'nvenc\|nvdec\|nvcodec'
  • For Ubuntu <= 20.04, the Gstreamer installed from the apt channel does not include hardware accleration. Building from source is needed.

Include Gstreamer in CmakeLists.txt

message(STATUS "Using gstreamer installed in system")
find_package(PkgConfig REQUIRED)
pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-1.0)
target_link_libraries(${PROJECT_NAME} PRIVATE PkgConfig::GSTREAMER)

About

A pipeline to process multi media source based on Gstreamer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published