Any devs working on a Android port of Tvheadend backend?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hedda Offline
Senior Member
Posts: 219
Joined: Feb 2013
Reputation: 4
Post: #1
Any developer(s) working on a port of Tvheadend PVR backend that will run nativly on Android OS?

Goal being to have the DVB TV tuner server backend part running on same Android box as XBMC.

Working with for example with Geniatech PT115 USB DVB or Geniatech ATV1220 Android box
http://www.geniatech.com/pa/pt115m.asp
http://www.geniatech.com/pa/atv1220.asp

This linked thread on Tvheadend's own forum mention that someone did an Android port about a year ago but it was then never put up as a patch upstream to mainline Tvheadend? And quote below from last post in that thread does have a link to that Android port of Tvheadend with source code on GitHub

https://tvheadend.org/boards/5/topics/7311?r=7346
Quote:I too would like tvheadend to run un such box, but it seems hard. I have found a guy called Mikrohard that has made a port that he says should work with XBMC, I have however not got it to work

Here's his forks and sources:

https://github.com/innbox/tvheadend/tree...nd-android

And his service script that should be run within XBMC:

https://github.com/innbox/service.multimedia.tvheadend

The original posts comes from the xda forums:

http://forum.xda-developers.com/showthre...?t=2171412

I have no good knowleadge of linux/android/cross-compiling but I do think some guys around this forum might find this useful.
Edit: I posted the same question to Tvheadend forum https://tvheadend.org/boards/5/topics/10286 and feature request here https://tvheadend.org/issues/1921
(This post was last modified: 2014-01-09 18:25 by Hedda.)
find quote
dhead Offline
Donor
Posts: 601
Joined: May 2010
Reputation: 2
Post: #2
@Hedda

As a non developer this seems to me quite allot of work and for nothing.
I don't think DVB-V4L is included on Android.

You can have Linux + XBMC on these devices so the only question that needed to be answer is if Amlogic Linux DVB drivers for the built in tuners are DVB-V4L compatible.
See https://github.com/j1nx/Openlinux.Amlogi...mlogic/dvb

I posted this question in the related thread
See http://forum.xda-developers.com/showthre...29&page=38

Edit: Forgot to mention that in the latest Linux build that I've tried (which is true also to Android) the hw deinterlacer isn't perfect, I would say even annoying (although a dev that got access to Amlogic private repositories claimed this is fixed in unreleased kernel sources).
(This post was last modified: 2014-01-09 15:35 by dhead.)
find quote
Hedda Offline
Senior Member
Posts: 219
Joined: Feb 2013
Reputation: 4
Post: #3
@dhead, sorry if I was not clear in my original post on what exactly I was asking for, but I have updated that original post little now.


To clarify, this feature request is specifically for running Tvbackend as native application in the background on Android, not ARM Linux.

Yes I know that you can run Linux on Amlogic and other ARM based boxes, but that is not what this feature request is asking for here.


Reason I am asking for an Android port of TVheadend is to run as app on the same Android box as XBMC, and with other Android apps too!


There are several USB DVB-T/C/S TV-tuners that are compatible with Android, and several Android boxes come with integrated TV-tuner.

Examples:
http://www.geniatech.com/tv-tuner-for-an...tablet.asp
http://www.geniatech.com/pa/pt115m.asp
http://www.geniatech.com/pa/atv1220.asp
http://www.mygica.com/product.asp?id=165
http://www.xtreamer.net/SideWinder4/
http://www.pctvsystems.com/Products/Prod...fault.aspx
http://www.pointofview-online.com/showro...uct_id=358
http://www.tevii.com/Products_t810_1.asp
http://www.cnx-software.com/2014/05/22/u...-t2-tuner/
http://www.cnx-software.com/2014/02/14/a...ls-for-93/


Remember that Android OS is actually using a modified version of the Linux kernel, so it is not impossible to run all this natively on Android.

V4L DVB drivers from linuxtv.org can be used the with Android kernel/firmware, some developer tips andcode can be found on these pages
http://sven.killig.de/android/N1/2.2/usb_host/
http://forum.xda-developers.com/showthread.php?t=871391

There are already other closed source DVB apps for Android out there
https://play.google.com/store/search?q=dvb&c=apps
https://play.google.com/store/search?q=dtv&c=apps
(This post was last modified: 2014-05-27 18:51 by Hedda.)
find quote
Hedda Offline
Senior Member
Posts: 219
Joined: Feb 2013
Reputation: 4
Post: #4
Comment from Adam Sutton, one of Tvheadend's lead developers, in the feature request ticket:

https://tvheadend.org/issues/1921
Quote:I've been watching the related thread. But didn't bother to pipe up just yet. I can categorically say that no active (by which I mostly mean me) developer is interested in doing this. Not because its not interesting (and it's certainly not an unreasonable or impossible task), but simply because I have enough work bug fixing an improving for the more common user base.

That being said, I don't have a problem with FRs being submitted that I know no existing developer is interested in working on. If Mikrohard has started the work, then he'd definitely be the person I badger first. I've no idea how far he got with this.

And I'm more than happy to include patches, as long as they don't break existing user base, for other platforms. As I've been doing for BSD from decke.

Anyway just my 2 cents...

Adam
find quote
dhead Offline
Donor
Posts: 601
Joined: May 2010
Reputation: 2
Post: #5
@Hedda

You assumption that the different DVB devices are using the same framework under Android is probably wrong.
If you're connecting a DVB device to a Linux machine then Tvheadend knows how to communicate with it through the DVB-V4L framework.
I don't think this is the case on Android, this is why there are different apps for different devices on Android.

If you're adding the DVB-V4L to your Android system then it's another story.
find quote
burnt_52 Offline
Junior Member
Posts: 2
Joined: Dec 2013
Reputation: 0
Post: #6
Hi guys,

I have been watching a few of these threads and hoping for an easy way to install tvheadend or similar on android. I have a decent knowledge of android installation etc but no programming knowledge. In my trawling I found

http://androidtvnews.com/everything-need...d-updated/

I haven't given that a try to see if that does anything or is just to set up a backend on a seperate device. Would be awesome to get a backend running in android though!
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,853
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #7
http://www.freaktab.com/showthread.php?8...-tvheadend

I'm about to try this with my RK3188 stick right now. Wish me luck.

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 2,218
Joined: Feb 2009
Reputation: 29
Location: Heerlen, The Netherlands
Post: #8
working on a pvr backend that will run on android (and not just android), but it's not tvheadend because of the gpl3 license. i expect to have something that works on github within the next few months

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
(This post was last modified: 2014-01-15 12:02 by opdenkamp.)
find quote
Hedda Offline
Senior Member
Posts: 219
Joined: Feb 2013
Reputation: 4
Post: #9
(2014-01-15 12:02)opdenkamp Wrote:  working on a pvr backend that will run on android (and not just android), ...i expect to have something that works on github within the next few months
Very cool news! Thank you for the heads up!

(2014-01-15 12:02)opdenkamp Wrote:  it's not tvheadend because of the gpl3 license
Ah, I did not even know Tvheadend was GPLv3. Did you try asking Tvheadend devs to relicense to GPLv2 or LGPLv2?
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 19,853
Joined: Jan 2011
Reputation: 247
Location: Arizona, USA
Post: #10
(2014-01-15 12:02)opdenkamp Wrote:  working on a pvr backend that will run on android (and not just android), but it's not tvheadend because of the gpl3 license. i expect to have something that works on github within the next few months

Nice!

You can make easy links to the XBMC wiki using double brackets around common XBMC words: [[debug log]] = debug log, [[Video library]] = Video library, [[SMB]] = SMB , [[userdata]] = userdata, etc
find quote
bodski Offline
Junior Member
Posts: 1
Joined: Feb 2014
Reputation: 0
Smile  RE: Any devs working on a Android port of Tvheadend backend?
Post: #11
(2014-01-15 12:02)opdenkamp Wrote:  working on a pvr backend that will run on android (and not just android), but it's not tvheadend because of the gpl3 license. i expect to have something that works on github within the next few months

Just wondering if you have anymore info on the new backend your working on. Looking forward to having a play Big Grin
find quote
J├Ânke Offline
Fan
Posts: 560
Joined: Oct 2009
Reputation: 2
Post: #12
(2014-01-15 12:02)opdenkamp Wrote:  working on a pvr backend that will run on android (and not just android), but it's not tvheadend because of the gpl3 license. i expect to have something that works on github within the next few months

Any news ?
find quote
Hedda Offline
Senior Member
Posts: 219
Joined: Feb 2013
Reputation: 4
Post: #13
MuMuDVB is an other open source Android and Linux PVR backend that is licensed under GPLv2, but it doesn't yet have a PVR client addon for XBMC, see here:

http://forum.xbmc.org/showthread.php?tid=196200
(2014-05-26 11:21)Hedda Wrote:  Any C/C++ developers looking into creating a real XBMC PVR client addon for MuMuDVB (Multi Multicast DVB)?

http://www.mumudvb.net ( cross-platform C source code on GitHub: https://github.com/braice/MuMuDVB )
Quote:MuMuDVB (Multi Multicast DVB) by Brice Dubost is an open source application made for redistributing DVB television streams over a network.

MuMuDVB also features IPTV and multicast support, and is designed for embedded platform and have a very low memory and CPU footprint.
What is most unique about it compared to the similar Tvheadend is that upstream MuMuDVB supports running natively on Android and Linux, both on ARM and x86 embedded systems.

This would mean that with MuMuDVB and XBMC you could use your Android media player as a stand-alone set-top box without using a separate external PVR backend TV server.
(2014-05-26 18:46)Hedda Wrote:  Have to add that I think the best thing about having the MuMuDVB PVR backend run nativly on Android and a matching MuMuDVB PVR client addon for XBMC would be to have both the DVB TV tuner server part that is MuMuDVB PVR backend TV tuner server application running on the very same Android box as the frontend XBMC media player app.

This mean that it could work with example Android compatible DVB TV tuner USB adapters like Geniatech PT115 USB DVB and Android media players with integrated DVB TV tuners like example MyGica ATV1220 / Geniatech ATV1220 and Xtreamer SideWinder4
(This post was last modified: 2014-05-27 18:56 by Hedda.)
find quote