Upgrading Gstreamer packages version in Gstreamer -blog archive

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upgrading Gstreamer packages version in Gstreamer -blog archive

2,818 Views
fabio_estevam
NXP Employee
NXP Employee

In many cases users want to be able to try the latest features of Gstreamer running on a more updated version than the one provided by LTIB.

 

The steps below show how to perform such upgrade.

 

Regards,

 

Fabio Estevam

 

1. Upgrade glib2 to 2.28.8:

- Copy attached glib2 spec to dist/lfs/5.1/glib2/glib2.spec ( glib2.spec)

- Download glib2-2.28.8.tar.bz2 from the web and copy it to /opt/freescale/pkgs

./ltib -p glib2 -m prep
./ltib -p glib2 -m scbuild
./ltib -p glib2 -m scdeploy

2. Upgrade gstreamer-core

- Copy attached gstreamer-core spec to dist/lfs/5.1/gstreamer-core/ (gstreamer-core.spec )

- Download gstreamer-core-0.10.35.tar.gz from the web and copy it to /opt/freescale/pkgs

./ltib -p gstreamer-core -m prep
./ltib -p gstreamer-core -m scbuild
./ltib -p gstreamer-core -m scdeploy

3. Upgrade gstreamer-base

- Copy attached gstreamer-base spec to dist/lfs/5.1/gst-plugins-base/ ( gst-plugins-base.spec)

- Download gst-plugins-base-0.10.35.tar.gz  from the web and copy it to /opt/freescale/pkgs

./ltib -p gst-plugins-base -m prep
./ltib -p gst-plugins-base -m scbuild
./ltib -p gst-plugins-base -m scdeploy

4. Upgrade gstreamer-bad

- Copy attached gst-plugins-bad spec to dist/lfs/5.1/gst-plugins-bad/ (gst-plugins-bad.spec )

- Download gst-plugins-bad-0.10.22.tar.gz  from the web and copy it to /opt/freescale/pkgs

./ltib -p gst-plugins-bad -m prep
./ltib -p gst-plugins-bad -m scbuild
./ltib -p gst-plugins-bad -m scdeploy

Do the same for the other gst packages.

In this example I didn´t apply the specific Freescale patches, but it is trivial and recommended to apply them.

Tags (1)
7 Replies

1,183 Views
sachindeshpande
Contributor II

Hello,

I am trying to upgrade the gstreamer-0-10 to gstreamer-1-2-2. Do I need to add patch to use vpu enc/dec (hardware enc and dec) ? if yes how do I do that. Also could you please let me know as to what are specific Freescale patches.

Thanks

Sachin

0 Kudos

1,183 Views
LeonardoSandova
Specialist I

They were many changes between these two mayor versions, so there are no patches which can be applied on top of 0.10. What you need to do is build gstreamer 1.X using Yocto (X=0). All fetching & patching & building is done for you.

To know the status, query the meta-freescale mailing list. The source code is hosted on

https://github.com/Freescale/gstreamer-imx

0 Kudos

1,183 Views
sachindeshpande
Contributor II

Hello Leo,

Thanks for the reply.

I am using LTIB framework for build the images. Should I be using Yocoto instead of LTIB to build the images and to include gstreamer-1.X . I am quite new to the LTIB as well as Yocoto.

Regards,

Sachin

0 Kudos

1,182 Views
LeonardoSandova
Specialist I

Sachin,

Yes, move to Yocto. It is not worth spending time with LTIB. I am not sure how well integrate is GST 1.0 on Yocto, but all this integration is going on in the mailing-list, so register and post in there any issue you may face on the building phase.

Leo

0 Kudos

1,183 Views
sachindeshpande
Contributor II

Thanks Leo for the reply. I am moving to Yocto now

0 Kudos

1,183 Views
admin
Specialist II

Attached are referenced files.

Regards,

Grant

0 Kudos

1,183 Views
TalleyHo
Contributor II

It was suggested that some of the patches need not be applied.  I've pulled the latest sources from git and have built them w/o all the patches.

 

I do have a few questions tho.  Is the mfw_buffer patch still relevant?  All the calls to gst_mfw_new_buffer() have been commented out.  

 

Also, I had to add --disable-examples to my XTRA_OPTS in the gst-plugins-base.spec file.  I had several other steps as well, but I'm assuming that is b/c I pulled straight from git and didn't use the pre-packaged solutions.  

 

I'm happy to see this solution however.  I at least know I didn't miss any magical steps.

0 Kudos