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 #1341 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 9 June 2015 - 16:13

Alien2, starts and then freezes very quickly. Completely.

 

PBNIGMA v. 5 RC5, based on OE-A, Gstreamer 1.45.

 

Just updated yours to 61: FilmOn (with UK proxies [SmartDNS]) > UK Live TV > BBC One > low > sound is very late to start and before it does appear > all frozen... maybe 10 - 15 secs and all is dead...

 

Stop button > spinner forever, only the button at the back helps...

 

XP1000 works for longer but eventually...

 

I have 30MB fiber, no problem there.

 

What do you use?

 

Thanx!


<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 #1342 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 9 June 2015 - 19:09

External player used by the IPTVPlayer is working only with gstreamer 0.10 or with ffmpeg. So, you do not use external player but system player.
These stability problems are well known with system player which you use. However, if you have storage device connected to your STB (hdd/pendrive) you can use system player in buffering mode. This should improve stability.
 
To do this, press blue button (More) and then set active player with buffering mode...
 
But this is not the topic of IPTVPlayer. So, we should stop spam here :)

Edited by samsamsam, 9 June 2015 - 19:12.


Re: GStreamer 1.0 #1343 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 9 June 2015 - 21:05

Will try.

 

It is the topic: we thought it can not work with new Gstreamer, so thanx for clearing it up...

 

Next question: when will you move to 1.xx, please?

 

Cheers! :)


<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 #1344 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 10 June 2015 - 00:51

Btw - I don't know which box + image you have but I better let you know, just in case - PBNIGMA now uses Media Player 2 (MP is now kicked out)...

 

During the setup lots of stuff is downloaded (wget etc.), since IPTV Player can not find what it is looking for...

 

Thanx!


<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 #1345 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 10 June 2015 - 01:12

Media Player 2 or MP are only some pythons plugins which use the same "core player" from E2 its code is written in C++:
 
So, therefore there is no big difference between them when we speak about playback.
 
 
gstreamer 1.X is not stable, so I think it is not the right time ;)
 
 
But if you have STB based on SH4 you should think about player based on ffmpeg.  
If IPTVPlayer see ffmpeg in your box it will instal external player based on ffmpeg.
 
It is working very well on my STB.
 
Best regards,
SSS
 


Re: GStreamer 1.0 #1346 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 10 June 2015 - 01:20

I am using Hyperion image from the PKT team.



Re: GStreamer 1.0 #1347 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 10 June 2015 - 01:56

I tried to do as you instructed me:

 

0) In Setup I set 6MB for video buffering and 512KB for audio buffering

 

1) Internal with buffering = no sound > pressed F1 on RCU to try to choose audio channel > BSOD (autorestart Enigma), please see the crashlog (in your PM) attached...

 

2) Standard with buffering  = no sound, when the buffer is gone, I presume > spinner forever (LED gives '777111') > stuck, so button at the back has to be used...

 

Thanx again, I think at this point you are right - no more writing in this thread... :) You have PM...

 

Cheers and keep up the good work! :)


<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 #1348 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 08:29

Ter info vu+ series will not build with the latest 1.5.1 gst-1 git.

Reason missing patch required to build videoconverter. This lib is required to build with gstreamer1.0-libav.

gstreamer1.0-libav is required for vu+ series.

 

Included gst-1 git patch.

 

 

 

Attached Files



Re: GStreamer 1.0 #1349 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 June 2015 - 13:30

Hi,

 

 

 

Ter info vu+ series will not build with the latest 1.5.1 gst-1 git.

Reason missing patch required to build videoconverter. This lib is required to build with gstreamer1.0-libav.

gstreamer1.0-libav is required for vu+ series.

 

Included gst-1 git patch.

 

According to GStreamer devs the patch is not required and most probably something is wrong with your build environment.

 

This patch is not in because it was reverted ... http://cgit.freedesk...9c110aa8b213110


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 #1350 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 13:49

The problem why gstreamer1.0 (or here even gstreamer whatever version) is loosing sync point. After an enigma2 action is done which requires a new seek and flush followed by a new segment segment. Is because enigma2 sends the wrong segment.

 

As example the case where dtsdownmix is required because the stb can't decode self the dts stream. Whatever plugin You use here:

 

1) That from the pli mediasink (which is only ok for very old dts for the modern dts it's something You can't call sound it's more noise).

2) The one I made based on the gst one

3) Or even just the one from gst self whitout modifications.

 

Sound is aranged by dvbaudiosink to gstreamer decoding then audio raw.

 

For the start point when movie is at the begin I found the reason, just wait on enigma2 to be fully ready. Then no problem. Here enigma does not use wrong pts to send the segment. Actually enigma2 just used the begin segment off movie as does the audiosink and video sink that's it. and that's ok providing audio is not launched to early. The subtitle hack must well be disabled , since if this hack is kept actif enigma wil first start whit a seek flush and then send the wrong segment to video and audio sink.

 

Perhaps this fiddeling by sending wrong segment is needed for some ts media which do not use the servicesmp3.c . But may not be done for gstreamer. Since the audio and video are threated async. The services will only set that segment by audio stream and not video stream. This result in a complete wrong position for the audio. Whill the video uses the right segment that for audio will be wrong. It's more that the video segment is just not send while the audio is well, but based on a earlier frame. The video will just continu running where it was while the audio tries to run with an earlier pts. and ....

 

a dmesg error log such as. included the error log sended a couple off messages ago.

 

I also included a log when it's ok by start off stream.

 

In a certain way here its' a bug from enigma2 . If a different position is send (other segment) then the last one we had before a seek flush operation, It must be done for audio and video. By servicesmp3 only the audio is done not the video.

 

possible solutions.

 

1) by a enigma2 action which triggers a seek,flush new segment. pause the full pipeline and do the seek send the segments wanted and relaunch pipeline.

2) do not send a modified segment after seek event (not modifie the result off seek I mean like is done now) when using services.mp3

 

But for that I really do not now where to look for.

 

Included detailed logs.

 

The error by reselceting current audio stream.

 

Ok by start off movie.

 

 

 

 

Attached Files



Re: GStreamer 1.0 #1351 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 13:57

Hi,

 

 

 

Ter info vu+ series will not build with the latest 1.5.1 gst-1 git.

Reason missing patch required to build videoconverter. This lib is required to build with gstreamer1.0-libav.

gstreamer1.0-libav is required for vu+ series.

 

Included gst-1 git patch.

 

According to GStreamer devs the patch is not required and most probably something is wrong with your build environment.

 

This patch is not in because it was reverted ... http://cgit.freedesk...9c110aa8b213110

 

It's the gst-1 like it is (now)  the only diff is that patch.

 

I've seen there must be something wrong with outdated orc then

 

"The problem was apparently that my video-orc.h was not updated and ..." did not (orc is required for gsttreamer-libav)

 

The gues orc needs to be updated in openembedded-oe-core.



Re: GStreamer 1.0 #1352 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 14:20

Well video-orc.h is missing.



Re: GStreamer 1.0 #1353 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 June 2015 - 19:04

Well video-orc.h is missing.

 

No, it doesn't, probably you do not keep sources (video-orc.h is autogenerated during build time).

cd build
source env.source
MACHINE=dm800se bitbake gstreamer1.0-plugins-base -c compile
find -type f  -name video-orc.h
./tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video/video-orc.h
head ./tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video/video-orc.h

/* autogenerated from video-orc.orc */

#ifndef _VIDEO_ORC_H_
#define _VIDEO_ORC_H_

#include <glib.h>


fgrep _custom_video_orc_matrix8 ./tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video/video-orc.h
void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);

Edited by athoik, 10 June 2015 - 19:06.

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 #1354 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 20:46

I keep the work, But I forgot to check the build.

 

It is well present but whitout the patch no build.

 

By my its indeed in

openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video

/* autogenerated from video-orc.orc */

#ifndef _VIDEO_ORC_H_
#define _VIDEO_ORC_H_

#include <glib.h>

#ifdef __cplusplus
extern "C" {
#endif

But there is no definition off _custom_video_orc_matrix. in the video-orc.h

 

And the gstreamer is full rebuild to day with lates git gst-1

 

gues I will have to make a full build froms scratch. That will solve the issue hoppefully so that patch is not needed anymore


Edited by christophecvr, 10 June 2015 - 20:51.


Re: GStreamer 1.0 #1355 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 10 June 2015 - 20:50

I keep the work, But I forgot to check the build.

 

It is well present but whitout the patch no build.

 

By my its indeed in

openpli-oe-core/build/tmp/work/mips32el-oe-linux/gstreamer1.0-plugins-base/1.5.1-r0/build/gst-libs/gst/video

/* autogenerated from video-orc.orc */

#ifndef _VIDEO_ORC_H_
#define _VIDEO_ORC_H_

#include <glib.h>

#ifdef __cplusplus
extern "C" {
#endif

But there is no definition off _custom_video_orc_matrix. in the video-orc.h

 

And the gstreamer is full rebuild to day with lates git gst-1

 

So lets go back to my original statement...

 

According to GStreamer devs the patch is not required and most probably something is wrong with your build environment.

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 #1356 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 22:48

Noop same problem when building from scratch. Build enviroment is same as that from pli. And its the gst whitout any modification.

 

I have to set the patch since the video-or.h does not have the void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n); in it.



Re: GStreamer 1.0 #1357 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 10 June 2015 - 23:09

What I did now is just adding the :

void _custom_video_orc_matrix8 (guint8 * ORC_RESTRICT d1, const guint8 * ORC_RESTRICT s1, orc_int64 p1, orc_int64 p2, orc_int64 p3, orc_int64 p4, int n);

to the video-orc.h file manually. Then it build ok.



Re: GStreamer 1.0 #1358 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 11 June 2015 - 07:42

Maybe one of your host tools is not working very well?

I just did a "git pull" and MACHINE=dm800se bitbake openpli-enigma2-image and it worked :)

Using your multibox sync btw :D



Re: GStreamer 1.0 #1359 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 11 June 2015 - 10:47

Maybe one of your host tools is not working very well?

I just did a "git pull" and MACHINE=dm800se bitbake openpli-enigma2-image and it worked :)

Using your multibox sync btw :D

Yes could be related to ubuntu 14.04.

 

It's curious since I really work with the gst-1 whitout modification. And even did a complete clean build from scratch after fresh pull .

However nice it works ok by others I just can do a little hack by me personnally and then problems are solved also.



Re: GStreamer 1.0 #1360 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 13 June 2015 - 09:49

Well then..

I just built a new image from a clean checkout of gst-1 for the old unsupported dm800 (I've added the OE-A patches).

And I must say it works amazingly well!

I'm using christophecvr's multibox sink and installed TSMedia 9.9 and it's a small media-center now :P

TSMedia may be a bit slow in navigating trough the lists, but other than that, no issues.

 

If anyone would like to give it a spin, I can upload new images which have the dependencies for TSMedia pre-installed (since there is no feed).

 

Great work guys!





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users