Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12528 Members
237 Forums
7811 Topics
24004 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
Bilawal, Zweistein, didond, OLIANI, sergiu75
12528 Registered Users
Who's Online
13 registered (Admin, Toysoft, Smokey, haki, bobot, karimkaki15, goode men, Franco89, OMEGA, raffsif1234, didond, gerolamo, bori), 1565 Guests and 145 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9993
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 15
OMEGA 8
samh 3
Smokey 1
Hum@xel 1
November
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
Page 1 of 2 1 2 >
Topic Options
#8479 - 05/18/16 08:39 AM DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
DM800HD MastaG OpenPLi 4.0 better IPTV lib-upgrade - ffmpeg2+exteplayer3

Reminder : You can install ffmpeg2/exteplayer3 from the feeds, and do as explained in Dreambox_from_ext_storage.txt to extend your Flash with external stick. Probable a 128 Mb or even less is enough.

As stated by MastaG, on the DM800HD boxes, the GStreamer 1.9.0.1 is taking too much ressources for some HD streams, and he found a solution upgrading the software to a better result.

I am posting here his instructions, and I hope this can help you guys, with DM800HD to get the best of your hardware, but for it, you MUST install an external USB Memory stick as the 64 Mb are not enough. Probably an old useless stick like 128 Mb (Thanks to Marco : Seems minimum 256 Mb is required), or more, up to 4 Gb can be enough. I let you test and give us your feedback about this matter. But as you can see, the DM800HD has endless possibilities !

Enjoy,

Admin

-------------

About :
http://forums.openpli.org/topic/41198-serviceapp-gstplayer-and-exteplayer3/


For those who don't know @samsamsam created excellent IPTVPlayer plugin, he also managed to create players for this plugin which run in separate process, so it's possible to have entire control over playback. One of these players also uses ffmpeg which was not used for playback in mipsel receivers yet.

Comparison of exteplayer3 (ffmpeg) to gstplayer (gstreamer1.0):

pros:
- uses much less memory
- needs much less cpu power -> immediate seeking, AV sync after seeking
- doesn't have problem with TS streams
- doesn't have problem with secure HLS streams

cons:
- framedrops in playback of packed mpeg4-part2
- HLS streams with variant playlists are pixelated



I really like the idea of separating player from enigma2 and running it as external process. We don't have to move quite big enigma2 binary to receiver in order to test. We can test player from command line without enigma2 running and AFAIK this should also mean that there are no memory leaks created by player process after it exits.



So I've created service 'serviceapp' for enigma2 which allows us to use these players.



serviceapp:

- adds service 5001: uses gstplayer
* possibility to change sink, buffer size, buffer duration
* possibility to enable/disable embedded subtitles support
- adds service 5002: uses exteplayer3
* TODO add exteplayer3 settings
- adds possibility to replace default servicemp3 service(4097)
- adds support for custom plugins settings

Thought there are still some thing things missing when compared to servicemp3:
- external subtitles support
- tags support
- cuesheet support
- epg support
- fast forward/backward



ServiceApp enigma2 plugin:

- possibity to replace enigma2 playback system, so you can use these players not only from bouquet but for example from MoviePlayer, MediaPlayer(restart enigma2 necessary)
* switch players gstplayer/exteplayer3 at enigma2 runtime
* change gstplayer settings at enigma2 runtime
- change gstplayer(5001) settings at enigma2 runtime
* sink, buffer size, buffer duration, enable/disable subtitles


Installation:
1. unpack recipes in serviceapp.tar.gz in $openpli-oe-core/meta-local/recipes-local

Code:
tar xzf serviceapp_recipes.tgz -C $openpli-oe-core_dir/meta-local/recipes-local


2. build serviceapp service + plugin

Code:
MACHINE=machinename bitbake enigma2-plugin-extensions-serviceapp


3. build @samsamsam's gstplayer + patches of mine

Code:
MACHINE=machinename bitbake gstplayer


4. (optional) You can build also experimental sink, which you can then select in ServiceApp menu, it's basically openpli dvbmediasink + mpeg4part2 unpacking + oldgen xtrend improvements mentioned in Gstreamer-1.0 topic.

Code:
MACHINE=machinename bitbake gstreamer1.0-plugin-dvbmediasink-experimental


Note, I've added this experimental sink with no intention of replacing original one. It's there so you know how can we have more sinks and make comparisons on the fly. For example this can be useful to have one sink stable and introduce new changes in experimental one, so users can freely switch between them if they want to try experimental one and report back if there are any problems, and if there are they can switch back to stable, etc..

5. ipk's are located in
Code:
$openpli_oe_core_dir/build/tmp/deploy/mips32el and $openpli_oe_core_dir/build/tmp/deploy/machinename


6. For exteplayer3 there is no recipe yet, since source is not public. @samsamsam mentioned that once he cleans it up, he will make it public. For now you have to build or download pre-built ffmpeg and exteplayer3 binary.

Using pre-built ffmpeg by @samsamsam:

1. download pre-built ffmpeg archive

Code:
wget http://iptvplayer.pl/resources/ffmpeg2.8.5_mipsel_fpu.tar.gz


2. unpack in root directory

Code:
tar xzf ffmpeg2.8.5_mipsel_fpu.tar.gz -C /


Install exteplayer3 binary:

1. download binary to /usr/bin/exteplayer3

Code:
wget http://iptvplayer.pl/resources/bin/mipsel/exteplayer3_ffmpeg2.8 -O /usr/bin/exteplayer3


2. give extplayer3 execution permissions:

Code:
chmod +x /usr/bin/exteplayer3


Note there are also other versions for ffmpeg and exteplayer3:

Code:
ffmpeg2.8.5 - http://iptvplayer.pl/resources/ffmpeg2.8.5_mipsel_fpu.tar.gz
ffmpeg2.8.5 (openssl1.0.2) - http://iptvplayer.pl/resources/ffmpeg2.8.5_mipsel_fpu_openssl1.0.2.tar.gz
exteplayer3 for ffmpeg2.8 - http://iptvplayer.pl/resources/bin/mipsel/exteplayer3_ffmpeg2.8
exteplayer3 for ffmpeg3.0 - http://iptvplayer.pl/resources/bin/mipsel/exteplayer3_ffmpeg3.0


Source:

Code:
https://github.com/mx3L/serviceapp


Example of bouquet with serviceapp services:

Code:
#SERVICE 4097:0:0:0:0:0:0:0:0:0:http%3a//movietrailers.apple.com/movies/sony_pictures/hoteltransylvania2/hoteltransylvania2-tlr2_h480p.mov?#User-Agent=iTunes:MOV_TRAILER_USER_AGENT
#SERVICE 5001:0:0:0:0:0:0:0:0:0:http%3a//movietrailers.apple.com/movies/sony_pictures/hoteltransylvania2/hoteltransylvania2-tlr2_h480p.mov?#User-Agent=iTunes:MOV_TRAILER_USER_AGENT_GST
#SERVICE 5002:0:0:0:0:0:0:0:0:0:http%3a//movietrailers.apple.com/movies/sony_pictures/hoteltransylvania2/hoteltransylvania2-tlr2_h480p.mov?#User-Agent=iTunes:MOV_TRAILER_USER_AGENT_EXT3


Certainly there are mistakes but hopefully not many :), any input is welcome.

-------------

In a nutshell here's how it works.

In your /etc/enigma2/ directory you have your channel bouquets with the .tv and .radio extensions.

Inside these files there's this for example:

Code:
#SERVICE 4097:0:0:0:0:0:0:0:0:0:http%3a//cdn.djing.com/tv/u-05.m3u8:DJING Underground (CDN)
#DESCRIPTION DJING Underground (CDN)


By default this will play with the gstreamer dvbmediasink (which is currently broken for sh4).

If you like to play your stream with exteplayer3 instead you should change the 4097 to 5002, like this:

Code:
#SERVICE 5002:0:0:0:0:0:0:0:0:0:http%3a//cdn.djing.com/tv/u-05.m3u8:DJING Underground (CDN)
#DESCRIPTION DJING Underground (CDN)


You can also change it to play with gstplayer using 5001:

Code:
#SERVICE 5001:0:0:0:0:0:0:0:0:0:http%3a//cdn.djing.com/tv/u-05.m3u8:DJING Underground (CDN)
#DESCRIPTION DJING Underground (CDN)


Now let's say you'd like to convert your entire bouquet to play with exteplayer3, simply login to your receiver with telnet/ssh (use PuTTY for Windows).

And issue to the following commands:

First stop enigma2:

init 4

Then change your bouquet to make all streams play with exteplayer3, lets say userbouquet.favourites.tv:

Code:
cd /etc/enigma2
sed -i 's/^#SERVICE 4097/#SERVICE 5002/g' userbouquet.favourites.tv


Then restart enigma2:

Code:
init 3


That's it !

You can also make exteplayer3 the default backend for playing back everything.

Go to Menu -> Plugins -> ServiceApp and set exteplayer3 as default.

Keep in mind that with exteplayer3 or gstplayer as default backend you will not have support for external subtitles (.srt for example).

That's why I've added MediaPlayer2 and SubsSupport from mx3L.

I haven't tested it for myself yet, since I simply changed my IPTV streams with type 5002 (exteplayer3) so everything else like DreamPlex for example keeps using the dvbmediasink.

Play around and let us know your findings!

MastaG

From Feeds :
Code:
opkg update
opkg install ffmpeg exteplayer3 gstreamer1.0-libav


Attachments
Dreambox_from_ext_storage.txt (99 downloads)
serviceapp_recipes.zip (79 downloads)
ffmpeg2.8.5_mipsel_fpu.tar.zip (35 downloads)
ffmpeg2.8.5_mipsel_fpu_openssl1.0.2.tar.zip (51 downloads)
exteplayer3_ffmpeg_2.8_3.0-ELF.zip (61 downloads)

_________________________

Top
#8480 - 05/18/16 10:30 AM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Champtheone Offline
VIP Japhar
newbie

Registered: 02/04/14
Posts: 31
Hello,

I tested your Dreambox_from_ext_storage.txt
With the last version of OpenPli from May, better not use it to format the USB. (I have a 8GB usb though...)

I use this image to format my USB :
- SuperSim : NewNigma2 4.0.11 IPTV (OE2.0) - Japhar
https://mega.nz/#!wQEXDZKR!_rJCdhx7F2RrlmYbdv6Qh-1H1aGo2WxtB3ps-2ITyaw

I am still trying to install this usb...

CTO
_________________________
DM800HD with Japhar Sim NC3 for DM800HD - OpenPli 4.0
Sunray DM800HD se V2, Sim2.20 #88 - openpli-4.0-beta-dm800sev2-20150917-sim2-ssl88a.nfi

Top
#8481 - 05/18/16 10:41 AM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/21/10
Posts: 2649
Try smaller one, as 4 Gb I think is the bigger you can have, so try 1 Gb that could be the best option.

TS
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#8485 - 05/18/16 04:55 PM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Champtheone Offline
VIP Japhar
newbie

Registered: 02/04/14
Posts: 31
Hello in

Installation:
1. unpack recipes in serviceapp.tar.gz in $openpli-oe-core/meta-local/recipes-local

Code:
tar xzf serviceapp_recipes.tgz -C $openpli-oe-core_dir/meta-local/recipes-local


What is the openly-oe-core directory ?

It seems that it is not recognise.

CTO
_________________________
DM800HD with Japhar Sim NC3 for DM800HD - OpenPli 4.0
Sunray DM800HD se V2, Sim2.20 #88 - openpli-4.0-beta-dm800sev2-20150917-sim2-ssl88a.nfi

Top
#8486 - 05/18/16 05:14 PM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
This is all about how to compile it, when an image is compiled.

Are you trying to compile an image ?

Admin
_________________________

Top
#8487 - 05/18/16 09:48 PM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Champtheone Offline
VIP Japhar
newbie

Registered: 02/04/14
Posts: 31
Well, I thought it was for the box ...

Anyway works for me, some channel don't load though... with exteplayer3

CTO
_________________________
DM800HD with Japhar Sim NC3 for DM800HD - OpenPli 4.0
Sunray DM800HD se V2, Sim2.20 #88 - openpli-4.0-beta-dm800sev2-20150917-sim2-ssl88a.nfi

Top
#8492 - 05/20/16 01:02 AM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
marco Offline
VIP Japhar
stranger

Registered: 11/26/15
Posts: 1
everything OK with a 2Gb pendrive.
do NOT use a 128Mb because it's not enough: almost 170Mb needed only for install ffmpeg exteplayer3 gstreamer1.0-libav and a867 driver :o)
Code:
dm800 login: root
root@dm800:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.8G    169.6M      1.7G   9% /
tmpfs                    64.0K         0     64.0K   0% /media
/dev/sda1                 1.8G    169.6M      1.7G   9% /media/usb
tmpfs                    71.0M      5.1M     65.9M   7% /var/volatile
/dev/mtdblock2            3.8M      2.4M      1.3M  64% /boot

good job toysoft
thanks a lot.

Top
#8494 - 05/20/16 03:00 AM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Toysoft Online   content
Japhar Member
Carpal Tunnel

Registered: 10/21/10
Posts: 2649
Well done Marco, very usefull for all us as we could have tried an old stick ;o), so 256 Mb minumum in this case,

Thank you !

TS

From Feeds :
Code:
opkg update
opkg install ffmpeg exteplayer3 gstreamer1.0-libav
_________________________
DM8000, DM800se, DM500HD, DM800HD, DM7025, DM7020s, DM7000, DM500s
VU+ Solo, VU+ Uno, VU+ Duo, Kathrein UFS910
Tivusat, TNTSat, Fransat, SSR/TSR, BBC1-2-3/ITV
DE-OpenBlackHole 1.4 image : http://www.openblackhole.com/

Top
#8503 - 05/20/16 02:57 PM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
Champtheone Offline
VIP Japhar
newbie

Registered: 02/04/14
Posts: 31
Hello,

I managed to use a 8GB USB stick laugh

Some channel don't work it depends on the ServiceApp config.

I didn't change this #SERVICE 4097 to anything else. It was bugging and had to fix the issue because the box didn't respond anymore.

Regards,

CTO
_________________________
DM800HD with Japhar Sim NC3 for DM800HD - OpenPli 4.0
Sunray DM800HD se V2, Sim2.20 #88 - openpli-4.0-beta-dm800sev2-20150917-sim2-ssl88a.nfi

Top
#8825 - 06/27/16 04:18 PM Re: DM800HD MastaG OpenPLi 4.0 better IPTV - ffmpeg2 [Re: Admin]
anestef Offline
stranger

Registered: 06/27/16
Posts: 1
hello
can i have the iptv links in m3u file list?
i want to watch it in kodi and vlc
thanks

Top
Page 1 of 2 1 2 >


Moderator:  Hum@xel, maurizio2b 
New Topics
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
How to exclude ProvID & Channels from OSCam to CI+
by Admin
11/03/24 12:34 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM