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 #121 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 3 February 2014 - 12:03

same as above but now started in verbosive mode:

 

gst-launch-1.0 -v playbin uri=http://l3c.cdn.sbsnet.nl/ra/01/20690567409d356605d1574f19295c67f1b5d6/hls/sbs6_verbouwenverkopen_S00E29_140201162318206905-hls-main.m3u8

Setting pipeline to PAUSED ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = http://l3c.cdn.sbsnet.nl/ra/01/20690567409d356605d1574f19295c67f1b5d6/hls/sbs6_verbouwenverkopen_S00E29_140201162318206905-hls-main.m3u8
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstSoupHTTPSrc\)\ source"
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstTypeFindElement:typefindelement0.GstPad:src: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind: force-caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: sink-caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:sink: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0.GstPad:src: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstHLSDemux:hlsdemux0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:sink: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstGhostPad:sink: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstHLSDemux:hlsdemux0.GstPad:sink: caps = application/x-hls
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTSDemux:tsdemux0.GstPad:sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
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
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1.GstPad:src_0: caps = audio/mpeg, mpegversion=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1.GstPad:sink_0: caps = audio/mpeg, mpegversion=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAacParse:aacparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue1: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: always-ok = false
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: active = true
/GstPlayBin:playbin0/GstInputSelector:inputselector0: active-pad = "\(GstSelectorPad\)\ sink_0"
WARNING: from element /GstPlayBin:playbin0/GstPlaySink:playsink: No volume control found
Additional debug info:
gstplaysink.c(2640): gen_audio_chain (): /GstPlayBin:playbin0/GstPlaySink:playsink:
Volume/mute is not available
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstPad:src: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:audio_sink.GstProxyPad:proxypad6: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstTeePad:src_0: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:src_0: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin.GstGhostPad:sink.GstProxyPad:proxypad9: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstQueue:aqueue.GstPad:src: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstQueue:aqueue.GstPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin.GstGhostPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstStreamSynchronizer:streamsynchronizer0.GstPad:sink_0: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstTee:audiotee.GstPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink.GstGhostPad:audio_sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad5: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0.GstGhostPad:src_0.GstProxyPad:proxypad5: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0.GstDecodePad:src_0.GstProxyPad:proxypad4: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\;"
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstDVBAudioSink:dvbaudiosink0.GstPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:src.GstProxyPad:proxypad8: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv/GstIdentity:identity.GstPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstPlaySink:playsink/GstBin:abin/GstPlaySinkAudioConvert:aconv.GstGhostPad:sink: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstQueue2:queue2-0: max-size-bytes = 22997
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)93712\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)93712\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)93712\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)97846\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)87166\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)97846\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)87166\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)101292\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)87166\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)102670\;"
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)86132\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)102670\;"
New clock: GstSystemClock
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)85443\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)102670\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)85443\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)107493\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)79586\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)107493\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)78553\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)107493\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)78553\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)109216\;"
/GstPlayBin:playbin0/GstInputSelector:inputselector0.GstSelectorPad:sink_0: tags = "taglist\,\ audio-codec\=\(string\)\"MPEG-2\\\ AAC\"\,\ minimum-bitrate\=\(uint\)78553\,\ bitrate\=\(uint\)91989\,\ maximum-bitrate\=\(uint\)113006\;"
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 0:00:10.637633957

@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 #122 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 3 February 2014 - 13:02

Try to add the following in dvbmediasink. Caps handling differs in GStreamer 1.0

 

 

#ifdef HAVE_H264
 "video/x-h264, "
  VIDEO_CAPS "; "
+ "video/x-h264, stream-format=(string)byte-stream, "
+  VIDEO_CAPS "; "
#endif

 

http://sourceforge.n...ideosink.c#l186

 

PS. If we need to support more stream-formats we can do it like this:

 

"stream-format = (string) { byte-stream, avc }, "

Edited by athoik, 3 February 2014 - 13: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: Unable to compile gst-1.0 branch #123 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 3 February 2014 - 13:37

Trying to do that, made a diff patch and added that to the gst-plugin-dvbmediasink.bb

Compiling: ok.

Only not sure this patch is applied, now searching for gstdvbvideosink.c that got compiled to inspect it manually.


@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 #124 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 3 February 2014 - 15:10

found a way to implement a patch in the bb, inspected the produced libgstdvbvideosink.so and its included!

 

But, no luck, still same result: audio ok, video not. Right now tweaking the patch.

 

Perhaps this works? At least I can give it a try ;)

 

+    "video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal"
+        VIDEO_CAPS "; "

@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 #125 theparasol

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 3 February 2014 - 16:12

Does not work either, above was not correct, should have been

 

 

+    "video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, "
+        VIDEO_CAPS "; "

 

Tried that one too... same thing.

Must be something else that is triggering this bug.


Edited by theparasol, 3 February 2014 - 16:12.

@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 #126 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 3 February 2014 - 20:15

Try to install gstreamer1.0-plugins-bad-videoparsersbad and see if error is gone.
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 #127 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 10:11

All patches,

Just a general remark,  Try to avoid adding trailing edge white spaces when you modifie the bb files and or sources. They are always issuing patch warnings and that's sometimes confusing.  In future versions it's always possible that they lead to errors, and then it will cost a lot off time to find the cause.



Re: Unable to compile gst-1.0 branch #128 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 4 February 2014 - 10:45

All patches,

Just a general remark,  Try to avoid adding trailing edge white spaces when you modifie the bb files and or sources. They are always issuing patch warnings and that's sometimes confusing.  In future versions it's always possible that they lead to errors, and then it will cost a lot off time to find the cause.

 

There is no way to prevent certain white space errors in such patches. Patches-on-patches always begin with one or more spaces, although the rest of the line can contains all kinds of whitespace including tabs.


* 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: Unable to compile gst-1.0 branch #129 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 11:44

Yes but Avoiding at start a white space trailing edge is not difficult it's just a mather of a bit discipline. After an eof when you combine patches that's indeed almost impossible.

 

Also I well have a question, As far I understand the general way off work about tabs in sources is now to set the tabs at 4 spaces. Before they used 8 spaces.

 

Into c it is not so important except that it may spoil a bit the over view off the source visually but indenting does not change the working off source.

 

Into python and other more script languages it does mather . One tab indent equals a white space indent. This means if You use and 8 spaces tab indent configured editor or 4 spaces. And then trie to solve out the visual aspect it might become pretty hazardeous.

 

What is now the best standard to use 4 or 8 ? I now since long use 4  but noticed that athoik uses 8 and then start to replace some tabs by spaces instead off tab indents.



Re: Unable to compile gst-1.0 branch #130 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 4 February 2014 - 11:59

If you solely use tab's and never spaces to indent, it really doesn't matter what tab length you configure locally. We never use spaces for indenting in python or c(++), it's prone to problems. Although there might be some legacy here and there.


Edited by Erik Slagter, 4 February 2014 - 12:00.

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

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 4 February 2014 - 12:03

I'm always using tabs, sources get even smaller too, I wonder why some use their spacebar anyway. Must be coz a space is a fixed length and tab isnt.


@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 #132 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 12:22

Yes I personnaly also always use tab for and indent . Wheater only to have a better overview off you're source in c.

 

For scripting it's more then that as it also may have a real meaning . I set the tabs to 4 in editor. And never use white spaces before.

 

By applying patch off athoik 0001-Gstreamer-10.patch  I noticed that the embedded patches (made by me) sudden did contain a lot off trailing white spaces. But also spaces instead off tab indents at some lines.

 

I checked the original by me and there those spaces trailing and as tab indent replacement are not there.

 

This leads to (they may work that well) to a bit spoiled source files.



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 12:37

O yess I now also found out that the original sources already did contain such unneeded spaces. And if you merg patch with patch indeed there is really nothing to do on it.



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 13:33

This patch requires also patch from post #95 http://openpli.org/f...e-5#entry403366 applied. @MiLo, this one can safely applied, as it doesn't break something from gstreamer 0.10.

Are you sure? It looks like this patch introduces a higher version of the subsink, and we don't set a PREFERRED_VERSION for it I believe?

 

As far I can see this patch should not hurt the standard pli4 with gst 0.1 build. As it just adds two files. Those are not used into the standard build but only iff the machine repo and enigma2.bb is modified.

 

The only think is the first lines where I put a cvr comment.

diff --git a/meta-openpli/conf/distro/include/openpli-unstable-versions.inc b/meta-openpli/conf/distro/include/openpli-unstable-versions.inc
index 872f0bb..f09b6f7 100644
--- a/meta-openpli/conf/distro/include/openpli-unstable-versions.inc
+++ b/meta-openpli/conf/distro/include/openpli-unstable-versions.inc
@@ -25,6 +25,9 @@ SRCREV_pn-gst-plugin-subsink ?= "${AUTOREV}"
 SRCREV_pn-librtmp ?= "${AUTOREV}"
 SRCREV_pn-hamsterdb ?= "${AUTOREV}"
 SRCREV_pn-enigma2-transtreamproxy-util ?= "a17d2decfb21c7fa4d80d38857aeb96c974b2411"
+SRCREV_pn-gst-plugin-dvbmediasink ?= "${AUTOREV}"   #### cvr comment this is maybe not needed but I do not think it is hurting ??
+SRCREV_pn-gstreamer1.0-plugin-dvbmediasink ?= "${AUTOREV}"
+SRCREV_pn-gstreamer1.0-plugin-subsink ?= "${AUTOREV}"
 
 HENKSAT_GITREV ?= "${AUTOREV}"
 SRCREV_pn-enigma2-plugin-settings-henksat-19e ?= "${HENKSAT_GITREV}"

If you wish I just can apply this patch to my standard gst 0.1 build which I use for vuduo2 and dm8000. and do a rebuild . If this is ok, is that enough to proof that it will brake nothing to standard PLI4 gst 0.1 build  ?



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 14:20

@athoik

 

Sorry I also tried to clean it up , unfortunately indeed the resulting patch does place white spaces. On many places, even if they where not there. Seems eighter problem of git patch maker.

 

There is nothing to do on it.



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

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 4 February 2014 - 14:57

No Problem, some times is better to ignore warnings. BWT tr command is your friend to find "whitespaces" (eg  cat xyz.bb | tr '\t' '.'  or cat xyz.bb | tr ' ' '.')

 

Regarding SRCREV_pn-gst-plugin-dvbmediasink is not needed becase it already exists few lines above (copy/pasta).

 

 

Here is the patch without the extra SRCREV_pn-gst-plugin-dvbmediasink.


Attached File  0001-Add-gstreamer1.0-dvbmediasink-and-subsink.patch.txt   3.3KB   9 downloads


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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 15:19

unfortunately indeed the only way is to ignore those warnings as trying to cleanup even with the cat and only trails does break the patch.

 

I now first will do a build on my standard 0.1 git with You're 0001-addxxxxx   patch applied and see if it breaks nothing to standard build. Report if ok,

 

Then hope that this will be pushed to standard git.

 

For the rest perhaps better to start A new base GST-1.0-PLI4 branch . Would be nice.

 

Then You Theparasol and I do have a good base build. Work's to adapt plugins can be done step by step,

 

The openpli self is also always into evolution. But maybe for next upstream dev's could consider using gsreamer1.0 instead off 0.1.  Whatever we do it's starts to be time to think about it as codecs support into 0.1 is going down day by day now (ok not day by day but it's entering a prety fast evulution now  :P ).



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

  • Senior Member
  • 4,157 posts

+198
Excellent

Posted 4 February 2014 - 16:05

Well, I started from scratch again. with ony gst1.0 in it (based on rommelpatch you send me by pm)

Seems saftware.de is down again, it blocked my build attempts so temporarily removed it from the bb receipts.

For the records: with Athoiks patch there was no gstreamer1.0 dvbmediasink present in the xp1000 build.

Can be my mistake or its common for xp1000 devices, I dont know.

I manually changed some things to let it produce a working sink and it worked out quite good, most ip streaming worked, only not for the earlier described streams of SBS6.

I was too late trying Athoik latest suggestion to try adding bad-videoparsers. I have to constant swap images for testing and viewing in the evening.

 

Learned a lot already about git, bb, adding patches, working of sinks and gstreamer so till now its a very enjoyable and learning ride ;)


@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 #139 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 16:17

Well, I started from scratch again. with ony gst1.0 in it (based on rommelpatch you send me by pm)

Seems saftware.de is down again, it blocked my build attempts so temporarily removed it from the bb receipts.

For the records: with Athoiks patch there was no gstreamer1.0 dvbmediasink present in the xp1000 build.

Can be my mistake or its common for xp1000 devices, I dont know.

I manually changed some things to let it produce a working sink and it worked out quite good, most ip streaming worked, only not for the earlier described streams of SBS6.

I was too late trying Athoik latest suggestion to try adding bad-videoparsers. I have to constant swap images for testing and viewing in the evening.

 

Learned a lot already about git, bb, adding patches, working of sinks and gstreamer so till now its a very enjoyable and learning ride ;)

If i side is down yes may happen that's why I keep sources not in openpli-oe-core but in my main dir.

 

Yes indeed the xp mediasink was not adapted with athoik or my patches.

 

To change this You needed to patch file located in meta-openpli/conf/machine/include/xp.inc

 

line 14 from :

gst-plugin-dvbmediasink \ 

 

to :

gstreamer1.0-plugin-dvbmediasink \



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

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 4 February 2014 - 16:23

@pieterg

 

I just performed the test off latest athoik

 

http://openpli.org/f...attach_id=57516

 

patch.

 

First I update standard git to latest git at 15.20 Hr local time

 

Build for vuduo2 and dm8000

 

updated the boxes.

 

Then applied that patch to git (standard pli4 like it is for gst 0.1)

 

Rebuild for vuduo2 but it just reported all ok and none file was rebuild. Think that's enough proof that that patch does not interfere with standard build and maybe pushed whitout any consequence.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users