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.
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).
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?
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...
Posted 4 August 2015 - 13:19
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?
Posted 4 August 2015 - 17:24
Posted 4 August 2015 - 20:36
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.
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
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
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
DVB subtitles support in eServiceMP3/GStreamerStarted by DimitarCC, 17 Oct 2024 DVB, Subtitles, GStreamer |
|
|||
Change from openvix to openpli - lose existing hdd recordings?Started by xdoktor, 30 Dec 2023 openpli, openvix, hdd, recordings |
|
|||
Having Trouble While Installing This SoftwareStarted by CharleyDavis, 27 Jun 2023 OpenPLi |
|
|||
Faild to flash or update OPENPLIStarted by dede_one, 8 Oct 2022 openpli |
|
|||
hd+ funktioneret nichtStarted by JeppeG, 29 Sep 2022 Vu+, hd+, oscam, openpli |
|
0 members, 1 guests, 0 anonymous users