Jump to content


Photo

Unable to compile gst-1.0 branch


  • Please log in to reply
249 replies to this topic

Re: Unable to compile gst-1.0 branch #81 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 31 January 2014 - 19:24

@OpenPLi,

 

 

At least 4 tasks can be applied safely..

 

1. remove orc from meta-openpli

2. apply enigma2 patch for gstreamer 1.0

3. apply dvbmediasink patch (gst branch) that fixes assertation error : http://openpli.org/f...e-2#entry360072

4. apply dvbmediasink patch (gst branch) that fixes issue with HLS : http://openpli.org/f...e-3#entry360223

5. ...others patches prepared already by community...


Edited by athoik, 31 January 2014 - 19:25.

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: Unable to compile gst-1.0 branch #82 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 1 February 2014 - 09:37

Okay, (1) is harmless and reduces the number of recipes.

I understand that 2..5 only affect code inside #if ... #endif blocks, so it can be safely applied to the master branch without (really) affecting gst-0.1 based code as we have now.

I'll apply and push these.
Real musicians never die - they just decompose

Re: Unable to compile gst-1.0 branch #83 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 February 2014 - 11:51

Thank's I've seen that the enigma2 patch is in nice :)  .

 

The other enigma2-plugins patch , For that one I first will check If it does not harm the standaard 0.1 build. But to be shure I once will do it with a build from scratch with for the rest the standard git and then test that image as well. Also it is possible that however the stuff with gstreamer 1.0 does compile well that it is not ok When the image is really going on test. And more changes will have to be done. But those changes can be done with a patch which runs after unpack, so no problem.

 

For those who want to use it just set patch in extra folder by the enigma2-plugins dir call this folder enigma2-plugins  . And add to the enigma2-plugins.bb  by SRC_URI = xxx (that from git which is there) and then file://GST10-fix-enigma2-plugins.patch

 

and by EXTRA_OECONF  --with-gstversion=1.0

 

Self I will be gone for work a couple of days now.



Re: Unable to compile gst-1.0 branch #84 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 19:43

Finally managed to get something compiled with gstreamer1.0 and flashed it to my xp1000 to see what happens!

 

seems there are things missing:

 

root@xp1000:/usr/sbin# gst-launch --gst-mm=1.0 playbin uri=http://l3c.cdn.sbsnet.nl/ra/01/20989737efa61df48441768f12413496e29945/hls/sbs6_utopia_S00E2014013102_140201013852209897-hls-main.m3u8
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
Missing element: MPEG-4 AAC decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3928): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

 

unsure how to add them.

 

root@xp1000:/usr/sbin# gst-inspect-1.0 |grep 264
typefindfunctions: video/x-h264: h264, x264, 264
rtp:  rtph264depay: RTP H264 depayloader
rtp:  rtph264pay: RTP H264 payloader

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #85 MiLo

  • PLi® Core member
  • 14,055 posts

+298
Excellent

Posted 1 February 2014 - 19:48

They (h264, aac, mpeg) should all go into the dvb sink, so the hardware can decode them. You're probably not missing things, it looks more as if things aren't being connected properly.
Real musicians never die - they just decompose

Re: Unable to compile gst-1.0 branch #86 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 1 February 2014 - 19:51

Finally managed to get something compiled with gstreamer1.0 and flashed it to my xp1000 to see what happens!

 

seems there are things missing:

 

 

root@xp1000:/usr/sbin# gst-launch --gst-mm=1.0 playbin uri=http://l3c.cdn.sbsnet.nl/ra/01/20989737efa61df48441768f12413496e29945/hls/sbs6_utopia_S00E2014013102_140201013852209897-hls-main.m3u8
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
Missing element: MPEG-4 AAC decoder
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts'.
Additional debug info:
gsturidecodebin.c(930): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3928): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

 

Did you compile after @MiLo applied patches?

 

(this patch is included? http://openpli.org/f...e-3#entry360223)


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: Unable to compile gst-1.0 branch #87 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 20:09

Not sure Athoik, I did copy both 0001-Fix-GST_IS_BUFFER-Assertion-And-Remove-Useless-Code.patch and 0001-Remove-framerate-from-caps.patch

to recipes-multimedia/gstreamer/gstreamer/

 

Perhaps I have to add something to enable those patches?! But I'm a terribly novice with git :(


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #88 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 1 February 2014 - 20:20

Can you find gstdvbmediasink.so(or similar) in /usr/lib/gstreamer1.../ ?
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #89 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 20:32

Can find libgstsubsink.so but its sitting in gstreamer-0.10 but nothing is compiled for gstreamer-1.0 think thats the culprit.


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #90 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 1 February 2014 - 20:41

Yes, that's the problem.
I think you need to adapt the bitbake file for the subsink and add the branch in the git URL
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #91 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 1 February 2014 - 20:50

By the way you need dvbmediasink for media playback. The subsink is for subtitles.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Unable to compile gst-1.0 branch #92 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 1 February 2014 - 20:55

I think in order to have gstream-1.0 compile on the master (with gstreamer-0.10) we need to readd gst-plugin-subsink.bb as  gstreamer1.0-subsink.bb and gst-plugin-dvbmediasink.bb as gstreamer1.0-dvbmediasink.bb.

 

At least the above naming is same as OE and also it won't cause conflicts with old naming!

 

What do you think?


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: Unable to compile gst-1.0 branch #93 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 20:57

Changed some things and now backing again. Can only give it a dry run (inspecting if right files are now in /usr/lin/gstreamer1.0)

My wife wants to see some program about our former Queen Beatrix. Just managed to get the box up and running in time (Pfew!) ;)


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #94 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 21:31

I think I know whats going on, this file is fetched from the web: http://sourceforge.n...dvbmediasink.bb

There is hardcoded 0.10 present.... Think other sinks same recipe is used. I'm just too inexperienced to workaround it :(

Can/should there be added an additional #ifdef ?


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #95 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 1 February 2014 - 21:53

Use the following patch. It will add gstreamer1.0-plugin-(dvbmediasink|subsunk) to master. So their 0.10 version is not affected.

 

Attached File  0001-Add-gstreamer1.0-dvbmediasink-and-subsink.patch.txt   3.35KB   17 downloads

 

I suggest @MiLo to check and commit this patch since it will bring us a (small) step closer to gstreamer1.0...


Edited by athoik, 1 February 2014 - 21:55.

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: Unable to compile gst-1.0 branch #96 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 21:58

Ok, found a way myself too, just adding branch gst-1.0 in de sink bb files.... works for all except for subsink since even in gst-1.0 its based on 0.10

 

http://sourceforge.n...ugin-subsink.bb

 

I'll try your patch now!

 

downloaded, inspected... same solution.... works for all except subsink ;)

 

If you ask me that needs to be changed by team, why base in gst-1.0 on gst 0.10 :blink:


Edited by theparasol, 1 February 2014 - 22:00.

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #97 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 1 February 2014 - 22:06

I tried to compile gstreamer1.0-plugin-subsink and it works, subsink uses gst-1.0 branch what is wrong?


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: Unable to compile gst-1.0 branch #98 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 22:08

I tried to compile gstreamer1.0-plugin-subsink and it works, subsink uses gst-1.0 branch what is wrong?

 

this file http://sourceforge.n...ugin-subsink.bb

 

Contains still the old 0.10 gstreamer code...


PV = "0.10.0"
PR = "r0"

inherit autotools pkgconfig

FILES_${PN} = "${libdir}/gstreamer-0.10/*.so*"
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la \
	${libdir}/gstreamer-0.10/*.a"
FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"


@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB


Re: Unable to compile gst-1.0 branch #99 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 1 February 2014 - 22:10

Did you use patch from #95 it is adding a new plugins gstreamer1.0-plugin-dvbmediasink and gstreamer1.0-plugin-subsink..

 

BTW,  http://sourceforge.n...ugin-subsink.bb is not used somewhere when compiling gstreamer 0.10 or gstreamer 1.0


Edited by athoik, 1 February 2014 - 22:12.

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: Unable to compile gst-1.0 branch #100 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 1 February 2014 - 22:16

Did you use patch from #95 it is adding a new plugins gstreamer1.0-plugin-dvbmediasink and gstreamer1.0-plugin-subsink..

 

BTW,  http://sourceforge.n...ugin-subsink.bb is not used somewhere when compiling gstreamer 0.10 or gstreamer 1.0

 

No didnt, and read you patch too quick. You indeed replace the whole .bb and base it on gstreamer1.0.

That should work out.I merely let the bb point to gst-1.0 and thats not enough.

 

I'm still a bit cautious applying patches, still dont know how to revert patches. Already had to reclone whole git several times and full build on my vm is awfull slow.


Edited by theparasol, 1 February 2014 - 22:17.

@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB



4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users