Jump to content


Photo

Gstreamer 1.x images for testing


  • Please log in to reply
259 replies to this topic

Re: Gstreamer 1.x images for testing #221 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 13 October 2015 - 18:19

Seems work in progress:
https://bugzilla.gno...g.cgi?id=728497

But no progress since February:

http://cgit.freedesk...-bad/log/?h=hds


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Gstreamer 1.x images for testing #222 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 13 October 2015 - 18:26

No. Here is the related ticket https://bugzilla.gno...g.cgi?id=728497

Edit. Same time with beta :)

Edited by athoik, 13 October 2015 - 18:27.

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.x images for testing #223 saintomer1866

  • Senior Member
  • 48 posts

+2
Neutral

Posted 13 October 2015 - 18:41

Many thanks for the replies guys :)

doesn't look very promising at the moment then

so will have to stick with LiveStreamer for these streams.

 

On the plus side hlsvariant seems to be working much better with 1.6.0

 

 

St.O



Re: Gstreamer 1.x images for testing #224 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 15 October 2015 - 00:15

how to apply new gst 1.6.0 to openpli4 image, @mastaG any new test image with new 1.6.0 for vusoloSE?



Re: Gstreamer 1.x images for testing #225 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 15 October 2015 - 08:55

I'm going on vacation by the end of this month.

I hope to have some new images ready before I'm leaving.

 

But it's not hard to create your own gstreamer 1.6 image.

 

Look here: http://users.telenet...npliubuntu.html

 

Just after you did: git clone https://github.com/O...pli-oe-core.git and cd openpli-oe-core

Type: git checkout gst-1

 

Then continue the guide by typing: make

 

Now before you build your image edit the configuration for your machine so it ships with the gstreamer 1.0 dvbmediasink plugin instead of the 0.10 version.

Example for VU+ receivers: meta-vuplus/conf/machine/include/vuxxo2.inc and meta-vuplus/conf/machine/include/vuxxo2.inc

 

Change:

MACHINE_EXTRA_RRECOMMENDS = " \
    vuplus-shutdown \
    gst-plugin-dvbmediasink \
    ntfs-3g \
"

 

Into:

MACHINE_EXTRA_RRECOMMENDS = " \
    vuplus-shutdown \
    gstreamer1.0-plugin-dvbmediasink \
    ntfs-3g \
"

 

Also for VU+ you need to include ffmpeg for gstreamer 1.0 wma playback.

Change:

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " \
    vuplus-dvb-modules-${MACHINE} \
    gst-ffmpeg \
"

 

Into:

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = " \
    vuplus-dvb-modules-${MACHINE} \
    gstreamer1.0-libav \
"

 

That's it, now you can continue building your image with: MACHINE=xxxxx make image

 

You'll find your images in the build/tmp/deploy/images directory.

 

Happy building :-)



Re: Gstreamer 1.x images for testing #226 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 15 October 2015 - 10:10

Thank you for instructions MastaG and construction of the new images with GStreamer.

 

Can one help me what steps I need to do if I build these patches at
want to integrate?

 

0001-Revert divx4-simple-profile-didn-t-work-with-STREAMT.patch

 

and

 

04-IPTV-recording-in-E2.patch

 

Greeting Akki



Re: Gstreamer 1.x images for testing #227 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 15 October 2015 - 10:12

If you can post the patches, I can show you how to make the bbappends.



Re: Gstreamer 1.x images for testing #228 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 15 October 2015 - 11:45

Hi MastaG

 

I would like to add these two patches into Image.

 

Thank you for your help my friend.

 

Attached Files



Re: Gstreamer 1.x images for testing #229 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 15 October 2015 - 12:02

The image creation with GStreamer 1.60 goes well, thank you at this point to @christophecvr for his OpenPli Ubuntu build howto

and you @MastaG and all those involved in this project.

 

Greeting Akki

Attached Files



Re: Gstreamer 1.x images for testing #230 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 15 October 2015 - 12:47

I believe the IPTV recording patch was already merged with enigma2 if I'm not mistaken.

For the divx4 patch do the following:

 

Create a new directory: meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink/

And place your "0001-Revert-divx4-simple-profile-didn-t-work-with-STREAMT.patch" inside this directory.

 

Now create a new file: meta-openpli/recipes-multimedia/gstreamer/gstreamer1.0-plugin-dvbmediasink.bbappend

With the following:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

SRC_URI += " \
    file://0001-Revert-divx4-simple-profile-didn-t-work-with-STREAMT.patch;patch=1 \
"

 

Run: MACHINE=xxxxx make image

And you should see that it only rebuilds the gstreamer1.0-plugin-dvbmediasink (and maybe some other packages if there were new commits since the last build).

 

Now everyone can bake their own images ;)



Re: Gstreamer 1.x images for testing #231 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 15 October 2015 - 13:03

Hi MastaG,
I can not make good You're the best thank you.

I'll try during the day with the installation of the patch.

I'm trying to install OpenVPN, unfortunately I am missing a few dependencies, I have to search for now.

 

Installing OpenVPN dev (2.3.2-r0.10) on root.OpenVPN dev: unsatisfied 
recommendation for liblzo2-devOpenVPN dev: unsatisfied recommendation for 
openssl-devOpenVPN dev: unsatisfied recommendation for 
libcrypto-devOpenVPN dev: unsatisfied recommendation for 
libssl-devOpenVPN dev: unsatisfied recommendation for libc6-devCollected 
errors: * satisfy_dependencies_for: Can not Satisfy the Following dependencies 
for Openpn dev: * OpenVPN (= 2.3.2-r0.10) * * opkg_install_cmd: Can not 
install package openvpn-dev.root @ vuduo2: / var / volatile / tmp #

Thank you again!!!!!!



Re: Gstreamer 1.x images for testing #232 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 15 October 2015 - 13:32

Did you build the feed as well?

If you do, you can upload it somewhere and rebuild your images with the following set in your site.conf:

DISTRO_FEED_URI = "http://yoruserver/fe...ME}/${MACHINE}"

 

Then you can opkg update && opkg install openvpn

 

But if you're unable to host your image you can go the lazy (and ugly) way and edit: meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb

Simply add it to IMAGE_INSTALL:

openvpn \

kernel-module-tun \

 

Then your next image will ship with openvpn and the tun kernel module.



Re: Gstreamer 1.x images for testing #233 fankoosh

  • Senior Member
  • 198 posts

+6
Neutral

Posted 15 October 2015 - 19:29

@mastaG thanx for ur help but i cannot build image coz i dont have an ubuntu linux pc & not much experience about patching , anyway i hope u can release a test image soon before u will go vacation & i apprecite ur work or any other kind guy who can build image openpli4_gst1.6.0 for vusoloSE , thanx again


Edited by fankoosh, 15 October 2015 - 19:30.


Re: Gstreamer 1.x images for testing #234 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 17 October 2015 - 00:05

Hi

 

with "git checkout gst-1" I build so the image with the current GStreamer 1.60.

 

What should I enter as a command at a downgrade of GStreamer (1.51 or 1.59)?

 

thanks for the help.

 

Greeting Akki



Re: Gstreamer 1.x images for testing #235 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 17 October 2015 - 11:26

I think you're having problems playing various streams causing black screens and/or no audio right?

I'm currently looking into this with ToySoft.

 

It seems that h264parse causes problems in gstreamer 1.6 when trying to resize the screen.

On my DM800Se the screen will turn black but audio keeps on playing.

On my Zgemma Star it completely freezes after the first few frames.

 

Try to use mx3L's workaround:

--- gstreamer1.0-plugin-dvbmediasink/gstdvbvideosink.c.orig    2015-09-21 14:14:13.477819103 +0200
+++ gstreamer1.0-plugin-dvbmediasink/gstdvbvideosink.c    2015-09-21 14:15:24.249857811 +0200
@@ -183,8 +183,7 @@
         "mpegversion = (int) { 1, 2 }, "
         VIDEO_CAPS "; "
 #ifdef HAVE_H264
-    "video/x-h264, "
-        VIDEO_CAPS "; "
+    "video/x-h264; "
 #endif
 #ifdef HAVE_H263
     "video/x-h263, "

It fixes most problems for low resolution streams for me.

 

Or better yet use christophecvr's multibox sink with the above patch applied for best results on gstreamer 1.6 for Dreambox and VU receivers.

I've included it for you here.

 

Simply unpack the attached archive into meta-openpli/recipes-multimedia/gstreamer/

Then edit your machines include file to use the multibox sink instead.

 

Example for VU: meta-vuplus/conf/machine/include/vuxxo2.inc and meta-vuplus/conf/machine/include/vuxxo.inc

Change:

MACHINE_EXTRA_RRECOMMENDS = " \
    vuplus-shutdown \
    gstreamer1.0-plugin-dvbmediasink \
    ntfs-3g \
"

Into:

MACHINE_EXTRA_RRECOMMENDS = " \
    vuplus-shutdown \
    gstreamer1.0-plugin-multibox-dvbmediasink \
    ntfs-3g \
"

Also edit the DVBMEDIASINK_CONFIG.

For Dreambox receivers you should add "--with-dreambox" and for VU add "--with-vuplus".

I've also included the AAC to AC3 decoding v2 patch for you, so you can add "--with-aactranscode" as well if you like to give it a try.

Be sure to apply the enigma2 patch as well http://forums.openpl...c3-transcoding/ .

 

Example for VU:

DVBMEDIASINK_CONFIG = "--with-vuplus --with-wmv --with-pcm --with-eac3 --with-aactranscode"

Good luck!

Attached Files


Edited by MastaG, 17 October 2015 - 11:27.


Re: Gstreamer 1.x images for testing #236 Akki

  • Senior Member
  • 204 posts

+3
Neutral

Posted 17 October 2015 - 14:19

Thank you for your help MastaG, I'm about to test another GStreamer since the start of a streaming link,

the picture for 5 seconds pixelated is anyway the picture is clear.

 

So I wanted the GStreamer downgrade to test.

 

And one last question, I have an AVI file with codec FMP4, with

GStreamer 0.10.36 I have picture and sound.

 

With GStreamer 1.51 or 1.60 only sound and no Picture.

 

 

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format profile                           : Simple@L1
Format settings, BVOP                    : Nein
Format settings, QPel                    : Nein
Format settings, GMC                     :  Keine warppoints
Format settings, Matrix                  : Default (H.263)
Codec ID                                 : FMP4
Duration                                 : 1h 25min
Bit rate                                 : 3 097 Kbps
Width                                    : 800 Pixel
Height                                   : 450 Pixel
Display aspect ratio                     : 16:9
Frame rate                               : 30,000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : progressiv
Bits/(Pixel*Frame)                       : 0.287
Stream size                              : 1,85 GiB (96%)
Writing library                          : Lavc53.61.100

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Mode extension                           : MS Stereo
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 1h 25min
Bit rate mode                            : konstant
Bit rate                                 : 128 Kbps
Channel(s)                               : 2 Kanäle
Sampling rate                            : 48,0 KHz
Stream size                              : 78,4 MiB (4%)
Alignment                                : Ausgerichtet an Interleaves
Interleave, duration                     : 24 ms (0,72 Video-Frame)

 

 

 

Could you tell me what I should enter, if I build an image,
with lower GStreamer as 1.59 or 1.51, because me this
interested and I even get to this will, thank you for your Patience.



Re: Gstreamer 1.x images for testing #237 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 17 October 2015 - 15:37

Well in case you would like to use an older version of gstreamer:

 

Here's 1.5.2 http://forums.openpl...ndpost&p=499430
Here's 1.5.1 http://forums.openpl...ndpost&p=493825

 

1.5.90 and 1.5.91 were pre-1.6 git branches.

Try to use Athoiks git recipes from here: http://forums.openpl...ndpost&p=488868

 

And modify them to checkout the branch you'd like to use.

 

A nice exercise to get to know bitbake recipes :-)



Re: Gstreamer 1.x images for testing #238 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 19 October 2015 - 05:02

I checked on the Gstreamer 1.6.0
not work XBMC Addons and kodidirect


 

Here in Playvid name A = 
Земля.-Территория-загадок--Загадка-Туринской-Плащаницы-2015Here 
in Playvid name B2 = 
Земля.-Территория-загадок--Загадка-Туринской-Плащаницы-2015< 
1829.243229> [eDVBCAService] free slot 0 demux 0 for service 
1:0:1:1400:13EC:21AC:EEEE0000:0:0:0:< 1829.247854> [eDVBCAService] 
free service 1:0:1:1400:13EC:21AC:EEEE0000:0:0:0:< 1829.391415> 
[eTSMPEGDecoder] decoder state: play, vpid=ffffffff, apid=ffffffff< 
1829.393958> [eDVBPCR0] DEMUX_STOP ok< 1829.401137> [eDVBPCR0] 
destroy< 1829.403177> [eDVBVideo0] DEMUX_STOP ok< 
1829.411566> [eDVBVideo0] VIDEO_STOP ok< 1829.415151> [eDVBVideo0] 
destroy< 1829.417257> [eDVBAudio0] AUDIO_STOP ok< 
1829.433473> [eDVBAudio0] DEMUX_STOP ok< 1829.436193> [eDVBAudio0] 
AUDIO_CONTINUE ok< 1829.438680> [eDVBAudio0] destroy< 
1829.462209> [eDVBResourceManager] start release channel timerplaying 
4097:0:0:0:0:0:0:0:0:0:http%3a//www.videokub.me/get_file/2/48a49e0dc9e5e92a5749ef1b7c96c2af/102000/102881/102881.mp4:Земля.-Территория-загадок--Загадка-Туринской-Плащаницы-2015< 
1829.474422> [eServiceMP3] construct!getResolvedKey 
config.mediaplayer.extraHeaders failed !! (Typo??)< 1829.485497> 
[eServiceMP3] playbin 
uri=http://www.videokub.me/get_file/2/48a49e0dc9e5e92a5749ef1b7c96c2af/102000/102881/102881.mp4< 
1829.500465> [eServiceMP3] starting pipeline< 1830.141640> PC: 
2b76470c< 1830.143169> 00000000 00000001 00000000 2aadf580< 
1830.145114> 00000689 00000689 00000006 00000000< 1830.146593> 
f0000000 00000000 00000000 fffffff8< 1830.148097> 70797263 6e6f6974 
6f676c41 7f9bd278< 1830.150428> 2aadf580 2b8a4000 2b8a4000 
7f9bd3b0< 1830.152245> 2fb44000 01a9c380 00000010 2aab8000< 
1830.153732> 00000000 2b7646a0 00000000 00000000< 1830.155304> 
2b8b0e20 7f9bd300 7f9bd638 2b7693f4< 1830.156763> -------FATAL SIGNAL

Edited by maigais, 19 October 2015 - 05:03.

BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Gstreamer 1.x images for testing #239 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 19 October 2015 - 06:15

@maigais

Do you use openpli image? I tested link on et4x00 from bouquets, ~2 weeks old openpli(+unpause patches), openpli-dvbmediasink, gstreamer-1.6.0 and it works.



Re: Gstreamer 1.x images for testing #240 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 19 October 2015 - 12:21


I tested this

http://www.dreamoem....84d-by-gjstroom

BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod



6 user(s) are reading this topic

0 members, 6 guests, 0 anonymous users