Jump to content


Photo

OpenPLi-4 Gstreamer 1.6.x (master git) images


  • Please log in to reply
159 replies to this topic

Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #21 sportfootbol

  • Senior Member
  • 171 posts

+21
Neutral

Posted 21 November 2015 - 11:37

Work fine (DM800HD SE )...problem for livestreamer is version rtmpdump....


Edited by sportfootbol, 21 November 2015 - 11:37.


Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #22 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 21 November 2015 - 13:09

another problem which i sort it out coz of missing softcam-support , u will not be able to install cams coz the one from feed is miss match , so only way to install is manually


Edited by fankoosh, 21 November 2015 - 13:09.


Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #23 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 21 November 2015 - 13:32

@athoik,@MastaG

hls stream is encrypted and it's not working for me, looks like gstreamer issue. I'm also experiencing enigma2 deadlock after http timeout is reached for this stream.

I'm trying to figure it out.



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #24 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 21 November 2015 - 14:10

added some debugging messages:

diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index de57b2f..1354ecb 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -992,18 +992,24 @@ seek_unpause:
                pos = pts * 11111LL;
        }
 
+       eDebug("[eServiceMP3] trickSeek[pre] GST_STATE_PLAYING");
        gst_element_set_state(m_gst_playbin, GST_STATE_PLAYING);
+       eDebug("[eServiceMP3] trickSeek[post] GST_STATE_PLAYING");
 
        if (validposition)
        {
                if (ratio >= 0.0)
                {
+                       eDebug("[eServiceMP3] trickSeek[pre] seek, ratio >= 0.0");
                        gst_element_seek(m_gst_playbin, ratio, GST_FORMAT_TIME, (GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_SKIP), GST_SEEK_TYPE_SET, pos, GST_SEEK_TYPE_SET, -1);
+                       eDebug("[eServiceMP3] trickSeek[post] seek, ratio >= 0.0");
                }
                else
                {
                        /* note that most elements will not support negative speed */
+                       eDebug("[eServiceMP3] trickSeek[pre] seek, ratio < 0.0");
                        gst_element_seek(m_gst_playbin, ratio, GST_FORMAT_TIME, (GstSeekFlags)(GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_SKIP), GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_SET, pos);
+                       eDebug("[eServiceMP3] trickSeek[post] seek, ratio < 0.0");
                }
        }
 
@@ -1051,7 +1057,9 @@ RESULT eServiceMP3::getPlayPosition(pts_t &pts)
 
        if (audioSink || videoSink)
        {
+               eDebug("[eServiceMP3] getPlayPosition[pre], from video/audio sink");
                g_signal_emit_by_name(audioSink ? audioSink : videoSink, "get-decoder-time", &pos);
+               eDebug("[eServiceMP3] getPlayPosition[post], from video/audio sink");
                if (!GST_CLOCK_TIME_IS_VALID(pos)) return -1;
        }

Now output is like this:

< 64253.055295> [eServiceMP3] Buffering 100 percent done
< 64279.962443> [eServiceMP3] http source timeout! issuing eof...
resolved to PLAY
< 64279.970505> [eServiceMP3] trickSeek - invalid state, state:READY pending:PAUSED ret:FAILURE, doing seeking unpause
< 64279.976137> [eServiceMP3] trickSeek[pre] GST_STATE_PLAYING

So gst_element_set_state(m_gst_playbin, GST_STATE_PLAYING), is blocking.

After http source timeout, we are emitting evEOF event, which triggers InfoBarSeek.__evEOF -> InfoBarSeek.setSeekState(self.SEEK_STATE_EOF), which calls eServiceMP3::unpause -> eServiceMP3::trickSeek(1.0) -> deadlock.

 

So questions are:

1. why is gst_element_set_state blocking?

2. why are we calling unpause from InfoBarSeek after EOF?



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #25 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 November 2015 - 15:13

The following prevents the deadlock to happen.

diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index de57b2f..43c5598 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -768,6 +768,7 @@ RESULT eServiceMP3::start()
 void eServiceMP3::sourceTimeout()
 {
        eDebug("[eServiceMP3] http source timeout! issuing eof...");
+       stop();
        m_event((iPlayableService*)this, evEOF);
 }


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: OpenPLi-4 Gstreamer 1.6.x (master git) images #26 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 November 2015 - 15:47

Regarding the GStreamer AES-HLS failure I opened a ticket: https://bugzilla.gno...g.cgi?id=758454
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: OpenPLi-4 Gstreamer 1.6.x (master git) images #27 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 21 November 2015 - 15:59

Thanks @athoik, patch looks good to me.



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #28 supernova

  • Member
  • 21 posts

0
Neutral

Posted 21 November 2015 - 19:33

OpenPLi-4-et9x00_usb.zip

 

not working 



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #29 Dambedei

  • Member
  • 11 posts

+1
Neutral

Posted 21 November 2015 - 21:29

On my dm800se the media resolution won't be displayed properly in the infobar and therefore autoresolution isn't working most of the time. Sometimes resolution gets detected wrong (for example 720i50 even though its 720p50) or infobar just shows X as resolution. Media is playing fine though.



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #30 salimda

  • Senior Member
  • 30 posts

0
Neutral

Posted 21 November 2015 - 22:57

media portal cannot install few gst missing



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #31 mworker

  • Senior Member
  • 51 posts

+2
Neutral

Posted 22 November 2015 - 00:00

Hi all,

i tried this image on my receiver(et9000).After installing some additional python packages,i could run Mediaportal and IPTV Player plugin.Most addons i tried from these plugins were working fine,except m3u8 links from live tv channels.

All these channels,allthough i could see from putty that they were bufferring,the stream wouldn't start unless i first pause and then unpause it.

Same thing happened with m3u8 iptv links from channel list.

Another file type i couldn't play is a wma audio file,but i tried only one.

Image is stable,softcams are working,zapping and recording also.

Thanks for your efforts.

Attached Files



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #32 cenko

  • Senior Member
  • 91 posts

0
Neutral

Posted 23 November 2015 - 08:43

Is it possible to watch a 4K channel with solo2 and fullHD TV with this?



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #33 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 November 2015 - 11:34

No. solo2 doesn't support 4k resolution and cannot decode h265 encoded data (in hardware).


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #34 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 November 2015 - 12:13

@mworker

 

 

Another file type i couldn't play is a wma audio file,but i tried only one

 

I do not know for the et9000.

 

But for dm8000 for example we compile the dvbmediasink including the --with-wma  option cause the dm8000 has onboard codecs for wma support.

 

Unfortunately the on onbard codecs for wma are limited up to and including version 8. As soon the wma version is higher it does not work anymore.

 

A solution to that is :

 

Build dvbmediasink without the --with-wma option. reinstall the dvdmediasink on box  and install gstreamer1.0-libav.

Then all wma audio is supported.



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #35 cenko

  • Senior Member
  • 91 posts

0
Neutral

Posted 23 November 2015 - 13:42

No. solo2 doesn't support 4k resolution and cannot decode h265 encoded data (in hardware).

I was told with the new enigma2 plugin called gstreamer H.265, solo2 can downscale 4K to 1080p and we can watch a 4K channel with solo2 and fullHD TV.

 

http://gstreamer.fre...g/releases/1.6/


Edited by cenko, 23 November 2015 - 13:44.


Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #36 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 23 November 2015 - 13:52

@mworker

 

 

Another file type i couldn't play is a wma audio file,but i tried only one

 

I do not know for the et9000.

 

But for dm8000 for example we compile the dvbmediasink including the --with-wma  option cause the dm8000 has onboard codecs for wma support.

 

Unfortunately the on onbard codecs for wma are limited up to and including version 8. As soon the wma version is higher it does not work anymore.

 

A solution to that is :

 

Build dvbmediasink without the --with-wma option. reinstall the dvdmediasink on box  and install gstreamer1.0-libav.

Then all wma audio is supported.

Some extra in caps it is wma version 1 or 2 , if there is a tag You have a more detailed info about version and then it's up to 8.

 

It's the wma_pro which has in caps version 3 or higher when there is a tag it's minimum 9 or higher . Does not seem to work on dm8000 .

 

It could be that apart from the by_pass also something in the used header must be changed. And that then wma_pro will work .



Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #37 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 23 November 2015 - 15:15

Is it possible to watch a 4K channel with solo2 and fullHD TV with this?

Why do you think VU+ introduced a 4k receiver recently? ;)


* 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: OpenPLi-4 Gstreamer 1.6.x (master git) images #38 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 23 November 2015 - 15:23

 

No. solo2 doesn't support 4k resolution and cannot decode h265 encoded data (in hardware).

I was told with the new enigma2 plugin called gstreamer H.265, solo2 can downscale 4K to 1080p and we can watch a 4K channel with solo2 and fullHD TV.

 

http://gstreamer.fre...g/releases/1.6/

 

 

In theory may be. But the box is too slow to decode 4k h265 in software (the box has no h265 hardware decoder). Even fast PCs have problems with it and they are much faster than a solo2.


Edited by betacentauri, 23 November 2015 - 15:24.

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #39 luis67

  • Senior Member
  • 76 posts

0
Neutral

Posted 23 November 2015 - 15:25

On my dm800se the media resolution won't be displayed properly in the infobar and therefore autoresolution isn't working most of the time. Sometimes resolution gets detected wrong (for example 720i50 even though its 720p50) or infobar just shows X as resolution. Media is playing fine though.


Yes i am having the same problem.I am using satdreamgr gst 1.6.1 image on my dm500 hd.

Re: OpenPLi-4 Gstreamer 1.6.x (master git) images #40 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 23 November 2015 - 15:37

 

No. solo2 doesn't support 4k resolution and cannot decode h265 encoded data (in hardware).

I was told with the new enigma2 plugin called gstreamer H.265, solo2 can downscale 4K to 1080p and we can watch a 4K channel with solo2 and fullHD TV.

 

http://gstreamer.fre...g/releases/1.6/

You surely must be joking! :D


* 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.



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users