Work fine (DM800HD SE )...problem for livestreamer is version rtmpdump....
Edited by sportfootbol, 21 November 2015 - 11:37.
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?
Posted 21 November 2015 - 15:13
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); }
Posted 21 November 2015 - 15:47
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.
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.
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.
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.
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 .
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.
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.
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.
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.
You surely must be joking!
* 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.
0 members, 7 guests, 0 anonymous users