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 #1081 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 April 2015 - 18:59

Subject: [PATCH] gstreamer1.0 base add subparse patch from Bug 740784

Add patch from Bug 740784 - subparse: fails to detect UTF-8 encoding
Also remove PR from gstreamer bitbakes since PRServer doesn't require it.

Applied.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: GStreamer 1.0 #1082 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 21 April 2015 - 20:12

Is there a possibility to test the new gstreamer 1.0 with XP1000?

 

PBNIGMA 4.3, for instance and so on...

 

Now 5 Beta... OpenATV etc.


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: GStreamer 1.0 #1083 malakudi

  • Senior Member
  • 1,449 posts

+69
Good

Posted 21 April 2015 - 21:44

 

I think you should split this discussion in a thread about dts downmix with gst-1 on DMM hardware. gst-1 is already mature, as I have experienced by using the OpenATV 5.0 version on Solo2 and Duo2 (and I guess on other boxes the performance is similar). So I think a final effort of all people involved has to be done to bring gst-1 on OpenPLI (4.0 or 5.0, whatever). The non-working dts downmix on DMM hardware should not be a show stopper.

Nice This toppic has been started by athoik and yes it was normally for dreambox.

 

So feel free to create You're own toppic.

There You will be able to spawn all you're complete usseless unfounded critics on you're own.

And serious working persons do not have to read you're bullshit anymore.

 

You have no manners and no respect for others. Get your personal vendetta elsewhere, my comment was only to try push the change for gst-1 on OpenPLi. I thought you wanted the same. The point of my comment was that if the only issue is the dts downmix on DMM, then it is no issue. We should proceed.

 

edit: And actually the topic was never specifically for dreamboxes. It was for Gstreamer 1.x in general, for all STBs supported.

 

edit2: I have tested and used OpenATV 5.0. Gstreamer 1.4.5 works fine, especially for various online streams (hls etc). I would be tempted to keep OpenATV permanently, but I find their menu system a bit chaotic for my preferences.


Edited by malakudi, 21 April 2015 - 21:57.


Re: GStreamer 1.0 #1084 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 21 April 2015 - 22:53

OpenATV uses christophecvr's multibox gstreamer.



Re: GStreamer 1.0 #1085 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 22 April 2015 - 08:02

Yes, they do and I am using it for a while now, via PBNIGMA, from the same source. Not perfect but working!

 

OpenATV is a bit chaotic and overloaded. PBNIGMA, to my mind, is leaner and it has better structure etc.

 

Edit: I am told that it is all documented there, who did what, so it's well known who contributed what. JIC...

 

Edit 2: this is OpenViX based, apparently, not OpenPLi and the chaos comes from there, I would say...

 

Not that they (OpenViX) haven't contributed aplenty(!!!) - it's just that they are all over the place...

 

(In more ways than one, heh... :D :D :D )


Edited by gorski, 22 April 2015 - 08:06.

<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: GStreamer 1.0 #1086 Rob van der Does

  • Senior Member
  • 7,766 posts

+184
Excellent

Posted 22 April 2015 - 11:34

OpenATV is a bit chaotic and overloaded. PBNIGMA, to my mind, is leaner and it has better structure etc.

Edit 2: this is OpenViX based, apparently, not OpenPLi and the chaos comes from there, I would say...

If you would have tried ViX you could have seen that the menu-chaos is ATV's own 'development'.....

Re: GStreamer 1.0 #1087 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 22 April 2015 - 11:36

I have, obviously - and it may well have been improved upon but this is of their making, primarily...


<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>

Re: GStreamer 1.0 #1088 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 22 April 2015 - 22:07

christophecvr,

 

I built the gst-1 branch for the old dm800 and I can confirm that it it's capable of playing multibitrate HLS smil files (chunked).

I'm going to try dash and smooth streaming later this week.

However I'm using:

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

 

I believe the old dm800 is not capable of decoding dts, so should I replace '--with-dtsdownmix' with '--no-dtsdownmix' or something?

 

Also would it be possible for you to create a new patch against PLi's master branch for using your multibox recipe?



Re: GStreamer 1.0 #1089 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 22 April 2015 - 22:38

smooth streaming seems to be missing some plugin:

<  3037.139189> eServiceMP3::playbin uri=http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.ism/Manifest
<  3037.147324> eServiceMP3::starting pipeline

(enigma2:836): GLib-Net-WARNING **: couldn't load TLS file database: Failed to open file '/etc/ssl/certs/ca-certificates.crt': No such file or directory
resolved to PLAY
<  3037.348269> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3037.363290> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3037.379068> gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
<  3037.436589> eServiceMP3::state transition NULL -> READY
<  3037.441090> eServiceMP3::GST_STREAM_STATUS_TYPE_CREATE -> setting timeout on souphttpsrc to 30s
<  3038.040645> eServiceMP3::m_errorInfo.missing_codec = text/utf-16, endianness=(int)1234
<  3038.046727> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin1
<  3038.054374> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin1
<  3038.186920> Gstreamer error: Internal data flow error. (1) from source
<  3067.440679> eServiceMP3::http source timeout! issuing eof...
resolved to PLAY
<  3067.446786> gst_element_query_position failed in getPlayPosition
<  3067.456321> Gstreamer error: No URI set (3) from playbin

Same goes for mpeg-dash:

<  3155.625101> eServiceMP3::playbin uri=http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common_init.mpd
<  3155.632683> eServiceMP3::starting pipeline

(enigma2:836): GLib-Net-WARNING **: couldn't load TLS file database: Failed to open file '/etc/ssl/certs/ca-certificates.crt': No such file or directory
resolved to PLAY
<  3155.829822> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3155.842447> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<  3155.855973> gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
<  3155.895489> eServiceMP3::state transition NULL -> READY
<  3155.896873> eServiceMP3::GST_STREAM_STATUS_TYPE_CREATE -> setting timeout on souphttpsrc to 30s
<  3156.549133> Buffering 100 percent done
<  3156.602536> eServiceMP3::m_errorInfo.missing_codec = application/xml
<  3156.604085> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<  3156.612145> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<  3156.612973> Gstreamer error: Internal data flow error. (1) from queue2-1

 

Any ideas?



Re: GStreamer 1.0 #1090 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 April 2015 - 22:53

Yes. Search this thread and you will find the anwser... It's a package ca-certificates (most probably) missing. Install it.
 
/etc/ssl/certs/ca-certificates.crt': No such file or directory

Edited by athoik, 22 April 2015 - 22:53.

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 #1091 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 22 April 2015 - 23:29

athoik, I rebuilt the image with ca-certificates added.

Still chunked HLS works great, it even switches to the highest available bitrate :)

However I think smooth and mpeg-dash plugins are missing in gstreamer 1.0.

 

Smooth: http://playready.dir...20.ism/Manifest

action ->  InfobarChannelSelection keyRight
playing 4097:0:0:0:0:0:0:0:0:0:http%3a//playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.ism/Manifest:Smooth
<   276.237793> eServiceMP3::destruct!
<   276.249928> eServiceMP3::construct!
getResolvedKey config.mediaplayer.extraHeaders failed !! (Typo??)
<   276.259141> eServiceMP3::playbin uri=http://playready.directtaps.net/smoothstreaming/SSWSS720H264/SuperSpeedway_720.ism/Manifest
<   276.267939> eServiceMP3::starting pipeline
resolved to PLAY
<   276.467206> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<   276.481188> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<   276.496259> gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
<   276.551095> eServiceMP3::state transition NULL -> READY
<   276.553262> eServiceMP3::GST_STREAM_STATUS_TYPE_CREATE -> setting timeout on souphttpsrc to 30s
<   277.178596> eServiceMP3::m_errorInfo.missing_codec = text/utf-16, endianness=(int)1234
<   277.179882> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin1
<   277.180791> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin1
<   277.312853> Gstreamer error: Internal data flow error. (1) from source

 

mpeg-dash: http://rdmedia.bbc.c...common_init.mpd

playing 4097:0:0:0:0:0:0:0:0:0:http%3a//rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common_init.mpd:Dash
<   448.864981> eServiceMP3::destruct!
<   448.867732> eServiceMP3::construct!
getResolvedKey config.mediaplayer.extraHeaders failed !! (Typo??)
<   448.872477> eServiceMP3::playbin uri=http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common_init.mpd
<   448.879625> eServiceMP3::starting pipeline
resolved to PLAY
<   449.075707> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<   449.089093> gst_element_query_position failed in getPlayPosition
resolved to PLAY
<   449.101673> gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
<   449.153886> eServiceMP3::state transition NULL -> READY
<   449.155339> eServiceMP3::GST_STREAM_STATUS_TYPE_CREATE -> setting timeout on souphttpsrc to 30s
<   449.420447> Buffering 100 percent done
<   449.474910> eServiceMP3::m_errorInfo.missing_codec = application/xml
<   449.480157> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<   449.486582> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<   449.491396> Gstreamer error: Internal data flow error. (1) from queue2-1

 

But I'm using christophecvr's multibox recipe, so maybe he knows what to do.



Re: GStreamer 1.0 #1092 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 April 2015 - 07:09

@MastaG

 

If You do not need dtsdownmix do it like this. Just ommit the --with-dtsdownmix.

 

DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-wma --with-wmv --with-eac3"

 

To play You're stream like above , can be seen that apparently there is still a gstreamer plugin missing, But I can not see which.

This has well nothing to do with my multibox-dvbmediasink .It  is a missing plugin from gstreamer or..

 

I not really now but it could be a problem from enigma2.

<   449.474910> eServiceMP3::m_errorInfo.missing_codec = application/xml
<   449.480157> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<   449.486582> Gstreamer error: Your GStreamer installation is missing a plug-in. (12) from uridecodebin2
<   449.491396> Gstreamer error: Internal data flow error. (1) from queue2-1

 

 

I well will once make a new patch for git but there are in the mean time already a lot off changes. To be shure al is ok I first have to make a new fresh clean pull and do a build from scratch for my two boxes.



Re: GStreamer 1.0 #1093 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 23 April 2015 - 07:12

Yes, smooth and dash plugin are not installed.

diff --git a/meta-openpli/recipes-openpli/enigma2/enigma2.bb b/meta-openpli/recipes-openpli/enigma2/enigma2.bb
index 9cf7a56..98dd544 100644
--- a/meta-openpli/recipes-openpli/enigma2/enigma2.bb
+++ b/meta-openpli/recipes-openpli/enigma2/enigma2.bb
@@ -121,10 +121,12 @@ GST_GOOD_RDEPS = "${@base_contains('GST_VERSION', '1.0', ' \
 	', d)}"
 
 GST_BAD_RDEPS = "${@base_contains('GST_VERSION', '1.0', ' \
+	gstreamer1.0-plugins-bad-dashdemux \
 	gstreamer1.0-plugins-bad-mms \
 	gstreamer1.0-plugins-bad-mpegpsdemux \
 	gstreamer1.0-plugins-bad-mpegtsdemux \
 	gstreamer1.0-plugins-bad-rtmp \
+	gstreamer1.0-plugins-bad-smoothstreaming \
 	gstreamer1.0-plugins-bad-faad \
 	gstreamer1.0-plugins-bad-fragmented \
 	gstreamer1.0-plugins-bad-videoparsersbad \


Re: GStreamer 1.0 #1094 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 23 April 2015 - 08:24

mx3L Thanks alot, I'm going to try this tonight and report back!

If it works then I guess it should be enabled globally.

That was the whole point of gstreamer 1.x and besides mpeg-dash is the future.

 

I did some googling around and the old dm800 doesn't do wmv or wma, also it's not powerful enough to decode dts due to a missing fpu.

So for this ancient box I'm going to rebuild with: DVBMEDIASINK_CONFIG = "--with-dreambox --with-pcm --with-eac3"

 

christophecvr, thanks, I'll await your patch.



Re: GStreamer 1.0 #1095 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 23 April 2015 - 08:32

There is no pcm and eac3 for dm800... Just use --with-dreambox.

 206 static GstStaticPadTemplate sink_factory_broadcom =
 207 GST_STATIC_PAD_TEMPLATE (
 208         "sink",
 209         GST_PAD_SINK,
 210         GST_PAD_ALWAYS,
 211         GST_STATIC_CAPS ("audio/mpeg; "
 212                 "audio/x-ac3; "
 213                 "audio/x-private1-ac3")
 214 );

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 #1096 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 23 April 2015 - 08:44

oh yes I see,

eac3  = dolby digital plus which is only featured in the latest dm800se/dm8000 drivers.

But shouldn't the dm800 be able to play pcm (wav) audio? It's uncompressed right, so shouldn't it be able to handle this in software?


Edited by MastaG, 23 April 2015 - 08:45.


Re: GStreamer 1.0 #1097 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 April 2015 - 08:45

@athoik,

 

does the dm800se has an fpu ?



Re: GStreamer 1.0 #1098 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 April 2015 - 08:51

oh yes I see,

eac3  = dolby digital plus which is only featured in the latest dm800se/dm8000 drivers.

But shouldn't the dm800 be able to play pcm (wav) audio? It's uncompressed right, so shouldn't it be able to handle this in software?

It needs a bypass to play raw audio . Apparently the old dm800 does not have one. Unless it was just a driver issue which they adapted in the mean time.



Re: GStreamer 1.0 #1099 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 23 April 2015 - 08:54

I see, thanks for clearing it up christophecvr.

Yes the dm800se has a fpu.



Re: GStreamer 1.0 #1100 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 April 2015 - 11:43

Here the patch against latest gst-1 to build for dm8000 and dm800se.

 

We can build almost like it is. Just the two plugings from mx3L are added to enigma2.

Also to build whitout doing any change to the currently inserted gstreamer-1.0 and plugins. A patch for qemu-2.2 is required . (it only does concern native build.)

 

Then I did not include the ac3+ enigma2 patch required for dreambox dm8000 and dm800se to play ac3+ audio.

 

But You better set them in You're local reciepes with a enigma2.bbappend .

 

example what You can sett in You're local recipes added here. I also added the hdmi reverse patch to stop the freeze on image when zapping in local recipe.

 

 

 

 

Attached Files





4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users