Rebuild Gstreamer

Home » CentOS » Rebuild Gstreamer
CentOS 6 Comments

Hi all,

I have a need to rebuild the gstreamer and gst-plugins in CentOS 7. So I found the wiki for rebuilding a source package… I downloaded the files, installed them with dependencies.

I did the rpmbuild -ba for each of the four packages. All seemed to go well. No errors reported.

However – the /usr/bin/gst-inspect* listing shows the files as OLD
ls -l /usr/bin/gst-inspect*
-rwxr-xr-x 1 root root 16000 Jun 9 2014 /usr/bin/gst-inspect
-rwxr-xr-x 1 root root 45488 Jun 9 2014 /usr/bin/gst-inspect-0.10
-rwxr-xr-x 1 root root 45552 Nov 20 2015 /usr/bin/gst-inspect-1.0

However the file was genereated as shows here:
[root@W530 tools]# ls -l gst-inspect*
-rwxr-xr-x 1 root root 36632 Feb 7 08:42 gst-inspect
-rwxr-xr-x 1 root root 8436 Feb 7 08:42 gst-inspect-0.10
-rw-r–r– 1 root root 1768 Feb 7 08:42 gst-inspect-0.10.1
-rw-r–r– 1 silentm silentm 1768 Dec 11 2011
-rw-r–r– 1 silentm silentm 53933 Feb 7 08:42 gst-inspect.c
-rw-r–r– 1 silentm silentm 47400 Dec 29 2011 gst-inspect.c.rpm-provides

So the package built… why did /usr/bin/gst-inspect* not match the above directory.

Did I miss something?


6 thoughts on - Rebuild Gstreamer

  • Gordon,

    All I did was the rpmbuild -ba for each of the items: gsteamer and the plugins.

    I was expecting that command would build and install?

    If that is not the case what do you run to install the package for gstreamer and the plugins?



  • Hello Jerry,

    don’t know why you need to upgrade gst-inspect plugin. But I did update gstreamer plugin last year. If you like to take a view


    baseurl=file:///srv/repo/CentOS/7/gstreamer gpgcheck=0

    This are private package, does it fit or what you are looking for?

    Plays all my personaly files.



    PS: Enable midi, ffmpeg dvd(css) lame etc…

  • Hello Jerry,

    it is a little while back, but:

    First I’m analyse what the steps to do.

    – Unpack the packackge rpm -i
    that place it into my home folder /home/xxx/rpmbuild

    – make my changes

    – rpmbuild -bs rpmbuild/SPECS/..spec (file)

    . mock rpmbuild/SRPM/new.src.rpm (file) – creates a sandbox for
    build, doesn’T screw up your system.

    – move it to my repo location (createrepo) or install it by

    sudo yum install “new.rpm” (because of dependency check)

    Hm, that’s how rpm’s are build in most cases.



    ps: yum provides /usr/bin/gst-inspect -> tells you which (current)

    Am Dienstag, den 07.02.2017, 11:05 -0500 schrieb Jerry Geis:

  • When rpmbuild finishes, it will list the rpm packages that it generated. You can install those packages. They are not installed automatically.