openatv / enigma2

openatv-gui
GNU General Public License v2.0
200 stars 314 forks source link

.MPD streams in OpenATV #2269

Closed rszwed987 closed 2 years ago

rszwed987 commented 2 years ago

I think OpenATV should play streams .MPD like "normal" .M3U8 strams natively. I will give an example of .MPD stream: https://live-insysgo.cf.insyscd.net/echo24.720.smil/manifest.mpd

Such streams are often used today.

This stream are normally from Kodi. Normally Kodi requires this plugins:

https://github.com/xbmc/inputstream.adaptive GPL-2.0 License

https://github.com/xbmc/inputstream.ffmpegdirect GPL-2.0 License

https://github.com/xbmc/inputstream.rtmp GPL-2.0 License

I think it would be worth adding it natively in OpenATV to be able to play .MPD streams (as in OpenATV it plays .M3U8 streams or as an additional plugin for OpenATV).

4l3x2k commented 2 years ago

What do you mean by natively?

What image version of what date are you using?

Adding the link above to bouquet works out of the box. No need for serviceapp or the like.

File like userbouquet.dash.tv with the following contents:

#NAME DASH Test Assets - 4097
#SERVICE 1:64:1:0:0:0:0:0:0:0::IPTV-ORG
#SERVICE 1:64:1:0:0:0:0:0:0:0::https://iptv-org.github.io
#SERVICE 4097:0:1:0:0:0:0:0:0:0:https%3a//live-insysgo.cf.insyscd.net/echo24.720.smil/manifest.mpd:Echo24

image

rszwed987 commented 2 years ago

I have OpenATV with version 7.1 (date 2 may 2022). I have a decoder: AX 4K-BOX HD61.

Zrzut ekranu 2022-05-09 093252

I added it manually but I see black screen on this channel.

4l3x2k commented 2 years ago

Look like hd61 is using servicehisilicon as media service.

Can you confirm that by looking at MENU - Information - About openATV / Enigma2 Information / Mediaservice?

If that is the case then it is a driver issue I think. Normally servicegstreamer handles dash and hls.

Getting new drivers isn't easy and depend on manufacturer, so you could try removing / uninstall enigma2-plugin-systemplugins-servicehisilicon BUT MAKE A FULL BACKUP BEFORE!

Maybe someone else can confirm that it is or is not working with servicehisilicon.

4l3x2k commented 2 years ago

Maybe better solution is to use / install ServiceApp and change servicereftype from 4097 to 5002.

#NAME DASH Test Assets - 5002
#SERVICE 1:64:1:0:0:0:0:0:0:0::IPTV-ORG
#SERVICE 1:64:1:0:0:0:0:0:0:0::https://iptv-org.github.io
#SERVICE 5002:0:1:0:0:0:0:0:0:0:https%3a//live-insysgo.cf.insyscd.net/echo24.720.smil/manifest.mpd:Echo24
rszwed987 commented 2 years ago

Yes. I can see servicehisilicon as media service. When I changed serviceretype from 4097 to 5002 still doesn't work for me. In this case I don't see a name of channel "Echo24" but <N/A>

4l3x2k commented 2 years ago

Then you need to install enigma2-plugin-systemplugins-serviceapp. Full reboot and not only the GUI. The <N/A> should then disappear.

With serviceapp installed it would also be possible to leave 4097 as servicereferencetype but change the enigma2 playback system from original to serviceapp with exteplayer3.

4l3x2k commented 2 years ago

The other approach is to uninstall enigma2-plugin-systemplugins-servicehisilicon which is only possible via console and the following command

opkg remove --autoremove --force-depends enigma2-plugin-systemplugins-servicehisilicon
rszwed987 commented 2 years ago

I installed plugin-systemplugins-serviceapp

opkg install enigma2-plugin-systemplugins-serviceapp I used OpenWebif and terminal. I restarted a decoder.

I saved a settings: serviceapp with exteplayer3 and restarted a decoder 5555555

I added in DreamBoxEdit a stream earlier. Part of userbouquet:

SERVICE 4097:0:1:0:0:0:0:0:0:0:https%3a//live-insysgo.cf.insyscd.net/echo24.720.smil/manifest.mpd

DESCRIPTION Echo24

4l3x2k commented 2 years ago

And did a full reboot? Does it work now?

rszwed987 commented 2 years ago

I made a full reboot (With power cut) iiiiiiiiiiiiiii The screen is black. Other m3u links works only.

4l3x2k commented 2 years ago

Puhhh ...

Then there is only the approach by removing enigma2-plugin-systemplugins-servicehisilicon which was my first tip.

Remove serviceapp Remove servicehisilicon (command mentioned above)

rszwed987 commented 2 years ago

I made a full backup. Then I unistalled servicehisilicon tttttt This screen is after reboot (this is confirmation of uninstall)

Should I remove serviceapp and install again ? Really ? I wanted to remove serviceapp. I can see: image

4l3x2k commented 2 years ago

Set playback system to original in serviceapp and the servicereferencetype in bouquet should be 4097. Then remove serviceapp.

The right name of serviceapp is enigma2-plugin-systemplugins-serviceapp and not enigma2-plugin-extensions-serviceapp.

rszwed987 commented 2 years ago

Thanks :-)

4l3x2k commented 2 years ago

Video and Audio running?

rszwed987 commented 2 years ago

All .MPD links works.

Some M3u8 does't works Viva Russia doesn't works today https://live.prd.dlive.tv/hls/live/viva-russia.m3u8 On OpenATV worked earlier. No voice/video. Channel "Strefa TV" doesn't work today http://stream.sferatv.pl:1935/sferalive/smil:sferalive.smil/playlist.m3u8 On OpenATV worked earlier. No video. Only voice. Channel "Retro" doesn't work today http://89.185.253.55/retrotv/retrotvHQ1/playlist.m3u8 On OpenATV worked earlier. No video. Only voice.

All mentioned M3U8 links works on the computer only

4l3x2k commented 2 years ago

Now you're switching from DASH to HLS. So this would need a new issue.

You're right, russian channels aren't working. I hope you can imagine why these channels aren't working.

But all reference HLS and DASH streams are working. My test bouquets are attached for reference.

userbouquet.dash_hls_4097.zip

4l3x2k commented 2 years ago

Issue can be closed