Jump to content


Photo

Openpli-5 (still next master)


  • Please log in to reply
1177 replies to this topic

Re: Openpli-5 (still next master) #161 peti

  • Senior Member
  • 115 posts

+1
Neutral

Posted 1 April 2016 - 12:39

for me replex was also failing, had to remove the -m32 flags:

--- a/Makefile	2007-06-19 05:30:08.000000000 -0400
+++ b/Makefile	2016-03-30 07:16:55.408860000 -0400
@@ -2,8 +2,8 @@
 DISTNAME = replex-$(VERSION)
 TARNAME = $(DISTNAME).tar.gz	
 INCS   = -I..
-CFLAGS =  -g -m32 -Wall -O6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION=\"$(VERSION)\"
-LDFLAGS = -m32
+CFLAGS =  -g -Wall -O6 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION=\"$(VERSION)\"
+LDFLAGS = 
 LIBS   = -L. 
 MFLAG  = -M
 OBJS = element.o pes.o mpg_common.o ts.o ringbuffer.o avi.o multiplex.o

T90 | 28.2E-23.5E-19.2E-13E-9E-4.8E-0.8W-4W

Zgemma H7S | OpenPLI develop branch


Re: Openpli-5 (still next master) #162 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 12:43

I adapt all my recipes of gstreamer to compile with gobject-introspection.

 

this is my gstreamer-git.bb

EFAULT_PREFERENCE = "1"

include gstreamer1.0.inc

LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
					file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d \
					"

SRCREV = "${AUTOREV}"
SRCREV_common = "1b39f6d85a3d51ac6d1b44d8c821fd9b76b34454"
SRCREV_FORMAT = "base"

SRC_URI = " git://anongit.freedesktop.org/gstreamer/gstreamer;branch=master;name=base \
			git://anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;name=common \
			"

SRC_URI += "file://0001-revert-use-new-gst-adapter-get-buffer.patch \
			"

S = "${WORKDIR}/git"

inherit gitpkgv
PV = "1.9.0+git${SRCPV}"
PKGV = "1.9.0+git${GITPKGV}"

do_configure_prepend() {
	cd ${S}
	./autogen.sh --noconfigure
	cd ${B}
}

But you need a bunch of files from openembedded-core copy to meta-openpli(patches, pugins.inc etc).


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #163 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 12:54

All adapted files to compile gstreamer git master head with goject-introspection.

Attached Files


Edited by Beeker, 1 April 2016 - 12:55.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #164 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 April 2016 - 13:37

By me It worked I do have now a full image with gstreamer git 1.7.1.x  (the x I added I do have srcrevs between 1.7.1 and 1.7.2)

This using --disable-introspection  .

 

But gues it's better to use introspection. I'll will see how to fix it based on You're recipes (I use my own gstreamer recipes )

 

@peti yes that replex I had also but indeed I already solved that by removing the -m32 flag.

 

So for the one who wan't to build last master next

 

1) re add the package rtmp but modify the lbrtmp.bb by adding EXTRA_OEMAKE = "-e MAKEFLAGS="

 

2) read :

http://forums.openpl...ndpost&p=540197

 

3) gstreamer the included 1.6.3 seems to be fine but is a gst version with a lot off regression.

    using git use the --disable-retrospection or  see twhe way off Beeker above.

 

4) modify replex package like said by peti

http://forums.openpl...ndpost&p=540206



Re: Openpli-5 (still next master) #165 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 April 2016 - 14:23

But you need a bunch of files from openembedded-core copy to meta-openpli(patches, pugins.inc etc).

 

 

And why you not use bbappend files for gstreamer git?

https://github.com/T...media/gstreamer



Re: Openpli-5 (still next master) #166 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 April 2016 - 14:33

My personal experience (ok i did not thied the last git but ??)

 

The recipes (the git's gstreamer recipes then off open embedded where never ok)

 

Much better to make own recipes. For gstreamer then.

 

Then also I do not known about the srcrev there is already one into the bb file however it should come from the append file then and that ?? ...



Re: Openpli-5 (still next master) #167 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 14:38

'

And why you not use bbappend files for gstreamer git?

https://github.com/T...media/gstreamer'

 

 

 

Yes i know, but it was very experimental at that time to make it work and merge the patches and so...

 

But i see you have made bbappends with the openpli patches..

 

Nice.


Edited by Beeker, 1 April 2016 - 14:40.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #168 peti

  • Senior Member
  • 115 posts

+1
Neutral

Posted 1 April 2016 - 14:40

I'm also using Taapat's approach, but using the 1.8.0 re

eg. for  gstreamer1.0_git.bbappend

DEFAULT_PREFERENCE = "1"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI += " \
file://0001-revert-use-new-gst-adapter-get-buffer.patch \
"
inherit gitpkgv
SRCREV = "1abf889dddc75b4e4db2f4505a4287cb20878d27"
PV = "1.8.0"
PKGV = "1.8.0"

but please note, bb files in meta-openpli folder will have priority regardless of DEFAULT_PREFERENCE. 


T90 | 28.2E-23.5E-19.2E-13E-9E-4.8E-0.8W-4W

Zgemma H7S | OpenPLI develop branch


Re: Openpli-5 (still next master) #169 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 April 2016 - 14:55

I'm not talking about the gstreamer version, you can use any of you want.
I'm talking about the principle- used bbappend files to not duplicate all gstreamer folder.



Re: Openpli-5 (still next master) #170 peti

  • Senior Member
  • 115 posts

+1
Neutral

Posted 1 April 2016 - 15:12

I know, I just added that we can get also the stable versions from these git recipes with bbappend.

BTW compilation just finished for vuuno with the latest head and gst 1.8.0.


T90 | 28.2E-23.5E-19.2E-13E-9E-4.8E-0.8W-4W

Zgemma H7S | OpenPLI develop branch


Re: Openpli-5 (still next master) #171 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 April 2016 - 15:19

I'm not talking about the gstreamer version, you can use any of you want.
I'm talking about the principle- used bbappend files to not duplicate all gstreamer folder.

Yes I know what You mean.

 

But problem (looks like it's not there anymore but like I told just using bbappend instead off copying the entire recipes and adapt did not worked at all a year ago cause there where real errors into the open-embedded recipes)

 

Obviousely it's possible that they're not present anymore and just using a bbapend like on :

http://forums.openpl...ndpost&p=540239

 

Should work now (+-  year ago it tried an this even several open-embedded upgrades ) but it never worked out.

 

Yes I intend to try it again with append instead off full recipes from scratch.



Re: Openpli-5 (still next master) #172 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 16:24

Building with bbappends ok except libav

 checking for BZ2_bzlibVersion in -lbz2... yes
| checking for lzma_version_string in -llzma... yes
| checking for LIBAV... configure: error: Package requirements (libavfilter libavformat libavcodec libavutil) were not met:
| 
| No package 'libavfilter' found
| 
| Consider adjusting the PKG_CONFIG_PATH environment variable if you
| installed software in a non-standard prefix.
| 
| Alternatively, you may set the environment variables LIBAV_CFLAGS
| and LIBAV_LIBS to avoid the need to call pkg-config.
| See the pkg-config man page for more details.
| 

Fallback to the old gstreamer-libav for now.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #173 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 17:14

Also gstreamer-bad problem (hls).. I must make local changes in the openembedded-core to compile git master head.. So back to 'copy the whole nine yards to meta-openpli'


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #174 peti

  • Senior Member
  • 115 posts

+1
Neutral

Posted 1 April 2016 - 17:46

unfortunately it's not booting, stucks on bootscreen. any luck on your side with current head, guys?

 

 

BTW compilation just finished for vuuno with the latest head and gst 1.8.0.


T90 | 28.2E-23.5E-19.2E-13E-9E-4.8E-0.8W-4W

Zgemma H7S | OpenPLI develop branch


Re: Openpli-5 (still next master) #175 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 1 April 2016 - 17:57

@Beeker If you're talking about my bbappend files, then I would like to show you only the principle, I do not think you need to copy them 100%.

 

For example for libav I use system ffmpeg with my bb files to use only that from ffmpeg (codecs, protocols), which can be used in the receiver.
This ensures that libav packet size is only 85,8kB and together with others ffmpeg libraries size is 4Mb.
Check out what is your libav packet size and feel the difference  ;).


Edited by Taapat, 1 April 2016 - 17:58.


Re: Openpli-5 (still next master) #176 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 18:12

I made some changes to your bbappens, but i need more time to figure out what.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #177 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 18:43

I building from stratch now,but i think i see the problem with libav.

 

About  gstreamer-plugin-bad-hls:

 

In gstreamer-plugins-bad.bb of openembedded-core

# In 1.6.2, the "--enable-hls" configure option generated an installable package
# called "gstreamer1.0-plugins-bad-fragmented". In 1.7.1 that HLS plugin package
# has become "gstreamer1.0-plugins-bad-hls". See:
# http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08

PACKAGESPLITFUNCS_append = " handle_hls_rename "

python handle_hls_rename () {
    d.setVar('RPROVIDES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
    d.setVar('RREPLACES_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
    d.setVar('RCONFLICTS_gstreamer1.0-plugins-bad-hls', 'gstreamer1.0-plugins-bad-fragmented')
}

No gstreamer-plugins-hls :(


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #178 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 1 April 2016 - 19:42

The OE-core gstreamer recipes are bad because there's little attention for them. Just send updates to oe-core, they're happy to take your patch and upgrade gstreamer to 1.8+
Real musicians never die - they just decompose

Re: Openpli-5 (still next master) #179 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 1 April 2016 - 21:54

Ok. i will try..

 

Now in openembedded core gstreamer-git pushed to head master include gstreamer commom en latest rev of ffmpeg 3.0 branch.

 

Removed obsolete  -rename hls to fragmented- code in recipe.

 

removed PACKAGECONFIG = "libav"  in bbappend from Taapat.

 

Moved some code from gstreamer-bad to plugins.inc.

 

Now gstreamer is building without errors and box is not complaining about missing gstreamer-bad-hls (now build).

 

Next step update gstreamer 1.6.3 to 1.8.


Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: Openpli-5 (still next master) #180 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 1 April 2016 - 21:55

Thanks Milo... And exactly solved at the location it should be....;)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



16 user(s) are reading this topic

0 members, 16 guests, 0 anonymous users