Project

General

Profile

TVHGuide for Android

Added by Thomas Novin about 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).

http://sb1066.homelinux.com/tvhguide/


Replies (142)

RE: TVHGuide for Android - Added by Micael Beronius about 13 years ago

Thank you for sharing that link!!!

I just tried it, and it seams to work just fine here, the few minutes I have tried it. It even played a live stream just fine on my Galaxy S.

I did not get the channel logotype download to work though. But it looks like a very promising program. If the program list where longer, and sorted by time perhaps, things would be even better ;-)

Are the developer on this forum?

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

So you get a channel listing after starting the program (obviously after setting the details), then you can press one channel and get more EPG details there?

I get the channel listing & can press menu and choose recordings but nothing more.

About the icons, did you go into settings to enable them?

I don't know about the developer. I only found his name along with the source code @ https://github.com/john-tornblom/TVHGuide.

RE: TVHGuide for Android - Added by Micael Beronius about 13 years ago

Yes, I get the top channel listing, and if I press one program, I get the listing of that channel. If I in that list selects a program, I get the EPG details.
If I press a program on the top listing, and hold, I get to view it in my phone.

The icons, I cannot get to see, however much I toggle the Icon check box.

I quite like the possibility to view programs in the phone, nice to check out news and so on.
The frame rate isn't very good, but works for me.

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

Okey, I cannot press any channels at all, nothing happens if I do.

If I long-press a channel it shifts to a black window where it says "Subscribing" but then nothing more happens. Nothing in my log @ the server either.

Too bad with the low frame rate, I thought it would be the same as when I stream to my XBMC HTPC. If you have a 10" tablet I guess it will be a little blocky then..

RE: TVHGuide for Android - Added by Micael Beronius about 13 years ago

I don't know if my phone is not powerful enough, or if the player is not a good one. Therefore a dual core 10" tablet might quite possibly do this better.
The sound is all good and in sync with video, but I can tell there's frame drops here and there.

This is on Android 2.3.3 on the old (single core) Galaxy S. Your Sensation should do better, I would think (if you get it to work)!

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

Tried just playing a stream on the phone but when starting I got a choice to play it with XBMC (I have XBMC remote installed) or with RockPlayer Lite. I chose RockPlayer and it started playing the audio but the video was just black. Good quality on the audio though..

To try this use, for example:

http://my.server.lan:9981/stream/channelid/25>Eurosport</a>

RE: TVHGuide for Android - Added by Micael Beronius about 13 years ago

OK, I just pasted a similar line into my browser. Got nothing. No sound, no pic.
Got to choose between XBMC and ES file player (which I have installed).
I am guessing one of the developers might be able to help you better... Maybe see if there's any response at the github?

I'm looking into getting a tablet at some point, so I'd like to see you getting this to work! ;-)

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

I sent an email to the developer and mentioned this thread.

Yes, I'm also interested in getting this to work on a tablet. Now when you can have a tablet+keyboard they got interesting..

For example,
http://www.swedroid.se/39510/test-av-asus-eee-pad-transformer/
http://www.swedroid.se/41218/eeepad-slider-officiellt-presenterad/

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

Hi guys!

I just updated the apk with some changes to the media player:
http://sb1066.homelinux.com/tvhguide/

Togeather with the transcoding branch you'll get pretty good playback on highend phones like the Nexus S. ZTE Blade (with cm7) is too slow for video playback as the decoding is performed in software but you can listen to radio broadcasts:
https://github.com/john-tornblom/tvheadend/tree/transcode

Hopefully I'll manage to get hardware decoding going with the recent GSOC project of libav:
https://github.com/hexene/libav

cheers!

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

Works really good! The problems I had on the previous version are gone, channel listings & epg works as expected, playback also works as expected (on my HTC Sensation).

This is what I did to upgrade the tvheadend binary (injecting it into my current install and backing up tvheadend binary to tvheadend.orig)

$ git clone git://github.com/john-tornblom/tvheadend
$ cd tvheadend
$ ./configure
$ make
$ sudo mv /usr/bin/tvheadend /usr/bin/tvheadend.orig
$ sudo cp build.Linux/tvheadend /usr/bin/tvheadend
$ sudo service tvheadend restart

(to restore original, run sudo mv /usr/bin/tvheadend.orig /usr/bin/tvheadend... or just reinstall with sudo apt-get --reinstall hts-tvheadend if installed via official repo.)

2. Updated tvheadend on phone, link to download below so you don't have to type the URL :)

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

John Törnblom wrote:

Hi guys!

I just updated the apk with some changes to the media player:
http://sb1066.homelinux.com/tvhguide/

Some bugs I've found..

1. On my tablet the app itself uses the whole screen but video playback just used approx 2/3 of the screen. Watching SVT1 it also looks like the recording is 16:9 but playback on tablet is 4:3. On the phone it was full-screen & wide.
2. Dangerous bug, when viewing recordings and pressing them you get two options, remove or cancel. Both options removes the recording!
3. When I enter a hostname to my tvheadend server I get connection refused but when typing the IP instead it works.

Would be nice to be able to toggle the overlay in settings.

Otherwise cool progress on this app!

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

Thomas Novin wrote:

John Törnblom wrote:

Hi guys!

I just updated the apk with some changes to the media player:
http://sb1066.homelinux.com/tvhguide/

Some bugs I've found..

1. On my tablet the app itself uses the whole screen but video playback just used approx 2/3 of the screen. Watching SVT1 it also looks like the recording is 16:9 but playback on tablet is 4:3. On the phone it was full-screen & wide.

I bet it has to do with the orientation being defined differently on a tablet, I'll look at it when I get some time.

2. Dangerous bug, when viewing recordings and pressing them you get two options, remove or cancel. Both options removes the recording!

Yea, I've been planning on changing that. Cancel actually refers to canceling an ongoing recording so only one of the entries should be visible at a time.

3. When I enter a hostname to my tvheadend server I get connection refused but when typing the IP instead it works.

Would be nice to be able to toggle the overlay in settings.

The overlay can be toggled by long-pressing the screen. At the moment the app is just for testing so the overlay will be shown when you first start the activity. perhaps I'll add auto hide at a later point.

Otherwise cool progress on this app!

RE: TVHGuide for Android - Added by Phill Lavender about 13 years ago

John,

Just a note to let you know "git clone git://github.com/john-tornblom/tvheadend" doesn't appear to be synced your transcoding branch. Just cloned and the Plumbing folder is only populated with gloablheaders.c/h and tsfix.c/h ... missing trasnscode.c/h

git log shows last commit to this repository was:

commit 96080dc171675a83608d70a87e8ee4a051efddb6
Author: John T<C3><B6>rnblom <>
Date: Fri May 13 21:16:16 2011 +0200

Phill

RE: TVHGuide for Android - Added by Phill Lavender about 13 years ago

OK fixed that, but then failed to build based on libavcodec: 53.12.0
Looks like the API for libavcodec changed beyond version 53, TypeCodec is no longer a supported enum, so should now used AVMEDIA_TYPE_AUDIO/VIDEO instead of CODEC_TYPE_AUDIO/VIDEO, patched my local version to build and work fine.
Looks good. Works well on DVB-T broadcasts, has a few panics at HD streams mind doesn't like iptv streams at all, think that's the Android client though as Tvheadend doesn't even try to tune and the client crashes.
Phill

RE: TVHGuide for Android - Added by Jeff Bradian about 13 years ago

John,

Thanks for a great app. Got it working on my Inspire 4G (VU 2.35 rom) using an hdhomerun tuner with tvheadend
via the dvbhdhomerun driver.
I'm new to android and tvheadend so I'm doing a lot of stumbling around in the dark.
The version on your web page would not play a video on my phone, so I tried this branch from github: https://github.com/etmtvdp/TVHGuide.git
which allows for an external player. So far Daroon Player works the best out of the players I tried with SD media but it chokes on HD.

I can't report on EPG and recording functionality yet as I haven't got EPG working in tvheadend.

Thanks also to the devs here for tvheadend, streams well to xbmc on my notebook.

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

Today I bumped the version on http://sb1066.homelinux.com/tvhguide.

Playback still require android 2.3.

The new features since the last update are:
  • Compiled the player for armv6 with a more recent version of libav --> Stream is now playable on a ZTE Blade with the transcoding branch of tvheadend
  • Made it possible to manage recordings from a programme list (require tvheadend from at least 31 Aug 2011)
  • Allow the playback surface to rotate when the device changes orientation
  • Use correct aspect ratio on the playback surface
  • Show an estimation of the network speed (relative to the playback speed)

Enjoy ;)

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

Really nice!

Is it possible to add a feature to watch recordings / is it on the roadmap?

RE: TVHGuide for Android - Added by Thomas Novin about 13 years ago

Tip, use the Honeycomb stretch feature to get fullscreen on your tablet. Works quite allright!

RE: TVHGuide for Android - Added by Razor 109 about 13 years ago

I really like the program, however i gave the Transcode branch of Tvheadend a try but i dont feel like it is transcoding at all? The stream send to my phone still is 8-10mbps! So any progres on the transcoding option or something i did wrong?

I build tvheadend from the transcoding branch and ran it, then connection Tvhguide..

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

Razor 109, are you sure you are using the correct branch? While streaming to TVHGuide, you should see debug messages in tvheadend from the transcoder.

to clone the code:

git clone -b transcode git://github.com/john-tornblom/tvheadend.git

Today I added a simple PID regulator that is probably poorly implemented but it might give smoother playback. Also, the framedropping can mess up the regulator.

Thomas Novin, streaming recordings are not supported by the htsp protocol --> not supported in TVHGuide. There are no plans to add support for interacting with tvheadend via http (for the moment).

RE: TVHGuide for Android - Added by Razor 109 about 13 years ago

Hmm indeeded, i didnt set the right branch ;)

However its not working for me, 'No available audio encoder' any tips? Do you maybe have a short Howto with what are the required packages etc to make this work?
Also what are the minimum systemspecs for transcoding SD channels? Is there any HW-encoding by libav already?

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

Razor 109 wrote:

Hmm indeeded, i didnt set the right branch ;)

However its not working for me, 'No available audio encoder' any tips? Do you maybe have a short Howto with what are the required packages etc to make this work?
Also what are the minimum systemspecs for transcoding SD channels? Is there any HW-encoding by libav already?

I guess your version of libav doesn't include a mp3 encoder. I don't think there is any hw-encoding support in libav so you'll need quite a few cpu cycles to spare :)

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

I have updated the apk on http://sb1066.homelinux.com/tvhguide.

Some of the bigger changes include:

  • A major UI update with to many changes to list
  • Use the native search dialog provided by the platform
  • Removed the option to hide icons, the app should not crash anymore even when hundreds of icons are to be downloaded
  • Clear buffer after playback has stopped
  • Fixed bug where in some cases recordings of a programme where not displayed in the programme list
  • Fixed a bug where the last event in the epg was missing

I also found out why the transcoding branch sometimes crashes so if you wanna play with that, make sure you pull the latest changes.

RE: TVHGuide for Android - Added by Mario D about 13 years ago

Dear John,
why you don't just publish you app on the Google Market? It is easier to keep updated it.

thanks

RE: TVHGuide for Android - Added by John Törnblom about 13 years ago

I haven't gotten myself a developer account just yet.

Mario . wrote:

Dear John,
why you don't just publish you app on the Google Market? It is easier to keep updated it.

thanks

(1-25/142)