Project

General

Profile

Feature #2101

TVHeadend alternative linuxdvb Backend Support

Added by Markus Rechberger (Sundtek) over 10 years ago. Updated almost 9 years ago.

Status:
Accepted
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-05-10
Due date:
% Done:

0%

Estimated time:

Description

Hi,

since our devices have been around for quite some time and seem to work well with tvheadend, why not interface our devices directly?

It would also be one step forward in supporting DVB devices directly on MacOSX

Here's the patch for the linuxdvb abstraction:

http://sundtek.de/support/tvh_file_ops.diff

just about nearly everything remains the same, additionally some plugin directory might be introduced?

Markus

History

#1

Updated by Adam Sutton over 10 years ago

  • Status changed from New to Accepted

Markus,

I think you know my thoughts on this, this is exactly why we split the code up the way we have. It's just a question of time. If you're interested in getting that patch included (and I know I promised I'd read it properly). Best thing would be to submit a PR via github as this is going to be the only way we accept submissions going forward. But do try and grab me on IRC.

Adam

#2

Updated by Magnus Hedlund about 10 years ago

This would also indirectly make it easier to get Tvheadend work on Android too, right?

For related request see:

https://tvheadend.org/issues/1921

"Android port of Tvheadend as native (NDK) application".

#3

Updated by Markus Rechberger (Sundtek) about 10 years ago

Yes, however this is much more complicated in practice.

It's still on our radar because we need it anyway, currently we're launching our new DVB-S/S2 devices.

I guess until the end of this year we should have quite a few more updates on Application level and be able to offer a full Linux DVB compatible API for Android systems (without requiring to root the Android cellphone or Android tablet).

Android cut down the SystemV IPC inter-processcommunication they implemented their own one with Java bindings so the communication between the driver and tvheadend needs to happen using JNI (java native interface).

Running the entire driver directly inside tvheadend would be easy however (we did that with our testapplications) but we would like to proved a separate driver APP which can be accessed by other Applications.

#4

Updated by Markus Rechberger (Sundtek) about 10 years ago

Yes, however this is much more complicated in practice.

It's still on our radar because we need it anyway, currently we're launching our new DVB-S/S2 devices.

I guess until the end of this year we should have quite a few more updates on Application level and be able to offer a full Linux DVB compatible API for Android systems (without requiring to root the Android cellphone or Android tablet).

Google cut down the SystemV IPC inter-processcommunication they implemented their own one with Java bindings so the communication between the driver and tvheadend needs to happen using JNI (java native interface).

Running the entire driver directly inside tvheadend would be easy however (we did that with our testapplications) but we would like to proved a separate driver APP which can be accessed by other Applications.

#5

Updated by Guillaume Lakano almost 10 years ago

Hello !

I don't found this PR on the github repository.

This feature will be really usefull for me too ( <my-life>currently using EyeTV on MacMini in backend for XBMC/Kodi but the quality is restricted to 400x300 because it's a service dedicated for iPhone device in theory...</my-life> )

Hope this could be inside TvHeadEnd one day :)
Thanks to everybody for this really great tool.

Best,

#6

Updated by Jaroslav Kysela almost 10 years ago

Marcus, could you submit a pull request on github ? I have some comments to your code which blocks the inclusion. Also, sign the CLA (see wiki).

#7

Updated by Markus Rechberger (Sundtek) almost 10 years ago

Jaroslav Kysela wrote:

Marcus, could you submit a pull request on github ? I have some comments to your code which blocks the inclusion. Also, sign the CLA (see wiki).

it's not forgotten although not much time either at the moment.
I'll try to update the patch until the end of this month and send the pull request.

#8

Updated by Jaroslav Kysela almost 10 years ago

OK, just a little comment: please, move everything to src/input/mpegts/linuxdvb tree... Thanks.

#9

Updated by Magnus Hedlund almost 10 years ago

Any updates on this?

#10

Updated by Markus Rechberger (Sundtek) almost 10 years ago

Magnus Hedlund wrote:

Any updates on this?

sorry still busy but we will do that as soon as possible - big promise.

#11

Updated by Markus Rechberger (Sundtek) almost 9 years ago

Markus Rechberger (Sundtek) wrote:

Magnus Hedlund wrote:

Any updates on this?

sorry still busy but we will do that as soon as possible - big promise.

Some update here we have moved the DVB part of our drivers to android in order to have a split process / service.

A small app will start our driver process in the background and other applications are able to access the driver via the regular Linux DVB API.
The drivers themselves run as normal user, no rooting required.

Now it's time to update the tvh_file_ops.diff to match the latest tvheadend version.

#12

Updated by Markus Rechberger (Sundtek) almost 9 years ago

Some update here we have moved the DVB part of our drivers to android in order to have a split process / service.

A small app will start our driver process in the background and other applications are able to access the driver via the regular Linux DVB API.
The drivers themselves run as normal user, no rooting required.

Now it's time to update the tvh_file_ops.diff to match the latest tvheadend version.

the backend is updated http://sundtek.de/support/tvh_file_ops_v0_1.diff
The diff was made against the latest tvheadend git version
we're currently testing it with Android and some other systems.

#13

Updated by Jaroslav Kysela almost 9 years ago

Markus, could you create a pull request on github ?

#14

Updated by Markus Rechberger (Sundtek) almost 9 years ago

Jaroslav Kysela wrote:

Markus, could you create a pull request on github ?

We're testing at the moment, there are a few issues (android related..)

however basically it works on our side with a non jailbroken android.

Also available in: Atom PDF