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 #1541 WanWizard

  • PLi® Core member
  • 70,552 posts

+1,813
Excellent

Posted 22 July 2015 - 21:54

That repo has been moved to Github too (https://github.com/openpli/openpli-1).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: GStreamer 1.0 #1542 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 23 July 2015 - 10:42

Is it possible to sync gst-1 with master?



Re: GStreamer 1.0 #1543 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 23 July 2015 - 12:28

Nevermind, I've switched gst-1 from https://github.com/O...openpli-oe-core

However, github is giving me a hard time as well..

 

ERROR: ExpansionError during parsing /home/mastag/src/openpli-oe-core/meta-openpli/recipes-openpli/e2openplugins/enigma2-plugin-systemplugins-satscan.bb: Failure expanding variable S: ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.131]: errno=Connection timed out
 

I get the timeout randomly on many recipes ...



Re: GStreamer 1.0 #1544 Beeker

  • PLi® Contributor
  • 1,604 posts

+203
Excellent

Posted 23 July 2015 - 16:37

Change line 7 in openpli-oe-core/.git/config in:   url = git://github.com/OpenPLi/openpli-oe-core.

[remote "origin"]
	url = git://github.com/OpenPLi/openpli-oe-core
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "gst-1"]

And run make update..If everthing succeed..than you are switched over to github.

 

For me it's working well.


Edited by Beeker, 23 July 2015 - 16:40.

Dreambox dm920, Uclan Ustym4Kpro, Gigablue UHD TRIO 4K and Dreambox dm8000. Wavefrontier T55 13.0|19.2|23.5|28.2 + Ziggo.


Re: GStreamer 1.0 #1545 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 24 July 2015 - 16:52

BTW I've synced gst-1 not so long ago, I guess a week.


* 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 #1546 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 July 2015 - 13:12

Last update gst-1.

 

My last 3 commits are now send to github.com/openpli/enigma2  as pull request.

 

The first , The gst-1 playbin must start in paused only when all settings are know play state may be set.

The second code improvement into load and save cuesheet by servicemp3 as discussed with mirakels.

The third the small issue with could appear by extrenal srt files solved. For gst-1 subtitles will run synced.

 

Where to find this commits in :

 

https://github.com/O.../enigma2/pull/5



Re: GStreamer 1.0 #1547 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 July 2015 - 19:40

I my opinion the best thing which all E2 developers can do is to drop gstreamer as base for media player and switch to solution based on ffmpeg.



Re: GStreamer 1.0 #1548 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 25 July 2015 - 20:26

what do you suggest?


on the Glassfibre 1GB DVB-C...


Re: GStreamer 1.0 #1549 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 July 2015 - 21:04

I sugest to continue developing solution based on libeplayer3 initially prepared for SH4 but only some formaters need to be rewritten to MIPSEL.

 

The only platform with BRC MIPS I've ever had was DM800SE I writte h264 and AAC formater and compile ffmpeg and eplayer3 for it and it's works. 

 

For example, the folowing stream:

http://www.quirksmod..._buck_bunny.mp4

 

played with gstreamer take 80MB of RAM memory where 

with libeplayer3 the same stream take only 30MB.

 

Yes, I know that a new STB models have 1/2/3/4GB of RAM, but this is not only a reason.

 

Why ffmpeg? Because:

http://www.quora.com...r-GStreamer-Why

 

ffmpeg is also base for KODI (XBMC) player and works very well as probably we all know. 


Edited by samsamsam, 25 July 2015 - 21:06.


Re: GStreamer 1.0 #1550 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 July 2015 - 21:30

@samsamsam what is the current integration status of ffmpeg with enigma2?

We need different service (eg serviceffmpeg)?

Can you record streams?

Can you use PiP?

Can you use EPG?

Can you perform slow motion, fast fw, seek etc.

Sorry if I am asking lot of questions.

It would be nice to have a new thread, for ffmpeg - libeplayer3 and enigma2, in order not to hijack current thread.

Thanks,
Athoik
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 #1551 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 25 July 2015 - 21:38

I'm afraid that SamSamSam has a good point.... but the history of Enigma2 is gstreamer...

 

At this moment a lot of energy is invest in gstreamer >1.0...I really do now what the best to put the energy in....?!?!? At least putting energy in ffmpeg for enigma2 asked to delelop some part(s) from scratch....


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


Re: GStreamer 1.0 #1552 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 25 July 2015 - 21:49

ffmpeg

 

can You use chapter, can you use hld streems ?



Re: GStreamer 1.0 #1553 littlesat

  • PLi® Core member
  • 57,187 posts

+699
Excellent

Posted 25 July 2015 - 21:56

;)


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


Re: GStreamer 1.0 #1554 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 July 2015 - 22:23

Dear users STABILITY this should be a base.

 

There are slowmotion and fast foward and seek working.

But, do you realy think that some one use slow motion? For what? 

The only functionality that should be added to player is free jump.

 

This can be handled very simple by adding marker to the progress bar, back arrow will move left side, right arrow on right site. After timeout the seek is make to marker position.

free_jump.png

 

 

Downloading?
If the stream can be played with ffmpeg the download can be handled by running ffmpeg as separate process.
In my opinion this is even better solution than run as part of E2.
 
At now no one is working on the player based on ffmpeg, but when it was part of the E2 on SH4 it was integrated with servicemp3.cpp.
 
What could be make based on ffmpeg you can check for example by running KODI player...
 
Besides, even gstreamer use some plugins based on ffmpeg (gstreamer version 0.10) and libav (fork of the ffmpeg)  (gstreamer version 1.X).
 
In my opinion gstreamer as player for STB is too big gun.
For examle the synchronization is big problem with E2 whay? 
Because one synchronization is performed by gstreamer and the second by drivers.
What for? Any one know?

Edited by samsamsam, 25 July 2015 - 22:25.


Re: GStreamer 1.0 #1555 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 July 2015 - 22:39

What media framework is used by the Chrome browser?

Yes. This is ffmpeg.

 

Part of project using ffmpeg:

https://trac.ffmpeg.org/wiki/Projects

 

Oh gstreamer use ffmpeg hehe

But ffmpeg not use gstreamer.



Re: GStreamer 1.0 #1556 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 July 2015 - 22:43

ffmpeg

 

can You use chapter, can you use hld streems ?

 

HLD streams? Maybe you mean HLS?

Yes HLS can be played with ffmpeg. 

Chapter? 



Re: GStreamer 1.0 #1557 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 26 July 2015 - 06:42

@samsamsam

As far as I know we are not using synchronization against clock, since in dvbmediasink it's turned off, so synchronization is done only by drivers.

 

How is gstreamer1.0 behaving unstable for you?

 

I was using eplayer3 on ipbox55hd, but it was some time ago. Negative thing I remember was that sometimes there were spinners on loading streams or seeking in them. It looked like that these operations were running within main thread, so gstreamer experience looked smoother, otherwise there weren't problems.

 

Can you provide link to latest eplayer3 and servicemp3 for eplayer3 sources?

 

Thanks



Re: GStreamer 1.0 #1558 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 26 July 2015 - 08:02

ffmpeg (libav) operates at another level than gstreamer. I will need "some" extra code in enigma. On the other hand, I do agree it will probably be more stable.


Edited by Erik Slagter, 26 July 2015 - 10:36.

* 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 #1559 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 09:10

Gstreamer 1.5.1 is much more stable then the old 0.10. The only point is to have the own application like in enigma2 the servicemp3 correct and adapted.

 

We can for example do seeks now whitout sandkeeper by mkv.

 

For mkv containers using only internal audio codecs(i mean codecs from stb) 

example a containers with ac3 audio. Fast forward perfect ok up to x32 no problem on vuduo2.

 

When using audio such as dts on vuduo2 perfect ok fast forward but max x4 now.

 

fast rewind back does not work...... yet.

 

Why the yet ? Well the current way off work with : GST_SEEK_FLAG_SKIP

Will be deprecated. However the change is since gst 1.6 that's what they say in gstreamer manual.

The we will be able to use seekflags.

GST_SEEK_FLAG_TRICKMODE | GST_SEEK_FLAG_TRICKMODE_NO_AUDIO

 

This should make it possible to do fast forward with up to x32 for all audio. And maybe even fast rewind will work then.

 

extract gstreamer manual:

 

http://gstreamer.fre...ml#GstSeekFlags


Edited by christophecvr, 26 July 2015 - 09:11.


Re: GStreamer 1.0 #1560 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 26 July 2015 - 09:14

Oh yes we well will keep the flush flag GST_SEEK_FLAG_FLUSH also.

 

That's the one whit which we can making it all work with the dvb drivers.





17 user(s) are reading this topic

0 members, 17 guests, 0 anonymous users