TVHGuide for Android
Added by Thomas Novin over 13 years ago
Anyone tried TVHGuide with success?
All I get is a channel listing. I have tried it on my HTC Sensation (Android 2.3.3).
Replies (142)
RE: TVHGuide for Android - Added by fred dirty about 13 years ago
First of all, I would like to thanks for the author this great applications (tvheadend+tvhguide). Thanks for this iam very close to achieve my goal (streamed tv on various devices at home)
Now I can watch tv on pc/notebook through mozilla browser+vlc plugin. The android tvheadend app is very promising, but the watching capablity is not useable for me. I would like to watch mpeg4 h264 stream on android tablet and phone. The phone (samsung sgs2) is powerful enough for this job, but only with hardware acceleration.
Is there any chance to pass the stream to an another android application? Player with hw accel capablities.
Other way: does anybody know which android application can handle tvheadend streams? (Looks like rtsp missing from the latest tvh build?!)
Regards:
Fred
RE: TVHGuide for Android - Added by Luigi Capriotti - about 13 years ago
I wanted to accomplish exactly the same goal on my low-end tablet and tried "daroon player", the only one supporting http streams.
I was able to watch streams from tvheadend on cheap WM8650 tablet but strangely enough not on a more powerful ZT-180.
It must be a player buffering bug IMHO.
Having said that, YMMV
RE: TVHGuide for Android - Added by fred dirty about 13 years ago
"tried "daroon player", the only one supporting http streams"
Daroon player not the only one. There are others, for example vplayer.Unfortunately currently daroon is best from usage and performance point of view - but cant handle h264+aac together...
But this is the tvhguide topic here are a few words about this app:
- The guide function is great, but there is the big black unused place on the left side of the "All channels" activity. There would be the channel logos? If you haven't logos then this is wasted space.
- The recording funcion is great!
- The watching feature is totally useless. H264+aac or h264+mpeg streams are extremely slow and buggy. If the developer don't plan to write a whole media player+epg application I think the best solution is to pass the stream to an another application, or to the default android media player. (Android devices with OS 3.1+ can handle http streams)
RE: TVHGuide for Android - Added by Arco van Geest about 13 years ago
As much I love the idea, I did not get any result out of tvhguide ( probably my ignorance )
With MX player and the stream/channelid url I can watch TV, channels are not sorted in any logical way thru the 9981:/stream url.
For some reason the EPG is not updated in tvhguide here. Play gives a black screen. I tested this on a galaxy s and a tab 10.1
If new phone/tables OS's support streams in http wouldn't it be easier to create a "mobile.html" on the tvheadend side?
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
Just got a new Android phone and would like to try this out. Especially the transcode part.
When trying to compile the transcode branch of tvheadend it tells me that I missing libavcodec 52.96.0 or newer. I'm running ubuntu 10.04 (xbmc-live) with libavcodec installed, but it doesn't seem to be a newer version available than the one i got in the repositories.
I tried google, without any luck. Anyone that can tell me how to get 52.96.0 or newer installed on my system?
RE: TVHGuide for Android - Added by John Törnblom almost 13 years ago
Andreas B wrote:
Just got a new Android phone and would like to try this out. Especially the transcode part.
When trying to compile the transcode branch of tvheadend it tells me that I missing libavcodec 52.96.0 or newer. I'm running ubuntu 10.04 (xbmc-live) with libavcodec installed, but it doesn't seem to be a newer version available than the one i got in the repositories.
I tried google, without any luck. Anyone that can tell me how to get 52.96.0 or newer installed on my system?
you can find the version of libavcodec by typing:
pkg-config --modversion libavcodec
It probably works with your version as well so you can open up the "configure" file and change the version to whatever you have and give it a go. If it compiles OK, pls respond so I can change the requirements in my source tree.
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
Thanks for the reply.
I was a bit unpatient, so i've tried some more with Ubuntu Oneric (11.10) on another computer.
Now the configure works, but during compile I get this error:
/usr/bin/ld: build.Linux/src/plumbing/transcode.o: undefined reference to symbol 'av_malloc@LIBAVUTIL_51'
@LIBAVUTIL_51' is defined in DSO /usr/lib/libavutil.so.51 so try adding it to the linker command line
/usr/bin/ld: note: 'av_malloc
/usr/lib/libavutil.so.51: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [build.Linux/tvheadend] Error 1
Any ideas ?
I'm gonna try again on my xbmc-live box later, will get back to you on that one.
RE: TVHGuide for Android - Added by John Törnblom almost 13 years ago
Andreas B wrote:
Thanks for the reply.
I was a bit unpatient, so i've tried some more with Ubuntu Oneric (11.10) on another computer.
Now the configure works, but during compile I get this error:
/usr/bin/ld: build.Linux/src/plumbing/transcode.o: undefined reference to symbol 'av_malloc@
LIBAVUTIL_51'
@LIBAVUTIL_51' is defined in DSO /usr/lib/libavutil.so.51 so try adding it to the linker command line
/usr/bin/ld: note: 'av_malloc
/usr/lib/libavutil.so.51: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [build.Linux/tvheadend] Error 1Any ideas ?
I'm gonna try again on my xbmc-live box later, will get back to you on that one.
not sure what that means, but did you install the dbg-package for libav/ffmpeg?
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
I've installed the dbg-packages (libav-dbg and ffmpeg-dbg) now, but i'm sorry to say that i don't know how to use them for debugging.
RE: TVHGuide for Android - Added by John Törnblom almost 13 years ago
Andreas B wrote:
I've installed the dbg-packages (libav-dbg and ffmpeg-dbg) now, but i'm sorry to say that i don't know how to use them for debugging.
Sorry, I ment the dev package. I don't use ubuntu myself but perhaps this one: http://packages.ubuntu.com/lucid/libavcodec-dev ?
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
John Törnblom wrote:
Sorry, I ment the dev package. I don't use ubuntu myself but perhaps this one: http://packages.ubuntu.com/lucid/libavcodec-dev ?
That's the one i installed at first to meet the dependencies (in addition to libswscale-dev).
I'm open for trying other distros to get this working. Which one are you using ?
RE: TVHGuide for Android - Added by Phill Lavender almost 13 years ago
I seem to remember having a similar problem when I did this on Ubuntu 11.04 in the end I think I took the latest git of FFMPEG and complied from source.
I'm pretty sure I just followed this guide:- http://ubuntuforums.org/showthread.php?t=786095. Although I don't think I bothered with 'qt-faststart' or 'libvpx'.
Can't hurt ! Give it a try. Transcoding to my Galaxy S and Galaxy 10.1 works very well over home wifi.
Phill
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
Phill Lavender wrote:
I seem to remember having a similar problem when I did this on Ubuntu 11.04 in the end I think I took the latest git of FFMPEG and complied from source.
I'm pretty sure I just followed this guide:- http://ubuntuforums.org/showthread.php?t=786095. Although I don't think I bothered with 'qt-faststart' or 'libvpx'.
Can't hurt ! Give it a try. Transcoding to my Galaxy S and Galaxy 10.1 works very well over home wifi.
Phill
Thanks. Followed the guide for installing ffmpeg and x264 but now i get a different error during compiling:
CC build.Linux/tvheadend
build.Linux/src/main.o: In function `main':
/home/andreas/tvheadend/src/main.c:385: undefined reference to `transcoder_init'
collect2: ld returned 1 exit status
make: *** [build.Linux/tvheadend] Error 1
RE: TVHGuide for Android - Added by Phill Lavender almost 13 years ago
Edit line 348 in Main.c (nano main.c)
Change:-
#ifdef CONFIG_TRANSCODER
to:-
#if CONFIG_TRANSCODER
And try to recompile.
Phill
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
Thanks.
Todays new commit compiles without any problems.
Works rather well (been experiencing a couple of crashes) on my ION based system with HTC Sensation XL. Looking forward to try this on the road with 3G
RE: TVHGuide for Android - Added by Andreas B almost 13 years ago
Theres been a couple of interesting commits to TVHGuide recently.
Any chance of an updated APK ?
RE: TVHGuide for Android - Added by Neil Sutton almost 13 years ago
I've recently been trying to compile the transcode branch from John Tornblom but I'm running into some issues building it;
First off (after a fresh git clone) I get this; http://pastebin.com/wFCPHNPE
I can fix this by tweaking the Makefile to continue on warnings, once I've done that - I get the following; http://pastebin.com/X13MEbRk
From what I can tell, these are all related to OpenSSL - so I've checked and I already have libssl-dev installed (as seen by configure) but it still complains
So, I wonder if something is missing due to me having to make the first fix regarding the warnings or is this normal ?
I'm trying to build on Ubuntu 11.10 x86_64 if it makes any difference..
Any suggestions would be appreciated!
RE: TVHGuide for Android - Added by John Törnblom almost 13 years ago
Are you sure you got the right branch?
This worked for me on a flresh ubuntu 11.10 install:
sudo apt-get install libssl-dev libavcodec-dev libswscale-dev
git clone -b transcode git://github.com/john-tornblom/tvheadend.git
cd tvheadend
./configure --disable-avahi --release
make
./build.Linux/tvheadend
Neil Sutton wrote:
I've recently been trying to compile the transcode branch from John Tornblom but I'm running into some issues building it;
First off (after a fresh git clone) I get this; http://pastebin.com/wFCPHNPE
I can fix this by tweaking the Makefile to continue on warnings, once I've done that - I get the following; http://pastebin.com/X13MEbRk
From what I can tell, these are all related to OpenSSL - so I've checked and I already have libssl-dev installed (as seen by configure) but it still complains
So, I wonder if something is missing due to me having to make the first fix regarding the warnings or is this normal ?
I'm trying to build on Ubuntu 11.10 x86_64 if it makes any difference..Any suggestions would be appreciated!
RE: TVHGuide for Android - Added by Neil Sutton almost 13 years ago
Umm.. well, that's embarrassing :p
I hadn't even noticed the other branches on github so just grabbed the address and did a clone with no '-b transcode'
Now I'm getting the right branch it works as expected :D
Thanks for that John!
One question, do you have any plans to recognize a 'home network' within the Android app ?
Ie. settings page has 2x sets of host IPs and Ports (1 internal, 1 external) and a selector to choose your 'home' wifi - so if this network is connected it utilizes the internal IP, if not - then the external one.
Anyway, great work so far.. been making the most of your great app on my HP Touchpad
Cheers
John Törnblom wrote:
Are you sure you got the right branch?
This worked for me on a flresh ubuntu 11.10 install:
sudo apt-get install libssl-dev libavcodec-dev libswscale-dev
git clone -b transcode git://github.com/john-tornblom/tvheadend.git
cd tvheadend
./configure --disable-avahi --release
make
./build.Linux/tvheadend
RE: TVHGuide for Android - Added by neil mac almost 13 years ago
I am using guide below on Ubuntu 11.04 Natty and it fails as
libavcodec is version 52.72.2.
Any thoughts?
sudo apt-get install libssl-dev libavcodec-dev libswscale-dev
git clone -b transcode git://github.com/john-tornblom/tvheadend.git
cd tvheadend
./configure --disable-avahi --release
make
./build.Linux/tvheadend
RE: TVHGuide for Android - Added by FaberfoX - almost 13 years ago
I have your transcoding branch and tvhguide working great on both a motorola milestone and an hp touchpad, both running cm7.
My server is a lowly athlon 3000 and it chokes on anything higher than 288p. My source is a hauppauge pvr250 for analog cable.
Is there a way to change the target codec from a config file? Do you plan to allow choosing this from the web frontend?
RE: TVHGuide for Android - Added by Micael Beronius almost 13 years ago
OK, today I bought a new phone, Samsung Galaxy Nexus. With this phone, I can't get TVHGuide to work much;
I get the channels list.
I don't get the icons (unless I have to do something special?)
I can't play an ongoing show. It says buffering for a couple of seconds, then I'm back to the channels list again.
Maybe it is ICS that is the culprit? On my old Galaxy S, with original TVHGuide, it all plays just fine.
I got the latest version, and I am not running any transcoding.
RE: TVHGuide for Android - Added by Martin Mrvka almost 13 years ago
That video streams could not be played is related to ICS.
Tvhguide is segfaulting in surface_open call, cause there is a new way of initializing the surface.
I'm playing to create a patch...
RE: TVHGuide for Android - Added by Martin Mrvka almost 13 years ago
it needs more testing, but it's working:
https://github.com/mmrvka/TVHGuide/commit/5ac6b9506ca9a441fb0905087d696c89957f4eb5
(Although there is still an null pointer exception, no max resolution is selected)
RE: TVHGuide for Android - Added by Micael Beronius almost 13 years ago
OK, most likely, I'm messing it up with my own building... But it still does not work for me.
I simply downloaded todays snapshot from your link, built and tried to run, but it still does not work.
In the emulator it has problem at startPlayback()->stopPlayback()->System.loadLibrary("tvhplayer")
I think the first time i debugged the program I got a different exception, but now I repeatedly just get Unsatisfied LinkError..
Since I'm a newbie on android development, I am sure I have missed out on something...
Thread [<1> main] (Suspended (exception UnsatisfiedLinkError))
Runtime.loadLibrary(String, ClassLoader) line: 365
System.loadLibrary(String) line: 535
TVHPlayer.<clinit>() line: 49
PlaybackActivity.stopPlayback() line: 165
PlaybackActivity.startPlayback() line: 173
PlaybackActivity.onResume() line: 151
Instrumentation.callActivityOnResume(Activity) line: 1154
PlaybackActivity(Activity).performResume() line: 4539
ActivityThread.performResumeActivity(IBinder, boolean) line: 2433
ActivityThread.handleResumeActivity(IBinder, boolean, boolean) line: 2471
ActivityThread.handleLaunchActivity(ActivityThread$ActivityClientRecord, Intent) line: 1985
ActivityThread.access$600(ActivityThread, ActivityThread$ActivityClientRecord, Intent) line: 122
ActivityThread$H.handleMessage(Message) line: 1146
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 137
ActivityThread.main(String[]) line: 4340
Method.invokeNative(Object, Object[], Class, Class[], Class, int, boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 511
ZygoteInit$MethodAndArgsCaller.run() line: 784
ZygoteInit.main(String[]) line: 551
NativeStart.main(String[]) line: not available [native method]