How to create a tv tuner library for android?
up vote
0
down vote
favorite
I have a K1 Plus android box which have a built-in dvb-t2` and dvb-s2 tuner in it. I want to create an app that gets and shows the channels from those tuners.
At first, I found about android's TV Input Framework(TIF)
. The sample app keeps crashing by calling a method that gets the available inputs of the device. Then, found out that it only work for real Android TVs
. I looked for android libraries for that android box but didn't find anything. I looked for c libraries that can access the tuners but didn't find anything as well. I looked for code on how to access the hardware components of an android device and didn't find anything. I recently found about https://opencv.org/. I haven't read everything about it yet so I don't really know how to use it.
I found about https://git.linuxtv.org/v4l-utils.git from an answer to a SO question but it seems like it can only be used after installing it to an OS. I was able to compile it using CMake
on android but it got missing header files.
I also found http://android4tv.iwedia.com. Unfortunately, it's also using TIF
.
I'm trying to create something like kodi but I found out that it isn't really the one that gets the channels but kodi is getting it from a supported iptv box. I have zero knowledge about writing C
but I'll try to make the code.
This is the box btw. http://www.videostrong.com/S905D+DVB(KI%20PLUS)/55.html
android c cmake
add a comment |
up vote
0
down vote
favorite
I have a K1 Plus android box which have a built-in dvb-t2` and dvb-s2 tuner in it. I want to create an app that gets and shows the channels from those tuners.
At first, I found about android's TV Input Framework(TIF)
. The sample app keeps crashing by calling a method that gets the available inputs of the device. Then, found out that it only work for real Android TVs
. I looked for android libraries for that android box but didn't find anything. I looked for c libraries that can access the tuners but didn't find anything as well. I looked for code on how to access the hardware components of an android device and didn't find anything. I recently found about https://opencv.org/. I haven't read everything about it yet so I don't really know how to use it.
I found about https://git.linuxtv.org/v4l-utils.git from an answer to a SO question but it seems like it can only be used after installing it to an OS. I was able to compile it using CMake
on android but it got missing header files.
I also found http://android4tv.iwedia.com. Unfortunately, it's also using TIF
.
I'm trying to create something like kodi but I found out that it isn't really the one that gets the channels but kodi is getting it from a supported iptv box. I have zero knowledge about writing C
but I'll try to make the code.
This is the box btw. http://www.videostrong.com/S905D+DVB(KI%20PLUS)/55.html
android c cmake
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a K1 Plus android box which have a built-in dvb-t2` and dvb-s2 tuner in it. I want to create an app that gets and shows the channels from those tuners.
At first, I found about android's TV Input Framework(TIF)
. The sample app keeps crashing by calling a method that gets the available inputs of the device. Then, found out that it only work for real Android TVs
. I looked for android libraries for that android box but didn't find anything. I looked for c libraries that can access the tuners but didn't find anything as well. I looked for code on how to access the hardware components of an android device and didn't find anything. I recently found about https://opencv.org/. I haven't read everything about it yet so I don't really know how to use it.
I found about https://git.linuxtv.org/v4l-utils.git from an answer to a SO question but it seems like it can only be used after installing it to an OS. I was able to compile it using CMake
on android but it got missing header files.
I also found http://android4tv.iwedia.com. Unfortunately, it's also using TIF
.
I'm trying to create something like kodi but I found out that it isn't really the one that gets the channels but kodi is getting it from a supported iptv box. I have zero knowledge about writing C
but I'll try to make the code.
This is the box btw. http://www.videostrong.com/S905D+DVB(KI%20PLUS)/55.html
android c cmake
I have a K1 Plus android box which have a built-in dvb-t2` and dvb-s2 tuner in it. I want to create an app that gets and shows the channels from those tuners.
At first, I found about android's TV Input Framework(TIF)
. The sample app keeps crashing by calling a method that gets the available inputs of the device. Then, found out that it only work for real Android TVs
. I looked for android libraries for that android box but didn't find anything. I looked for c libraries that can access the tuners but didn't find anything as well. I looked for code on how to access the hardware components of an android device and didn't find anything. I recently found about https://opencv.org/. I haven't read everything about it yet so I don't really know how to use it.
I found about https://git.linuxtv.org/v4l-utils.git from an answer to a SO question but it seems like it can only be used after installing it to an OS. I was able to compile it using CMake
on android but it got missing header files.
I also found http://android4tv.iwedia.com. Unfortunately, it's also using TIF
.
I'm trying to create something like kodi but I found out that it isn't really the one that gets the channels but kodi is getting it from a supported iptv box. I have zero knowledge about writing C
but I'll try to make the code.
This is the box btw. http://www.videostrong.com/S905D+DVB(KI%20PLUS)/55.html
android c cmake
android c cmake
edited 3 hours ago
asked yesterday
rminaj
95
95
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
It will probably take a lot of reverse engineering or a leaked documentation to achieve what you are trying to do.
Devices like the one you are working on usually use proprietery hardware with proprietery drivers for things like DVB, so making a third party app for a TV tuner is very hard.
First, you need to find out what kind of DVB chip / card this Android box has.
Then, you need to figure out how (on what kind of BUS) it is connected to the system.
If it is something generic, you may be able to talk to its driver, if not, you would need to write your own driver.
This is too complicated to explain in a SO post, but you could start by opening the box and looking at the components or by running commands like lsusb
through ADB to try and identify the DVB component.
If the device already has a DVB app, you could try disassembling it, to find out how it works.
Good luck!
New contributor
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
It will probably take a lot of reverse engineering or a leaked documentation to achieve what you are trying to do.
Devices like the one you are working on usually use proprietery hardware with proprietery drivers for things like DVB, so making a third party app for a TV tuner is very hard.
First, you need to find out what kind of DVB chip / card this Android box has.
Then, you need to figure out how (on what kind of BUS) it is connected to the system.
If it is something generic, you may be able to talk to its driver, if not, you would need to write your own driver.
This is too complicated to explain in a SO post, but you could start by opening the box and looking at the components or by running commands like lsusb
through ADB to try and identify the DVB component.
If the device already has a DVB app, you could try disassembling it, to find out how it works.
Good luck!
New contributor
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
add a comment |
up vote
0
down vote
accepted
It will probably take a lot of reverse engineering or a leaked documentation to achieve what you are trying to do.
Devices like the one you are working on usually use proprietery hardware with proprietery drivers for things like DVB, so making a third party app for a TV tuner is very hard.
First, you need to find out what kind of DVB chip / card this Android box has.
Then, you need to figure out how (on what kind of BUS) it is connected to the system.
If it is something generic, you may be able to talk to its driver, if not, you would need to write your own driver.
This is too complicated to explain in a SO post, but you could start by opening the box and looking at the components or by running commands like lsusb
through ADB to try and identify the DVB component.
If the device already has a DVB app, you could try disassembling it, to find out how it works.
Good luck!
New contributor
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
It will probably take a lot of reverse engineering or a leaked documentation to achieve what you are trying to do.
Devices like the one you are working on usually use proprietery hardware with proprietery drivers for things like DVB, so making a third party app for a TV tuner is very hard.
First, you need to find out what kind of DVB chip / card this Android box has.
Then, you need to figure out how (on what kind of BUS) it is connected to the system.
If it is something generic, you may be able to talk to its driver, if not, you would need to write your own driver.
This is too complicated to explain in a SO post, but you could start by opening the box and looking at the components or by running commands like lsusb
through ADB to try and identify the DVB component.
If the device already has a DVB app, you could try disassembling it, to find out how it works.
Good luck!
New contributor
It will probably take a lot of reverse engineering or a leaked documentation to achieve what you are trying to do.
Devices like the one you are working on usually use proprietery hardware with proprietery drivers for things like DVB, so making a third party app for a TV tuner is very hard.
First, you need to find out what kind of DVB chip / card this Android box has.
Then, you need to figure out how (on what kind of BUS) it is connected to the system.
If it is something generic, you may be able to talk to its driver, if not, you would need to write your own driver.
This is too complicated to explain in a SO post, but you could start by opening the box and looking at the components or by running commands like lsusb
through ADB to try and identify the DVB component.
If the device already has a DVB app, you could try disassembling it, to find out how it works.
Good luck!
New contributor
New contributor
answered yesterday
Lev M.
1265
1265
New contributor
New contributor
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
add a comment |
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Oh, I see. I didn't know it would be a very difficult task. I know I need c but didn't know I need to go into disassembling the device itself.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
Can you, like, email me the other details about this? So I can have more idea of how to do this. I already understand the things that I need to do but it's not bad having more information about the task I need to do.
– rminaj
5 hours ago
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53237848%2fhow-to-create-a-tv-tuner-library-for-android%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password