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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 00:47

Yes there is already sound . But at start silence and the You have a bit to play with stream on of on off a bit patience and it works . But if You pause it all restarts.



Re: GStreamer 1.0 #862 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 March 2015 - 07:59

Subject: [PATCH] Fix configure.ac AC_INIT

Better to fix directly sources instead of fixing them in with do_configure_prepend on recipes

diff --git a/configure.ac b/configure.ac
index 2ee6c6a..56acf57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([gst-plugin-dvbmediasink],[0.10])
+AC_INIT(gst-plugin-dvbmediasink, 1.0.0, @pli4)
 
 dnl versions of gstreamer and plugins-base
 AC_ARG_WITH(gstversion,
-- 
@OpenPLi, please apply in gst-plugin-dvbmediasink branch gst-1.0

Subject: [PATCH] dvbmediasink: cleanup recipe and remove bbappend

dvbmediasink doesn't need RDEPENDS into libav, it will fill available flash on some boxes (eg dm500hd/dm800se).
When MACHINE requires libav should be added into MACHINE_ESSENTIAL_EXTRA_RDEPENDS.

Also don't use do_configure_prepend to fix configure.ac fix them on sources.

Finally remove dvbmediasink bbappend, not required since we have bb on our repo.
@OpenPLi, please apply in OpenPLi OE branch gst-1 (and if possible latest merge updates from master branch too).

Thanks!

Attached Files


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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 09:04

The caps event is added to gstreamer1.0-plugin-multibox-dvbmediasink.

 

https://github.com/c.../commits/master

 

It is well a little unstable. Takes about between 10 to 25 seconds before audio plays.

 

Looking if that can be improved.

 

What I changed into gstdownmix.c

#else
		case GST_EVENT_CAPS:
			if (dts->srcpad)
			{
				GstCaps *caps;
				gst_event_parse_caps (event, &caps);
				ret = gst_dtsdownmix_setcaps(dts->srcpad, caps);
			}
			break;
		case GST_EVENT_SEGMENT:
			gst_event_copy_segment(event, &dts->segment);
			dts->sent_segment = TRUE;
			if (dts->srcpad)
			{
				ret = gst_pad_push_event(dts->srcpad, event);
			}
			break;
#endif

What best is also to add (+) 200 ms delay on pcm. Then image looks pretty synchronized with sound.



Re: GStreamer 1.0 #864 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 March 2015 - 09:26

 

Do I feel a tiny bit of cynism here? ;)


I thought that audio/x-raw is synonym for PCM.

(Or it was the dirty "If Dreambox"?)

I had no pruprose to be cynic. Sorry If that makes you feel like that.

No worries, it only made me laugh ;)


* 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 #865 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 March 2015 - 09:26

I did the upgrade, mkv files for example do not start now (duo2).

And how after a reboot?


* 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 #866 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 March 2015 - 09:30

Subject: [PATCH] Fix configure.ac AC_INIT

Better to fix directly sources instead of fixing them in with do_configure_prepend on recipes

diff --git a/configure.ac b/configure.ac
index 2ee6c6a..56acf57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([gst-plugin-dvbmediasink],[0.10])
+AC_INIT(gst-plugin-dvbmediasink, 1.0.0, @pli4)
 
 dnl versions of gstreamer and plugins-base
 AC_ARG_WITH(gstversion,
-- 
@OpenPLi, please apply in gst-plugin-dvbmediasink branch gst-1.0

Subject: [PATCH] dvbmediasink: cleanup recipe and remove bbappend

dvbmediasink doesn't need RDEPENDS into libav, it will fill available flash on some boxes (eg dm500hd/dm800se).
When MACHINE requires libav should be added into MACHINE_ESSENTIAL_EXTRA_RDEPENDS.

Also don't use do_configure_prepend to fix configure.ac fix them on sources.

Finally remove dvbmediasink bbappend, not required since we have bb on our repo.
@OpenPLi, please apply in OpenPLi OE branch gst-1 (and if possible latest merge updates from master branch too).

Thanks!

Before I do, is it safe to merge the vu+ sink transition from master to gst-1?


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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 09:47

@athoik,

 

It is merged .

 

The users will have to remove the

do_configure_prepend() {
        sed -i 's/AC_INIT.*$/AC_INIT(gst-plugin-dvbmediasink, 1.0.0, @pli4)/' ${S}/configure.ac
        sed -i 's/AM_INIT_AUTOMAKE.*$/AM_INIT_AUTOMAKE([foreign])/' ${S}/configure.ac
}

out off file  :  openpli-oe-core/meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-multibox-dvbmediasink.bb



Re: GStreamer 1.0 #868 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 March 2015 - 12:03

test you multibox git with dm7080 dts downmix no audio wait 60 sec nothing was change no audio



Re: GStreamer 1.0 #869 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 12:11

test you multibox git with dm7080 dts downmix no audio wait 60 sec nothing was change no audio

dm8000 well.

 

Note it is well required to reboot the box.

 

Check in audio the synchro and selected stream. And that downmix is on.



Re: GStreamer 1.0 #870 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 March 2015 - 12:16

ok i build dm8000 and check this too with my 8000 box



Re: GStreamer 1.0 #871 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 March 2015 - 12:20

The gst_dtsdownmix_setcaps is not returning an error? Cause there is no declaration of this function!

Unless somehow generic gst_pad_set_caps it is used.
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 #872 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 March 2015 - 12:46

info hbbtv not working with gst 1.4.5 for all boxes  need new version i think many user ask then pli use gst 1.45 as default



Re: GStreamer 1.0 #873 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 13:05

The gst_dtsdownmix_setcaps is not returning an error? Cause there is no declaration of this function!

Unless somehow generic gst_pad_set_caps it is used.

Now , and I was a bit surprised for that also.

 

p.s. small break now github is down.

 

But that I well first gona try out, is it's maybe the cause that it starts so difficult. Curious that an error was not issued. Even not a warning


Edited by christophecvr, 21 March 2015 - 13:07.


Re: GStreamer 1.0 #874 babsy98

  • Senior Member
  • 166 posts

+18
Neutral

Posted 21 March 2015 - 13:35

dm8000 dts downmix all silent with last changes



Re: GStreamer 1.0 #875 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 13:37

dm8000 dts downmix all silent with last changes

sorry dm8000 works here, but yes a bit unstable. Check if all is set correct, by you.



Re: GStreamer 1.0 #876 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 13:43

But well still working on this unstable situation.



Re: GStreamer 1.0 #877 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 22:39

Wel just found some curious findings.  Here some extract enigma2 log playing mkv.

(gst-plugin-scanner:650): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstdtsdownmix.so': /usr/lib/gstreamer-1.0/libgstdtsdownmix.so: undefined symbol: gst_dtsdownmix_set_caps
// nice to known.

Then playing :

playing 4097:0:0:0:0:0:0:0:0:0:/media/VIDAUD/Robocop-1080p.mkv
<   255.774390> [eDVBCAService] free slot 0 demux 0 for service 1:0:1:10E0:418:1:C00000:0:0:0:
<   255.774672> [eDVBCAService] free service 1:0:1:10E0:418:1:C00000:0:0:0:
<   255.813461> decoder state: play, vpid=-1, apid=-1
<   255.813669> DEMUX_STOP - pcr - <   255.813781> ok
<   255.814341> DEMUX_STOP - video - <   255.815482> ok
<   255.815628> VIDEO_STOP - <   255.815705> ok
<   255.816460> AUDIO_STOP - <   255.835268> ok
<   255.835464> DEMUX_STOP - audio - <   255.835662> ok
<   255.835733> AUDIO_CONTINUE - <   255.835787> ok
<   255.836581> DEMUX_STOP - ttx - <   255.836764> ok
<   255.851396> start release channel timer
<   255.852264> eServiceMP3::construct!
<   255.852730> eServiceMP3::playbin uri=file:///media/VIDAUD/Robocop-1080p.mkv
<   255.897059> eServiceMP3::starting pipeline
<   255.970490> getBouquet failed.. no path given!
resolved to PLAY
<   255.997242> gst_element_query_position failed in getPlayPosition
new service started! trying to download cuts!
download failed, no cuesheet interface
RemovePopup, id = ZapError
<   256.029253> gst_element_query_position failed in getPlayPosition
<   256.036756> gst_element_query_position failed in getPlayPosition
<   256.039491> gst_element_query_position failed in getPlayPosition
<   256.046526> gst_element_query_position failed in getPlayPosition
<   256.049126> gst_element_query_position failed in getPlayPosition
<   256.119530> gst_element_query_position failed in getPlayPosition
<   256.181279> gst_element_query_position failed in getPlayPosition
<   256.198343> gst_element_query_position failed in getPlayPosition
<   256.200075> gst_element_query_position failed in getPlayPosition
<   256.218689> gst_element_query_position failed in getPlayPosition
<   256.221185> gst_element_query_position failed in getPlayPosition
<   256.247651> gst_element_query_position failed in getPlayPosition
<   256.249675> gst_element_query_position failed in getPlayPosition
<   256.252560> gst_element_query_position failed in getPlayPosition
<   256.254272> gst_element_query_position failed in getPlayPosition
<   256.259087> gst_element_query_position failed in getPlayPosition
<   256.261816> gst_element_query_position failed in getPlayPosition
<   256.287210> eServiceMP3::state transition NULL -> READY
<   256.723638> gst_element_query_position failed in getPlayPosition
<   256.946542> gst_element_query_position failed in getPlayPosition
<   256.958867> gst_element_query_position failed in getPlayPosition
<   256.967951> gst_element_query_position failed in getPlayPosition
<   256.970549> gst_element_query_position failed in getPlayPosition
<   256.979257> gst_element_query_position failed in getPlayPosition
<   256.982927> gst_element_query_position failed in getPlayPosition
<   256.992351> gst_element_query_position failed in getPlayPosition
<   257.225793> gst_element_query_position failed in getPlayPosition
<   257.229706> gst_element_query_position failed in getPlayPosition
<   257.256319> gst_element_query_position failed in getPlayPosition
<   257.260839> gst_element_query_position failed in getPlayPosition
<   257.263249> gst_element_query_position failed in getPlayPosition
<   257.265032> gst_element_query_position failed in getPlayPosition
<   257.268213> gst_element_query_position failed in getPlayPosition
<   257.270913> gst_element_query_position failed in getPlayPosition
<   257.732482> eServiceMP3::state transition READY -> PAUSED
<   257.747302> eServiceMP3::subsink properties set!
<   257.763271> eServiceMP3::async-done - 1 video, 2 audio, 1 subtitle
<   257.763745> AUDIO STRUCT=audio/x-raw
<   257.784369> [EPGC] abort non avail schedule other reading
<   257.784878> [EPGC] abort non avail netmed schedule reading
<   257.785199> [EPGC] abort non avail netmed schedule other reading
<   257.785373> [EPGC] abort non avail FreeSat schedule_other reading
<   257.785743> [EPGC] abort non avail viasat reading
<   257.786200> eServiceMP3::audio stream=0 codec=DTS language=en
<   257.786493> AUDIO STRUCT=audio/x-raw
<   257.786873> eServiceMP3::audio stream=1 codec=DTS language=de
<   257.787269> eServiceMP3::subtitle stream=0 language=de codec=(null)
<   257.787584> getSubtitleType::subtitle probe caps type=text/x-raw
<   257.916334> eServiceMP3::switched to subtitle stream 0
<   258.108469> [DVBCAHandler] no more services
<   258.129449> [eDVBLocalTimerHandler] diff is 0
<   258.129679> [eDVBLocalTimerHandler] diff < 120 .. use Transponder Time
<   258.129755> [eDVBLocalTimerHandler] not changed
<   258.131120> eServiceMP3::state transition PAUSED -> PLAYING
<   258.702295> [EPGC] <   258.702550> nownext<   258.702625>  finished(1426972890)
<   258.851812> release cached channel (timer timeout)
<   258.852106> [eDVBLocalTimerHandler] remove channel 0x1cf00d8
<   258.852335> [eEPGCache] remove channel 0x1cf00d8
<   258.853208> [EPGC] abort caching events !!
<   258.856855> stop release channel timer
<   261.860661> close frontend 0
action ->  MoviePlayerActions leavePlayer
<   292.402492> eServiceMP3::stop /media/VIDAUD/Robocop-1080p.mkv
service end!
resolved to PLAY

I did had sound trough x-raw.  dtsdec not installed (cause that does not work)

 

Sound comes after +- 30 seconds. and ok.

 

Somehow it is decoded trough enigma .



Re: GStreamer 1.0 #878 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 March 2015 - 22:45

libav is installed? It has dts downmix also.
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 #879 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 22:53

yes libav is installed.



Re: GStreamer 1.0 #880 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 21 March 2015 - 22:55

But whitout the --with-dtsdownmix nothing really curious.





28 user(s) are reading this topic

0 members, 26 guests, 0 anonymous users


    Bing (2)