HDMI CEC - General Questions and Answers

How to send the HDMI CEC Commands from rooted Android TV Box to connected TV to switch the input sources and also to adjust the volume?
Searched lot of android source code related to TVInputFrameWork Service and Hdmicec Service packages but it not able to integrate inside the App. If we used the sample google TVInputFrame still it throws Permission Error
Someone mentioned feasibility of JNI for HDMI CEC but we can't integrate the JNI with given libcec.h file as specified in it. Can anyone please help with any sample integration for the Android LibCEC integration in the Rooted Android Device.
Tried the Shell command but it was not working
Is there any shell commands to send the HDMI-CEC Command?
Can anyone please share the steps/ clear documentation to send the HDMI-CEC Command .

Related

outputting android devices to a monitor?? Displaylink

Displaylink released the open source drivers for linux a while ago, for the people who dont know what display link is, its outputting video via a usb port using a special chip in certain monitors. almost any device that runs linux and has usb in theory do it, http://twitter.com/libdlo had this on a tweet: @s31n6 Definitely possible to port libdlo and/or to displaylink-mod to android. Perhaps contribute a development platform to a developer...
The only thing is, the current Linux drivers don't support compression, obviously the company doesn't want the propriety algorithm that the windows and osx closed source drivers contain being leaked..
If a Linux based router can be have display outputted surely an Android phone can!!!
http://nezzen.net/2009/06/01/displaylink-on-router/
http://www.engadget.com/2009/05/18/displaylink-for-linux-turns-a-humble-wireless-router-into-a-beau/
This already been looked at???
G1/dream lacks video output = dead before the start.
evilkorn said:
G1/dream lacks video output = dead before the start.
Click to expand...
Click to collapse
I think your missing the point slightly, the video is outputted as a data stream and you dont need a video out chip to do so other wise how would the get a display output on a netgear router!
anything that runs linux and has a usb port can output video using the display link drivers and a compatible monitor!!
Android Screencast
What about android screencast 0.4; please search for it, as I am unable to post URL's.
yeah I use this!! good for use when connected to a PC!
Here is a android 1.6 driver from the opensource .
http://libdlo.freedesktop.org/wiki/
or
https://github.com/magoroku15/DisplayLink-driver-for-android
update
http://sites.google.com/site/voyageofbeagleboard/Home/displaylink-for-android

USB Webcam at /dev/video0

I just connected a cheap usb webcam I had laying around. According to dmesg it is properly recognised and there is a /dev/video0 device that appears when it is connected. My only problem is I have no idea how to interface with it. Does anyone know of an app or maybe even a command-line way to interface with a specific video stream?
I have done some research and several people started the process of building ffmpeg for Android, but for one reason or another they seem to have abandoned their efforts.
would be so awesome to use my 720p webcam w/ this...is this possible? seems as simple as modding a config file to look @ that as a source.
You need the specific device drivers in the kernel, till those are available, and apps know how to access the device the second camera will not function. Honeycomb is supposed to have 2 camera functionality built into the OS so hopefully that will work out of the box.

[Q] decompiling smart tv remote

Hi guys. I am not that clued up in app development. I am needing some help with figuring out how this app works.
https://play.google.com/store/apps/...&utm_medium=organic&utm_term=play+lg+smart+tv
I have xbmc installed on my computer that is connected to my smart tv. I am getting eritated with all the remotes and keyboards and in south Africa universal remotes are expensive if you can find them.
What this app does is pair's with my lg tv then it somehow sends inputs over the Wi-Fi to tell the tv to change channel ext.
What I want to do is write a autoit script that can change chanels from the computer.
Can anybody decompile this app and tell me how it sends commands? And what command does it send.
Thanks in advances.

[Android MK809IV 2G/8GB HDMI Stick] Google Voice Not Working [RESOLVED!]

Hello everyone, I have recently purchased a MK809IV Android 4.4.2 HDMI Stick via ebay. It works perfectly for streaming 720P Netflix, youtube and web browsing; EXCEPT for voice input (via Bluetooth headset with Microphone). I was hoping to minimize my dependence on a keyboard by using Google Voice whenever possible. However; this particular device is not detecting any audio input device. As a result, google voice is not launching/running; it just closes a few seconds after I run it. This is a real shame as I was hoping to browse the web or check my e-mail using google voice while gaming on my PC...
I have attached images to provide more information regarding this particular Android Stick and my issue. Any information or help would be greatly appreciated.
Mk809IV Android HDMI Stick s131.photobucket.com/user/coffeecoffee10/media/MK809IV.jpg.html?sort=3&o=2
No Sound s131.photobucket.com/user/coffeecoffee10/media/No%20Input%20Sound.jpg.html
Bluetooth- No Phone s131.photobucket.com/user/coffeecoffee10/media/No%20Phone%20BT.jpg.html?sort=3&o=1
PS: I apologize in advance for posting links in this thread; however, I feel that it's more inappropriate to make 10 random posts that won't contribute or help anyone to meet the requirements for said links. I just want to provide as much information as possible to the community regarding this issue. I feel that these Android HDMI sticks has exceptional potential for their small price tag.
Pixel~
Update Edit: After further testing; I found out that my Kinovo Bluetooth headset (with mic) requires a driver that automatically downloads on my phone, my friend's phone and also my cheapo android tablet. However, the driver is not detected/downloading on this HDMI Stick. I have since found a Plug and Play USB Audio adapter that works with my HDMI stick. HOWEVER; even though the audio INPUT device IS detected and I was able to make audio recordings, Google Voice is still not working; every time I run/launch the app, it closes almost INSTANTLY.
USB Audio PlugNPlay i131.photobucket.com/albums/p311/coffeecoffee10/USB%20PnP.jpg
Pixel~
Update 2.0 : Ok, I've got this ironed out and it's all working perfectly now! I came across the link below on Google's website
support.google.com/websearch/answer/6031948?hl=en
Which states the following requirements:
Google app version 3.5+
Android 4.4+ (KitKat)
Voice & Audio Activity setting turned on
Since I met the 2nd and 3rd requirement, I tried updating Google App via the play store; google voice is now working and running without a hitch! This device is now perfect for my intended applications!
My current setup is as follows if anyone is interested!
Currently running a triple monitor setup with the third monitor on the right connected to the Android Stick and my PC. (from left to right: 22" Portrait Mode, 24" BenQ 144Hz Landscape and 24" Landscape). When I'm gaming, I switch from my DVI (PC) output to HDMI (Android Stick); this allows me to check my e-mail, google for information, play music, watch youtube guides, etc). Also, the USB Plug n play audio adapter I linked earlier; has a mute switch for the Mic. This maximizes the usability for my devices.
I can provide photos of my setup upon request. Thanks for reading!
Pixel~

How can I push a linux ffmpeg stream via USB ADB to Android

There are a lot of ways to push the android screen to a Linux Desktop.
But I would like to push a Desktop mirror or an ffmpeg stream to Android.
ffmpeg -video_size 1920x1080 -framerate 60 -f x11grab -i :0.0+7680,1080 -preset ultrafast -vcodec libx264 -tune zerolatency -r 60 -f mpegts -listen 1 rtmp://localhost:8081/test/
ffmp
I did try an ADB reverse
adb reverse tcp:8081 tcp:8081;
This is supposed to grab the image of my third monitor and I want to push it to Android via ADB.
When I point Android VLC at rtmp://@127.0.0.1:8081
It won't work. Some one an idea?
AFAIK reverse tethering over ADB means to allow the Android device to use the Internet connection of a PC over ADB. An PC's private IP4 address ( private IP addresses provide a way for devices that don't need a connection to the internet, such as file servers and printers, to communicate with the other devices on a network without being directly exposed to the public ) may have been assigned as 192.168.1.xxx and not as 127.0.0.1.
IIRC then the IP address 127.0.0.1 is a special-purpose IPv4 address and is called the localhost or loopback address. All computers use this address as their own, but it doesn't let computers communicate with other devices as a real IP address does.
e.g. you can use reverse adb to connect the VPN client on your Android tablet to the Host computer over USB.
In this case this is used, to use the Android tablet as an external monitor for Linux. Issue is it is not fast enough.
I found these methods on youtube so far:
But the VNC perfomance goes down with the screen size.
With ffmpeg und a cast receiver over USB, theoretically, it should be as fast as the windows/mac version, which are basically lag free , like it is shown here.
A lag free version is this, but it is absolutely limited in usage
So yes, I want to use ffmpeg and a cast receiver on Android, to use the tablet as an external monitor for windows.
This App doed not work for me

Categories

Resources