SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Clients Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development.

Reply
 
Thread Tools Search this Thread Display Modes
  #741  
Old 01-03-2016, 09:52 PM
bweb bweb is offline
Sage User
 
Join Date: Dec 2015
Location: MN
Posts: 12
thanks for the reply.

when i tried out the mini player on my nexus player and nexus 7 i was getting compression artifacts... say 1/20th of the screen had large blocks and they'd show up every few seconds. (both connected 5ghz wifi)

1) any idea what the deal is?

I saw some comments about transcoding, I wondered if the server was trying to do that and not able to keep up.

the server i'm running is a pc i scrounged up, its pretty old (not speedy).

when i run a client software on a different pc (fast and wired) in the house the picture looks great.

2) (the off topic part...) any educated guesses if i'll have this problem on an hd300? my sample points are the 3 mentioned. i wasn't sure if the difference was:
android mini client vs sagetv client
wifi vs network

3) actually i already ordered a Liva X and put ubuntu on it...took a little effort, but its there. tried to run the linux placeshifter, it runs but the video is nonsense/blank... i guess i'll go with a windows wired client.

thanks again.
Reply With Quote
  #742  
Old 01-04-2016, 04:24 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by bweb View Post
thanks for the reply.

when i tried out the mini player on my nexus player and nexus 7 i was getting compression artifacts... say 1/20th of the screen had large blocks and they'd show up every few seconds. (both connected 5ghz wifi)

1) any idea what the deal is?

I saw some comments about transcoding, I wondered if the server was trying to do that and not able to keep up.

the server i'm running is a pc i scrounged up, its pretty old (not speedy).

when i run a client software on a different pc (fast and wired) in the house the picture looks great.

2) (the off topic part...) any educated guesses if i'll have this problem on an hd300? my sample points are the 3 mentioned. i wasn't sure if the difference was:
android mini client vs sagetv client
wifi vs network

3) actually i already ordered a Liva X and put ubuntu on it...took a little effort, but its there. tried to run the linux placeshifter, it runs but the video is nonsense/blank... i guess i'll go with a windows wired client.

thanks again.
1. It's likely that the player is using software transcoding. You can try enabling ExoPlayer and seeing if that makes a difference.

2. HD300s would likely work fine.

3. I would think that, right now, for stability, either the HD300 or a full windows Sage Client would be your best bet. Eventually I think the Android Client will get there as well.
Reply With Quote
  #743  
Old 01-04-2016, 07:34 AM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
1. What kind of streams are you trying to play? You'll note that MPEG2 720p streams are problematic at this time for the Android Client. Playback of these on my NP is exactly as you described in terms of pixelated display.
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #744  
Old 01-04-2016, 08:23 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by dinki View Post
1. What kind of streams are you trying to play? You'll note that MPEG2 720p streams are problematic at this time for the Android Client. Playback of these on my NP is exactly as you described in terms of pixelated display.
It plays 720 just fine as long as it is a MPEG2-TS and not a MPEG2-PS stream using ExoPlayer.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #745  
Old 01-04-2016, 12:48 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Quote:
Originally Posted by nyplayer View Post
It plays 720 just fine as long as it is a MPEG2-TS and not a MPEG2-PS stream using ExoPlayer.
Not to derail the thread, but how do I force SageTV/HDHR to record in MPEG2-TS?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #746  
Old 01-04-2016, 01:04 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by dinki View Post
Not to derail the thread, but how do I force SageTV/HDHR to record in MPEG2-TS?
You don't have a choice as the HDHR doesn't actually encode the video file it just saves the incoming content directly to your PC. And for ATSC OTA and cable QAM that content is MPEG-2.

The one exception is the newer HDHR that can save files as h.264 but I don't think that device is supported by SageTV - at least not the transcoding to h.264 part.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #747  
Old 01-04-2016, 01:11 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by wayner View Post
You don't have a choice as the HDHR doesn't actually encode the video file it just saves the incoming content directly to your PC. And for ATSC OTA and cable QAM that content is MPEG-2.

The one exception is the newer HDHR that can save files as h.264 but I don't think that device is supported by SageTV - at least not the transcoding to h.264 part.
You do have a choice you can you can change encode_digital_tv_as_program_stream=true to false. Sage is configured to make PS streams out of TS streams. The problem Is that sometime SageTV cannot handle the TS OTA streams it sorta chokes on them.... so they added that property to make the PS streams.

OpenDCt records to MPEG TS streams I would be happy if the author can add in the future the OTA Hdhomerun tuners.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-04-2016 at 01:17 PM.
Reply With Quote
  #748  
Old 01-04-2016, 01:34 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
So just to make sure I'm getting this right, I can make the setting change you mentioned and be able to play these fine with both the Android Client and my HD200? I watch a lot of live tv. Is there any negative repercussions from using this setting in terms of seeking?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #749  
Old 01-04-2016, 01:44 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by dinki View Post
So just to make sure I'm getting this right, I can make the setting change you mentioned and be able to play these fine with both the Android Client and my HD200? I watch a lot of live tv. Is there any negative repercussions from using this setting in terms of seeking?
Like I said SageTV sometimes chokes on the unprocessed TS files you have to judge for yourself. Seeking will not work in the miniclient as it never has worked reliably yet.... and I have never owned a HD200.

I watch LiveTV using my Prime Cable card tuner and that works fine because I am using OpenDCT.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-04-2016 at 01:48 PM.
Reply With Quote
  #750  
Old 01-04-2016, 01:59 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by nyplayer View Post
Like I said SageTV sometimes chokes on the unprocessed TS files you have to judge for yourself. Seeking will not work in the miniclient as it never has worked reliably yet.... and I have never owned a HD200.

I watch LiveTV using my Prime Cable card tuner and that works fine because I am using OpenDCT.
I have a HDPVR and it's produces nothing by .ts (h264) files for years. If by miniclient, you mean the Android MiniClient, then TS seeking is working in ExoPlayer... that was a change that published yesterday, if I recall. TS seeking works fine in all SageTV supported miniclients (ie, HD200, HD300, desktop, etc).

Ultimately, MPEG2-PS will eventually be supported on the Android MiniClient as well.
Reply With Quote
  #751  
Old 01-04-2016, 02:07 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by stuckless View Post
I have a HDPVR and it's produces nothing by .ts (h264) files for years. If by miniclient, you mean the Android MiniClient, then TS seeking is working in ExoPlayer... that was a change that published yesterday, if I recall. TS seeking works fine in all SageTV supported miniclients (ie, HD200, HD300, desktop, etc).

Ultimately, MPEG2-PS will eventually be supported on the Android MiniClient as well.
Thanks looks like I missed that change will load it up now.

Edit

Great Job seeks great.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-04-2016 at 02:48 PM.
Reply With Quote
  #752  
Old 01-04-2016, 03:47 PM
dinki's Avatar
dinki dinki is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 682
Nyplayer, are you saying that SageTV chokes on TS MPEG2 files as Stuckless is saying he uses TS H264 files without problem?
__________________
Intel Core i5-2500, 16GB RAM, OMV Linux 4.17, 3 TB of Data
SageTV 9 Docker, Open DCT Docker
Silicondust HDHomeRun Duo + Quatro
Sage Mini Client on Amazon Fire Sticks and Android TVs
Reply With Quote
  #753  
Old 01-04-2016, 03:56 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Just like Stuckless I have been using H.264 files from HD-PVRs for years in SageTV on HD200 and HD300s without problems. However I find that these files can cause other players to choke, or die and this especially happens when trying to seek. This has been the case with stuff like Air Video, Plex on iOS and the streamer that is part of the Sage Mobile web browser.

However in recent years Air Video HD is more reliable.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #754  
Old 01-04-2016, 03:59 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by dinki View Post
Nyplayer, are you saying that SageTV chokes on TS MPEG2 files as Stuckless is saying he uses TS H264 files without problem?
H264 and MPEG2 are 2 different types of video files. one has nothing to do with the other as far as performing in SageTV. I am talking about MPEG2-PS streams you can go into details of your recordings and see what kind of files you have. Keep track of what type plays in your android mini client and you can see what works for you.


MPEG2-TS streams play great regardless if 720p or 1080i and seek properly now thanks to Sean.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 01-04-2016 at 04:05 PM.
Reply With Quote
  #755  
Old 01-05-2016, 03:59 PM
bweb bweb is offline
Sage User
 
Join Date: Dec 2015
Location: MN
Posts: 12
when using a nexus player, i had used play music to listen to music.

afterwards when in the miniplayer, pressing play/pause paused the sagetv, but started playing the music.

user error? miniplayer? configuration?

this problem existed through power being removed from the device. i ended up disabling google play music in order to prevent it from playing again.
Reply With Quote
  #756  
Old 01-05-2016, 04:32 PM
brewston brewston is offline
Sage Expert
 
Join Date: Apr 2006
Location: Surrey
Posts: 719
Quote:
Originally Posted by bweb View Post
when using a nexus player, i had used play music to listen to music.

afterwards when in the miniplayer, pressing play/pause paused the sagetv, but started playing the music.

user error? miniplayer? configuration?

this problem existed through power being removed from the device. i ended up disabling google play music in order to prevent it from playing again.
I've had this happen in other apps on my Nexus Player and heard other people complain about it too. It's not a problem with Miniclient, more likely a problem with how the media button is handled in Android.
__________________
Tecra M5, 2 x HD200, 2 x HD300
2 x PCTV 290e
Win 7, Sage 7.1.9, Phoenix 2 STV
Stephane's XMLTV Importer, Digiguide,
Reply With Quote
  #757  
Old 01-05-2016, 11:42 PM
bweb bweb is offline
Sage User
 
Join Date: Dec 2015
Location: MN
Posts: 12
Quote:
Originally Posted by brewston View Post
I've had this happen in other apps on my Nexus Player and heard other people complain about it too. It's not a problem with Miniclient, more likely a problem with how the media button is handled in Android.
i agree, thats the most likely, just thought i'd ask.

i know that on my phone (android) my podcast app often forgets that it was the last one playing and wont resume after a game or something takes the sound,

my audio book player loves being the default, after i've run it, it often is in resumed audio even if other things were used more recently.

i wonder if there is a way for the miniplayer to elevate its priority (but only when it makes sense.) please dont put this high on any to do list, the nexus player is only temporary until i get a pc running. I just wanted to make sure it wasn't an easy fix.
Reply With Quote
  #758  
Old 01-06-2016, 05:07 PM
cncb cncb is offline
Sage Icon
 
Join Date: Jul 2006
Posts: 1,271
Quote:
Originally Posted by nyplayer View Post
You do have a choice you can you can change encode_digital_tv_as_program_stream=true to false. Sage is configured to make PS streams out of TS streams. The problem Is that sometime SageTV cannot handle the TS OTA streams it sorta chokes on them.... so they added that property to make the PS streams.
I just want to confirm that the "choking" you a referring to happens during playback and not in the recording process?
__________________
-Craig
Reply With Quote
  #759  
Old 01-09-2016, 02:03 AM
thatdude90210 thatdude90210 is offline
Sage Aficionado
 
Join Date: Feb 2004
Posts: 385
Just got a FireTV second gen. I tried it first on Wifi (5 GHz and right next to the router) and was getting periodic pauses and maybe the audio sync wasn't quite right either. Plugged in the Ethernet and the pauses & audio issues are gone, smooth video from HDPVR recordings. Otherwise, I've not run into other issues yet.

One thing I wish the onscreen navigation had are the skips FW/BK & skip FW2/BK2 that the extender remotes have. Got used to those for skipping around and getting past commercials.
Reply With Quote
  #760  
Old 01-09-2016, 05:25 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by thatdude90210 View Post
Just got a FireTV second gen. I tried it first on Wifi (5 GHz and right next to the router) and was getting periodic pauses and maybe the audio sync wasn't quite right either. Plugged in the Ethernet and the pauses & audio issues are gone, smooth video from HDPVR recordings. Otherwise, I've not run into other issues yet.

One thing I wish the onscreen navigation had are the skips FW/BK & skip FW2/BK2 that the extender remotes have. Got used to those for skipping around and getting past commercials.
It's not hard to add those options to the OSN... but you should add a defect to the defect tracker, or else I will forget
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Finally, a fully functional SageTV client on android and iphone! mkanet SageTV v7 Customizations 12 01-12-2013 12:22 AM
SageTV Placeshifter for Android nyle SageTV Placeshifter 5 12-31-2011 10:40 AM
Sage should get an android client running on this Deacon Crusher Hardware Support 1 09-29-2010 11:30 AM
Android client? equalize SageTV Placeshifter 1 07-22-2010 09:37 AM


All times are GMT -6. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.