Skip to content

Installation of GStreamer Version 1.20.1 #24

@tawfiq1200

Description

@tawfiq1200

It has come to my understanding that the video streaming works with a specific version of GStreamer. Streamline Design is using version 1.20.1.

If we install the latest stable release from here then it will install the version 1.16.2. So, we need to build it from source to get the required version. The official documentation has two different ways of building from source.

I first built using Cerbero after git checkouting to 1.20.1 but after finishing the installation process, it still shows that the stable version (1.16.2) has been installed.

Then I tried the other method using Meson for which installation instructions are not accurate, there are missing dependencies. When I tried to run this command:

ninja -C gstreamer

I got the following error:

ninja: error: loading 'build.ninja': No such file or directory

As there are indeed no files named build.ninja but it seems to be needed.

So, we need to know exactly how to build version 1.20.1 from source. I have attached a picture for reference.

Screenshot from 2022-07-29 18-55-01

After installing GStreamer version 1.20.1, we should be able to get video streaming on the laptop by running the following command on the laptop as written in the manual:

gst-launch-1.0 udpsrc port=2100 caps='application/x-rtp, media=(string) video, clock-rate=(int) 90000, encoding-name=(string) H264' ! rtpjitterbuffer ! rtph264depay ! h264parse ! vaapih264dec ! videoconvert ! videobalance contrast=1.5 brightness=-.2 hue=0 ! autovideosink fps-update-interval=1000 sync=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions