Jump to content


Photo

GStreamer 1.0

gstreamer 1.0 openpli

  • Please log in to reply
2520 replies to this topic

Re: GStreamer 1.0 #1601 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 29 July 2015 - 16:38

Also now that an stb does not support raw video, whatever you do converting the video will never work since You need raw video possiblity for that.

 

The audio can do raw.



Re: GStreamer 1.0 #1602 addybo

  • Senior Member
  • 45 posts

0
Neutral

Posted 29 July 2015 - 18:40

stream works fine with gst 1.5.1 before.....

and via plugin it works too, but not via channellist



Re: GStreamer 1.0 #1603 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 August 2015 - 10:35

Note:

 

there are a lot off streams which did worked before, But now anymore since acount is needed or they add a country ip protection. Or they are just off line.



Re: GStreamer 1.0 #1604 Andi316

  • Member
  • 19 posts

0
Neutral

Posted 4 August 2015 - 11:07

@christophecvr

Any news about VOB subtitles? I love your work and can't wait to have this sort of subtiltles supported.



Re: GStreamer 1.0 #1605 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 August 2015 - 11:42

@christophecvr

Any news about VOB subtitles? I love your work and can't wait to have this sort of subtiltles supported.

That's really on schedule . But I hit a problem with dvd iso files (which basically have nothing to do with this). But currently bussy whit that as it going that far that on vuduo2 the box lox up and only hard(power reset helps).



Re: GStreamer 1.0 #1606 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 4 August 2015 - 12:26

where i can get or download new gst-1 v1.5.1 & v1.5.2 to test on enigma2 box?



Re: GStreamer 1.0 #1607 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 4 August 2015 - 12:44

I'm currently stumbling on an error.

../../mipsel-oe-linux-libtool  --tag=CXX --tag=disable-static  --mode=compile mipsel-oe-linux-g++  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se -DHAVE_CONFIG_H -I. -I/home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/decklink -I../..  -I/home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/gst-libs -I../../gst-libs -pthread -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/gstreamer-1.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/gstreamer-1.0/include -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/glib-2.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/glib-2.0/include  -pthread -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/gstreamer-1.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/gstreamer-1.0/include -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/glib-2.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/glib-2.0/include  -pthread -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/gstreamer-1.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/gstreamer-1.0/include -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/include/glib-2.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm800se/usr/lib/glib-2.0/include  -DGST_USE_UNSTABLE_API  -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Werror -Wno-non-virtual-dtor         -Os -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -c -o libgstdecklink_la-gstdecklinkvideosink.lo `test -f 'gstdecklinkvideosink.cpp' || echo '/home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/decklink/'`gstdecklinkvideosink.cpp
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c: In function 'gst_dvbsrc_code_rate_get_type':
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:273:6: error: 'FEC_2_5' undeclared (first use in this function)
|      {FEC_2_5, "2/5", "2/5"},
|       ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:273:6: note: each undeclared identifier is reported only once for each function it appears in
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c: In function 'gst_dvbsrc_modulation_get_type':
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:6: error: 'QAM_4_NR' undeclared (first use in this function)
|      {QAM_4_NR, "QAM 4 NR", "qam-4-nr"},
|       ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:5: error: initializer element is not constant
|      {QAM_4_NR, "QAM 4 NR", "qam-4-nr"},
|      ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:5: error: (near initialization for 'modulation_types[13].value')

 

Any ideas?



Re: GStreamer 1.0 #1608 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 4 August 2015 - 13:01

Don't build dvbsrc!
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 1.0 #1609 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 4 August 2015 - 13:08

ah yeah..

I was browsing my linux headers and it appears I don't have FEC_2_5 declared in my header: /home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/linux/dvb/frontend.h

I'm wondering what has changed?

I thought gst-1 would build a fixed version...



Re: GStreamer 1.0 #1610 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 4 August 2015 - 13:19

I don't see any changes http://cgit.freedesk...ys/dvb?id=1.5.2 lately!
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 1.0 #1611 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 4 August 2015 - 13:45

yeah me neither..

I didn't touch anything in meta-openpli/recipes-multimedia/gstreamer.

 

The log.do_configure for gstreamer1.0-plugins-bad shows me that ' --enable-dvb' is being passed.



Re: GStreamer 1.0 #1612 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 4 August 2015 - 16:20

Alright, so I cleaned my tmp, cache and ssate-cache directories and started fresh.

MACHINE=dm8000 bitbake openpli-enigma2-image

 

Now /home/mastag/src/openpli-oe-core/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.5.1.bb fails to compile with:

../../mipsel-oe-linux-libtool  --tag=CC --tag=disable-static  --mode=link mipsel-oe-linux-gcc  -mel -mabi=32 -mhard-float -march=mips32 --sysroot=/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000 -std=gnu99 -pthread -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/gstreamer-1.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/lib/gstreamer-1.0/include -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/glib-2.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/lib/glib-2.0/include  -pthread -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/gstreamer-1.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/lib/gstreamer-1.0/include -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/glib-2.0 -I/home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/lib/glib-2.0/include  -DGST_USE_UNSTABLE_API  -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs -Werror       -Os -pipe -g -feliminate-unused-debug-types -module -avoid-version -export-symbols-regex '^_*gst_plugin_.*' -no-undefined -Wl,-O1  -Wl,--as-needed -o libgstfbdevsink.la -rpath /usr/lib/gstreamer-1.0 libgstfbdevsink_la-gstfbdevsink.lo -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0  -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c: In function 'gst_dvbsrc_code_rate_get_type':
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:273:6: error: 'FEC_2_5' undeclared (first use in this function)
|      {FEC_2_5, "2/5", "2/5"},
|       ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:273:6: note: each undeclared identifier is reported only once for each function it appears in
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c: In function 'gst_dvbsrc_modulation_get_type':
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:6: error: 'QAM_4_NR' undeclared (first use in this function)
|      {QAM_4_NR, "QAM 4 NR", "qam-4-nr"},
|       ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:5: error: initializer element is not constant
|      {QAM_4_NR, "QAM 4 NR", "qam-4-nr"},
|      ^
| /home/mastag/src/openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-bad/1.5.1-r0/gst-plugins-bad-1.5.1/sys/dvb/gstdvbsrc.c:303:5: error: (near initialization for 'modulation_types[13].value')

 

Now gstdvbsrc.c does have a: #include <linux/dvb/frontend.h>

And the file: /home/mastag/src/openpli-oe-core/build/tmp/sysroots/dm8000/usr/include/linux/dvb/frontend.h

Does not define FEC_2_5 or QAM_4_NR here.

 

And I believe this file comes from linux-libc-headers which are from kernel version 3.3.

From here: openpli-oe-core/meta-openpli/recipes-linux/linux-libc-headers/linux-libc-headers_3.3.bb

 

Now after browsing the gstreamer1.0-plugins-bad source I can see that --enable-dvb is always passed by: meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc

 

log.do_configure says:

configure: *** checking feature: DVB Source ***
configure: *** for plug-ins: dvb ***
checking Checking for up to date dvb installation... checking linux/dvb/version.h usability... yes
checking linux/dvb/version.h presence... yes
checking for linux/dvb/version.h... yes
checking for up-to-date dvb API... yes <-- I believe this causes it to use the system kenrel headers
configure: *** These plugins will be built: dvb

 

Anyone who happens to build for DM8000 as well?



Re: GStreamer 1.0 #1613 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 4 August 2015 - 17:24

Use --disable-dvb in bad.inc although it is strange cause we use common libc headers and those should be newer than kernel ones. Anyway either start a clean build (delete build/tmp) or disable it.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 1.0 #1614 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 4 August 2015 - 17:38

Also common libc heasers should be 3.17 from core oe. Are you forcing older libc?
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: GStreamer 1.0 #1615 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 4 August 2015 - 20:36

Yeah I'm using a slightly older libc (eglibc 2.19) for compatibility with those ancient receivers.
But that wasn't the problem.

Forgive me for being a cow.
You are right athoik.
I was forcing the linux-libc-headers preferred version to 3.3, because that was the latest version inside the meta-openpli directory.
However openembedded provides 3.17.7, so I'm using that now and it works.

Very nice! Great success! (Borat voice)

Re: GStreamer 1.0 #1616 Toysoft

  • Senior Member
  • 36 posts

+4
Neutral

Posted 8 August 2015 - 01:06

Nice job MastaG ;o)

 

TS



Re: GStreamer 1.0 #1617 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 11 August 2015 - 20:43

Hi,

 

While I was investigating some issue with AAC audio in vusolosev2, I found out, that we have a bug when creating ADTS header for AAC audio:

From 955758b4f56bb0f743aef852ff5d9672c86429bf Mon Sep 17 00:00:00 2001
From: mx3L <mx3ldev@gmail.com>
Date: Sun, 9 Aug 2015 14:16:10 +0200
Subject: [PATCH] dvbaudiosink: fix creation of ADTS header for AAC audio

fixed according to:
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=72c5c70b90c79efcf013e0e414809931815be797t
---
 gstdvbaudiosink.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gstdvbaudiosink.c b/gstdvbaudiosink.c
index 80ace1c..ecfbdeb 100644
--- a/gstdvbaudiosink.c
+++ b/gstdvbaudiosink.c
@@ -479,9 +479,9 @@ static gboolean gst_dvbaudiosink_set_caps(GstBaseSink *basesink, GstCaps *caps)
                                                guint8 h[2];
                                                gst_buffer_extract(gst_value_get_buffer(codec_data), 0, h, sizeof(h));
 #endif
-                                               guint8 obj_type =((h[0] & 0xC) >> 2) + 1;
-                                               guint8 rate_idx =((h[0] & 0x3) << 1) |((h[1] & 0x80) >> 7);
-                                               guint8 channels =(h[1] & 0x78) >> 3;
+                                               guint8 obj_type =h[0] >> 3;
+                                               guint8 rate_idx =((h[0] & 0x7) << 1) |((h[1] & 0x80) >> 7);
+                                               guint8 channels =(h[1] & 0x7f) >> 3;
                                                GST_INFO_OBJECT(self, "have codec data -> obj_type = %d, rate_idx = %d, channels = %d\n",
                                                        obj_type, rate_idx, channels);
                                                /* Sync point over a full byte */
@@ -492,7 +492,7 @@ static gboolean gst_dvbaudiosink_set_caps(GstBaseSink *basesink, GstCaps *caps)
                                                if (mpegversion == 2)
                                                        self->aac_adts_header[1] |= 8;
                                                /* Object type over first 2 bits */
-                                               self->aac_adts_header[2] = obj_type << 6;
+                                               self->aac_adts_header[2] = (obj_type - 1) << 6;
                                                /* rate index over next 4 bits */
                                                self->aac_adts_header[2] |= rate_idx << 2;
                                                /* channels over last 2 bits */
-- 
1.9.1

It should fix 16 khz AAC-LC according to https://bugzilla.gno...g.cgi?id=695412, but I didn't found this kind yet. Tested some AAC-LC on vusolosev2 with gstreamer1.0 and works fine.

 

Patch is for gst-1.0 branch.

 

 

Attached Files



Re: GStreamer 1.0 #1618 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 11 August 2015 - 20:57

Cannot edit, please ignore previous patch, as you can see there is mistake with channels entry :(..

http://cgit.freedesk...4809931815be797

 

 

Attached Files



Re: GStreamer 1.0 #1619 dazulrich

  • Member
  • 10 posts

0
Neutral

Posted 14 August 2015 - 00:57

Hi, I have a sample that started working with the patch.. using christophecvr's multibox sink

 

https://mega.co.nz/#...WoYhHQMEME9BAz0



Re: GStreamer 1.0 #1620 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 14 August 2015 - 07:55

multibox sink has been adapted with this patch.

 

aac does work fine now by me.

 

https://github.com/c...a1ed4d00d1c4e05





2 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


    Bing (1)