Jump to content


Photo

GStreamer 0.10 no longer maintained


  • Please log in to reply
329 replies to this topic

Re: GStreamer 0.10 no longer maintained #161 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 24 June 2013 - 23:58

I guess changing gst-plugin-dreambox-dvbmediasink to gst-plugin-dvbmediasink is not enough right?

It will be for the most common codecs, but I think their wma/wmv support might be different.
But it's worth a try, for a quick test of the downmix functionality.

Don't forget to add a line like

DVBMEDIASINK_CONFIG = "--with-dtsdownmix"

in your machine conf file

 

It works! Really it works!

 

MKV files with DTS play perfectly.

 

The only disadvantage till now is that WMV and VC1 files don't play yet. Maybe we need to enable it using --with-wmv on DVBMEDIASINK_CONFIG?


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 0.10 no longer maintained #162 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 25 June 2013 - 06:46

Depends on the dmm box... It seems only dmm7020hd supports wmv (partly)

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


Re: GStreamer 0.10 no longer maintained #163 ims

  • PLi® Core member
  • 13,781 posts

+214
Excellent

Posted 25 June 2013 - 08:47

My dm800SE playback wmv/wma well. It was added some months ago, i think.


Kdo nic nedělá, nic nezkazí!

Re: GStreamer 0.10 no longer maintained #164 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 June 2013 - 09:30

My dm800SE playback wmv/wma well. It was added some months ago, i think.

 

Indeed, dm800se supports WMA/WMV/VC1 using dreambox dvbmediasink.

 

Using openpli dvbmediasink does not yet. But DTS works great!

 

I am attaching openpli dvbmediasink, compliled with the following parameters DVBMEDIASINK_CONFIG = "--with-dtsdownmix --with-wmv --with-wma --with-pcm"

 

Attached File  gst-plugin-dvbmediasink_0.10.0+git17+aa475db-r4_dm800se.zip   31.2KB   70 downloads

 

Looking on audio/x-wma handling i see we are missing the following part:

 

                                 memcpy(d, "BCMA", 4);

                                 d[4] = (self->block_align & 0xFF000000) >> 24;

                                 d[5] = (self->block_align & 0xFF0000) >> 16;

                                 d[6] = (self->block_align & 0xFF00) >> 8;

                                 d[7] = (self->block_align & 0xFF);

 

(audio/x-wma on dreambox dvbmediaskink.)


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 0.10 no longer maintained #165 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 25 June 2013 - 16:10

@athoik

 

I've just copied libgstdtsdownmix.so, libgstdvbaudiosink.so, libgstdvbvideosink.so to /usr/lib/gstreamer-0.10/, but dts downmix still doesn't work on dm500hd. Didi I miss something?



Re: GStreamer 0.10 no longer maintained #166 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 June 2013 - 16:17

@athoik

 

I've just copied libgstdtsdownmix.so, libgstdvbaudiosink.so, libgstdvbvideosink.so to /usr/lib/gstreamer-0.10/, but dts downmix still doesn't work on dm500hd. Didi I miss something?

 

Files are from dm800se, but they might work on dm500hd.

 

Clear the cache and reboot, then try again.

 

rm /home/root/.gstreamer-0.10/*
reboot

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 0.10 no longer maintained #167 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 25 June 2013 - 16:29

Thanks for reply. I cleared the cache and even recompiled gst-plugin-dvbmediasink with changes for dm500hd (md5sum is different - don't know why?) but it didn't help.

 

diff --git a/meta-openpli/conf/machine/dm500hd.conf b/meta-openpli/conf/machine/dm500hd.conf
index 3c2c779..ae688ed 100644
--- a/meta-openpli/conf/machine/dm500hd.conf
+++ b/meta-openpli/conf/machine/dm500hd.conf
@@ -11,6 +11,6 @@ require conf/machine/include/dreambox-part-64mb.inc
 require conf/machine/include/dreambox-jffs2.inc
 require conf/machine/include/dreambox-mips32el.inc

-DVBMEDIASINK_CONFIG = "--with-dtsdownmix"
+DVBMEDIASINK_CONFIG = "--with-dtsdownmix --with-wmv --with-wma --with-pcm"

 CHIPSET = "bcm7405"

diff --git a/meta-openpli/conf/machine/include/dreambox.inc b/meta-openpli/conf/machine/include/dreambox.inc
index 7308067..c251028 100644
--- a/meta-openpli/conf/machine/include/dreambox.inc
+++ b/meta-openpli/conf/machine/include/dreambox.inc
@@ -9,7 +9,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "dreambox-dvb-modules-${MACHINE}"
 include conf/machine/include/autoload-filesystems.inc

 MACHINE_EXTRA_RRECOMMENDS = " \
-       gst-plugin-dreambox-dvbmediasink \
+       gst-plugin-dvbmediasink \
        ntfs-3g \
        kernel-module-cifs \
        kernel-module-hmac \


Edited by atilaks, 25 June 2013 - 16:32.


Re: GStreamer 0.10 no longer maintained #168 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 25 June 2013 - 16:58

Indeed, dm800se supports WMA/WMV/VC1 using dreambox dvbmediasink.
 
Using openpli dvbmediasink does not yet.

Indeed, DMM has a different way of passing WMA codec data.
(and probably pcm as well)
'our' dvbmediasink is based on how Xtrend does this.
(so we cannot change this, if you decide to make changes, use a fork)

Re: GStreamer 0.10 no longer maintained #169 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 25 June 2013 - 21:48

@athoik

 

I've just copied libgstdtsdownmix.so, libgstdvbaudiosink.so, libgstdvbvideosink.so to /usr/lib/gstreamer-0.10/, but dts downmix still doesn't work on dm500hd. Didi I miss something?

 

found where the problem was, I was missing libdca0_0.0.5-5-r1



Re: GStreamer 0.10 no longer maintained #170 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 June 2013 - 22:47

(so we cannot change this, if you decide to make changes, use a fork)

 

Dear all,

 

 

I think i found a better (temporary) solution keeping the gst-plugin-dreambox-dvbmediasink and having DTS downmix!

 

I changed the GST_RANK_PRIMARY to GST_RANK_PRIMARY + 2 on dtsdownmix and the resulting library is working with dreambox dvbmediasink  :)

 

Attached File  libgstdtsdownmix.so.zip   6.39KB   37 downloads

 

Probably an even better solution would be to change dreambox dvbmediasink to use dynamic caps and keep initial priority on dtsdownmix.

 

@atilaks you are right about the libdca, doing an ldd agains libgstdtsdownmix confirm you ;)

 

ldd libgstdtsdownmix.so

        libgstbase-0.10.so.0 => /usr/lib/libgstbase-0.10.so.0 (0x77be4000)

        libgstreamer-0.10.so.0 => /usr/lib/libgstreamer-0.10.so.0 (0x77ae4000)

        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x77998000)

        libz.so.1 => /usr/lib/libz.so.1 (0x77970000)

        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x77920000)

        libffi.so.5 => /usr/lib/libffi.so.5 (0x77908000)

        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x778f4000)

        libpthread.so.0 => /lib/libpthread.so.0 (0x778c8000)

        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x778b4000)

        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7779c000)

        librt.so.1 => /lib/librt.so.1 (0x77784000)

        libdl.so.2 => /lib/libdl.so.2 (0x77770000)

        libdca.so.0 => /usr/lib/libdca.so.0 (0x7773c000)

        libm.so.6 => /lib/libm.so.6 (0x776b0000)

        libc.so.6 => /lib/libc.so.6 (0x77540000)

        /lib/ld.so.1 (0x55550000)

 

Please try, and if more users have success we can create an ipk and add it on 3rd party feeds.


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 0.10 no longer maintained #171 littlesat

  • PLi® Core member
  • 57,120 posts

+698
Excellent

Posted 25 June 2013 - 22:53

Indeed a third party ipk could be a work-a-round...

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


Re: GStreamer 0.10 no longer maintained #172 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 26 June 2013 - 06:32

@athoik 

great job! it works :)



Re: GStreamer 0.10 no longer maintained #173 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 26 June 2013 - 08:16

it seems with latest gstreamer changes we can't have a fresh build


Open Vision sources: https://github.com/OpenVisionE2


Re: GStreamer 0.10 no longer maintained #174 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 June 2013 - 08:38

it seems with latest gstreamer changes we can't have a fresh build

 

Try this:

 

 

cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-base -c clean
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-base
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-ugly -c clean
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-ugly
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-good -c clean
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-good
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-bad -c clean
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake gst-plugins-bad
cd /opt/openpli30/openpli-oe-core/build-dm800se ; source env.source ; bitbake openpli-enigma2-image

 

PS. I all ready mention this here : http://openpli.org/f...-10#entry356963


Edited by athoik, 26 June 2013 - 08:42.

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 0.10 no longer maintained #175 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 26 June 2013 - 09:29

thanks but i know how to solve with "clean" command

 

there should be a permanent solution what if you have a build server


Open Vision sources: https://github.com/OpenVisionE2


Re: GStreamer 0.10 no longer maintained #176 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 June 2013 - 12:29

it seems with latest gstreamer changes we can't have a fresh build


What is the problem? While making the gstreamer changes I have build several times a complete new image without problems. I only didn't download the sources every time.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #177 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 June 2013 - 13:07

it seems with latest gstreamer changes we can't have a fresh build


What is the problem? While making the gstreamer changes I have build several times a complete new image without problems. I only didn't download the sources every time.

 

If i remove openpli-oe-core folder, clone and when i build i get an error (sources of course are on different directory).

 

rm -rf openpli-oe-core
git clone git://git.code.sf.net/p/openpli/openpli-oe-core
cp site.conf openpli-oe-core
cd openpli-oe-core
make -f Makefile
MACHINE=dm800se make image

 

Then error like this: http://openpli.org/f...-10#entry356963


Edited by athoik, 26 June 2013 - 13:08.

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 0.10 no longer maintained #178 atilaks

  • Senior Member
  • 245 posts

+5
Neutral

Posted 26 June 2013 - 15:08

I had no problems building images for vuduo and dm500hd, could you post log.do_compile from gst-plugins-base?


Edited by atilaks, 26 June 2013 - 15:09.


Re: GStreamer 0.10 no longer maintained #179 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 26 June 2013 - 16:14

Or redirect output to a file: bitbake ... > log 2>&1

Then you should be able to see the concrete error message and the problematic source file.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: GStreamer 0.10 no longer maintained #180 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 26 June 2013 - 18:01

Here is the error:

 

Spoiler

 

The workaround is to build those packages first separately and then image builds successfully.

 

Attached Files


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


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users