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) #601 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 18 November 2016 - 19:35

And what output?Leave as is?



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 08:46

For dreamboxes we can use this for bbappends.It's machine specific.

buildtools-tarball.bbappend and uninative.tarball.bbappend(both are equal).

TARGET_ARCH_dm8000 = "mipsel"
TARGET_OS_dm8000 = "linux"

TARGET_ARCH_dm800se = "mipsel"
TARGET_OS_dm800se = "linux"

TARGET_ARCH_dm7020hd = "mipsel"
TARGET_OS_dm7020hd = "linux"

Perhaps it can be simplified.I tried dm***, dm%%% etc instead of each machine(just dreambox doesn't work), but i can find the right syntax.

This shouldn't break ARM builds..

Yes but like for the vuduo2 We did not had this problem . But for vuduo2 You find into the :

 

openpli50/openpli-oe-core/meta-vuplus/conf/machine/include/vuxxo2.inc

TARGET_ARCH = "mipsel"
DEFAULTTUNE = "mips32el"





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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 08:59

But indeed that's not the problem since by dreambox build this is also set since the machine requires:

 

openpli50/openpli-oe-core/meta-dream/conf/machine/dm8000.conf

#@TYPE: Machine
#@NAME: Dreambox DM 8000 HD PVR
#@DESCRIPTION: Machine configuration for the Dreambox DM 8000 HD PVR

OPENPLI_FEATURES = "ci dvd"
MACHINE_FEATURES += "pci wlan kernelwifi externalwifi dvb-c blindscan-dvbc frontprocessor"

require conf/machine/include/dreambox-nand-256mb.inc
require conf/machine/include/dreambox-part-256mb.inc
require conf/machine/include/dreambox-ubi.inc
require conf/machine/include/dreambox-mips32el.inc

TARGET_ARCH = "mipsel"
DEFAULTTUNE = "mips32el"

DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3 --with-limited-mpeg4v2"

CHIPSET = "bcm7400"

MACHINE_EXTRA_RRECOMMENDS += "dreambox-enigma2-config"

And the arch is set in conf/machine/include/dreambox-mips32el.inc



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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 10:01

Yes indeed, you can set it everywhere in meta-dream.. mips..mipsel..

 

Weird vuoduo no problem.

 

A look at siteinfo.bbclass line 39-43.

mipsisa64r6": "endian-big bit-64 mips-common",
        "mipsisa64r6el": "endian-little bit-64 mips-common",
        "mipsel": "endian-little bit-32 mips-common",
        "mipsisa32r6": "endian-big bit-32 mips-common",
        "mipsisa32r6el": "endian-little bit-32 mips-common",

I even try mipsisa32r6el...Doesn't work...i'm out. 


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) #605 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 10:11

 

This problem occurs when gstreamer recipes is .bb file(full),but when I use .bbappend file(short) - ok.

Actually this problem has always been there since now more then 3 to 4 years. Was there with gst-0.10 up till now indeed today 1.9 (by me) but is related to rtmp and will definetelly not be always there but on some times of the day. It also has nothing to do with hls it will occur when switching over from that specific rtmp channel to any other media using the player(which uses gstreamer mediasinks). So switching from that rtmp channel to a file based media will cause same crash. But not always it may vary and so You have the wrong impression that test with x is ok with Y not. If You test very deep and foor a week long You will notice that it actually happens regularly on whatever gstreamer version you have. From whatever stream or media (using the mediasinks) you are going to . And yes gstreamer may hang up on gstreamer stop by a rtmp//  link based media not always but many times why  ? that must be found out but it only occurs when using rtmp and is there already since gst 0.xx   till now up to 1.11.

 

 

About rtmpdump. rtmpdump is very old in meta-openembedded.. from july 2011.

 

https://git.ffmpeg.o...mp.git/shortlog

 

i have bbappends to update rtmpdump to latest git revision and a tiny adapting on patch. openpli-oe-core/meta-openpli/recipes-multimedia.

 

No cure..no pay

 

It rebuild gstreamer-plugins-bad.

 

So update gstreamer-bad or force install at least gstreamer-bad-rtmp.

Attached Files


Edited by Beeker, 19 November 2016 - 10:12.

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) #606 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 11:52

@Beeker thanks for the typ.

 

I'm just bussy whith the last gstreamer master recipes and have them just freshly compilation of the last master-git 1.11 (from 18 hours ago) . Some changes needed to be done concerning libtool hard targetting .

Also They used a potential unitialized var actually it's a guint32 as far I can see it always will be initialized but it's gcc which complains. And I do not wan't to put protection [-Werror=maybe-uninitialized] of ,

since if I make an error with own developpement by using an unitialised var (for a non integer) it may cause a segfault when it is really happening.



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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 11:58

For gstreamer plugins-good you need this path.

diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 183f74c..5592135 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -10056,7 +10056,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
                * to find one called field. Walk through them. */
               off_t offset = min_size;
               while (offset + 8 < len) {
-                guint32 size, tag;
+                guint32 size = 0, tag;
                 ok = gst_byte_reader_get_uint32_le (&br, &size);
                 ok &= gst_byte_reader_get_uint32_le (&br, &tag);
                 if (!ok || size < 8) {

Attached Files


Edited by Beeker, 19 November 2016 - 11:59.

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) #608 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 12:00

note about the rtmp there was already a patch from athoik :

file://0001-rtmp-fix-seeking-and-potential-segfault.patch \

 

so gues that foxbob build whitout that patch or that it does not work ?



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 12:01

 

For gstreamer plugins-good you need this path.

diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index 183f74c..5592135 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -10056,7 +10056,7 @@ qtdemux_parse_trak (GstQTDemux * qtdemux, GNode * trak)
                * to find one called field. Walk through them. */
               off_t offset = min_size;
               while (offset + 8 < len) {
-                guint32 size, tag;
+                guint32 size = 0, tag;
                 ok = gst_byte_reader_get_uint32_le (&br, &size);
                 ok &= gst_byte_reader_get_uint32_le (&br, &tag);
                 if (!ok || size < 8) {

Yes I already made that self , I did not know someone made that already :-)  However I was just on the verge to push an updated gst recipe for pli5 to my github



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

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 12:02

For gstreaer-plugins bad.

Attached Files


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) #611 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 12:04

note about the rtmp there was already a patch from athoik :

file://0001-rtmp-fix-seeking-and-potential-segfault.patch \

 

so gues that foxbob build whitout that patch or that it does not work ?

 

Oh i think you using still librtmp..

 

That was removed a long time ago..Because rtmpdump does the same..

 

Correct me if i'm wrong..

 

Edit: nevermind..yes i see. .it's a gstreamer-plugins-bad patch


Edited by Beeker, 19 November 2016 - 12:07.

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) #612 Beeker

  • PLi® Contributor
  • 1,602 posts

+203
Excellent

Posted 19 November 2016 - 12:14

I don't think he  build with that patch...

 

https://github.com/O..._1.8.%.bbappend

 

All patches are removed..

 

So yes in that case...


Edited by Beeker, 19 November 2016 - 12:14.

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) #613 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 12:15

p.s.

 

I updated my git recipes pli5 for master 1.11

 

https://github.com/c...TREAMER-RECIPES

 

and had already made patches self.

 

Now about the rtmp I will see first update it completely like You said then build whitout athoiks rtmp patch and test , see what it gives



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 15:20

Just tested last build

 

vuduo2

 

pli5 master-next  with adaptations for the image ubi finalize issue (this is still not 100 % all since if You build with package update deploy remains empty unless You first clean the image build)

e2 next-master

gstreamer recipes :

https://github.com/c...TREAMER-RECIPES

These recipes are made for developpers so is the naming and versioning:

GST_VERSION_FULL ="1.11.0.1-01"
inherit gitpkgv
PV = "${GST_VERSION_FULL}+git${SRCPV}"
PKGV = "${GST_VERSION_FULL}+git${GITPKGV}"

the -01 by version_full can be changed if you are testing and are going back and or up in git. if You increase it You're box can be easily updated whitout reflashing and the gst changes you made will be taken.

 

But the current gstreamer in master-next do not work at all the gst versions below 1.9 are all very buggy (even on a linux pc tested it by my pc) playing hls streams even crashes the totem application using 1.8.2 gst version and even the full ubuntu 16.04. and it's due to gst versions off course again sometimes not always so at random.

Further the implementation of the gst-libav is completely wrong there.

This means You can do what You wan't but if You build the last master-next gstreamer must be replaced by my recipes or whatever else the one which are there are unusable.

 

also the dvbmediasink must be replaced by eventually:

 

https://github.com/c...ox-dvbmediasink

 

or ... the one from master-next is not ok.

 

When using my dvbmediasink do not forget to adapt the dvbmediasink config also :

# for dm8000
DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3 --with-limited-mpeg4v2"
# for dm800se
DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3"

# for vuplus (only the mipsel vu boxes)
DVBMEDIASINK_CONFIG = "--with-vuplus --with-wmv --with-pcm --with-eac3"


The test is fine :

 

File media all ok

some hls streams rtmp streams and switching between ok.



Re: Openpli-5 (still next master) #615 foxbob

  • Senior Member
  • 624 posts

+18
Neutral

Posted 19 November 2016 - 17:25

I replaced rtmpdump and gstreamer 1.11.Build in my solo2 is ok.All my stream is ok.Which version dvbmediasink to use master or experimental?


Edited by foxbob, 19 November 2016 - 17:25.


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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 17:37

I replaced rtmpdump and gstreamer 1.11.Build in my solo2 is ok.All my stream is ok.Which version dvbmediasink to use master or experimental?

at this time master or experimental are identical.

 

But best take master as experimental did not stole his name. :P



Re: Openpli-5 (still next master) #617 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 19 November 2016 - 19:14

@christophecvr

 

To my build 800se image I have use this

# for dm800se
DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3"

and can you advice to me what option I need to my 800HD build image?!

 

Thank you


DM500s
DM800

DM800se

DM920UHD


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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 19 November 2016 - 20:29

@christophecvr

 

To my build 800se image I have use this

# for dm800se
DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3"

and can you advice to me what option I need to my 800HD build image?!

 

Thank you

That I don't but the one who knows I guess is @MastaG

 

But my personal guess is to do it same like dm8000 which means the limited mpeg4

DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-dtsdownmix --with-eac3 --with-limited-mpeg4v2"


Re: Openpli-5 (still next master) #619 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 19 November 2016 - 20:35

I have already in this one for openpli4 DM800 from MastaG file

DVBMEDIASINK_CONFIG = "--with-dreambox --with-dts=no"

And I will test your advice ..

 

Thank you


Edited by fairbird, 19 November 2016 - 20:36.

DM500s
DM800

DM800se

DM920UHD


Re: Openpli-5 (still next master) #620 fairbird

  • Senior Member
  • 413 posts

+20
Neutral

Posted 20 November 2016 - 00:17

@christophecvr

Or any friends can help me PLEASE ..

I'm build my image with your's https://github.com/c...TREAMER-RECIPES .

But I have some problem with iptv services ...

If I use IPTV plugin such as IPTVPlayer or TSmedia all movies after 7 or 10 minutes stops working play with internal player ..

But If I use ffmpeg package with external player such as exteplayer3 Everything will be fine And the play of the film does not stop..

 

How can I fix it in my build ?!

 

In attach enigma2 log and my enigma2.bb 

P.s: I got this problem with both images openpli4 And 5

 

 

Thank you ...

Attached Files


Edited by fairbird, 20 November 2016 - 00:17.

DM500s
DM800

DM800se

DM920UHD



9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users