SageTV Community  

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

Notices

SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-13-2020, 05:41 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
SageTV transcoding - kickstarter?

Getting our media remotely seems to be more and more important as time passes. SageTV placeshifter was pretty extraordinary in its day, some of the first of its kind. Of course with remote viewing skyrocketing since Sage was sold, it's pretty rough at this point. The transcoder needs a complete overhaul I imagine.

I'd be willing to dump some cash on any developer that's interesting in taking a shot at this. I would see up front if Jeff has a few tips to at least get you pointed in the right direction. I've never done it before, but I'd be willing to create a kickstarter to keep everything public in regard to paying the developer(s).

Anyone interested in SageTV Remote?

Last edited by KryptoNyte; 08-15-2020 at 12:07 PM.
Reply With Quote
  #2  
Old 08-14-2020, 05:43 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
I think this is the one area that would really help bring SageTV forward. Being able to transcode media in our libraries to newer formats as well as being able to transcode at higher resolutions for placeshifting would really be a big step forward. I am willing to throw my hat in the ring, but I need a lot of help.

Depending on the approach taken, my expertise is more in the Java side, not in the C/C++ side. I can hack together some C code.

I definitely would be willing to make any necessary changes to the Android Miniclient to accommodate any changes in how transcoding might work in the future.

Josh
Reply With Quote
  #3  
Old 08-14-2020, 09:44 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I am in as well for financial support. Isn't the main issue the version of ffmpeg used and Jeff had to do a lot of customization to it to make it work for SageTV. So to use a more modern version of ffmpeg you need to redo all of these customizations.

The current version doesn't even work properly for 1080i files in PlaceShifter on your local LAN.

FYI - to play files remotely I use Plex and AirVideoHD (an iOS app). My unRAID server has dockers running Plex, AirVideoHD and SageTV. For movie and TV series files I use Plex. But for sports and other newer recordings that may not have metadata I use AirVideoHD to watch on my iOS devcies.

The other option that should work, although I don't know that I have tried this, is to use a VPN connection back to your LAN (I also have OpenVPN server running in a docker on unRAID). Then you should be able to use any video file player, even SageTV Placeshifter, assuming that it works for that type of file on your LAN.

Of course the downside to transcoding is that it wouldn't be as easy to skip forward through files. SageTV is better at this then pretty much any other software and I use this all the time as I primarily use SageTV for watching sports.
__________________
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
  #4  
Old 08-14-2020, 07:13 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by wayner View Post
Of course the downside to transcoding is that it wouldn't be as easy to skip forward through files. SageTV is better at this then pretty much any other software and I use this all the time as I primarily use SageTV for watching sports.
I did not consider that. This might be quite a project, both at the server and client end. I suppose it's at least worth kicking around.
Reply With Quote
  #5  
Old 08-15-2020, 12:08 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I honestly thought there would be more SageTV users interested in seeing something like this move forward.
Reply With Quote
  #6  
Old 08-15-2020, 03:49 PM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by KryptoNyte View Post
I honestly thought there would be more SageTV users interested in seeing something like this move forward.
I too use AirVideoHD and Plex for remote viewing, and while I don’t have any objections to donating a few bucks to ongoing support issues, I’m not sure how much I’d gain from this. For things I want to keep long term, I generally use Handbrake to convert stuff. The benefit of this development would be for the use of the Miniclient away from the home, yes?
__________________
Sage 9 server = Gigabyte AMD quad-core - 4 gigs - integrated ATI HD4200 chipset - SSD boot, Hitachi Deskstar show drives. HD-PVR - Colossus - Win7 32 bit. HD200/300’s networked. HDHomerun tuner. "If you've given up on Weird Al, you've given up on life" - Homer Simpson

Last edited by tvmaster2; 08-15-2020 at 09:42 PM.
Reply With Quote
  #7  
Old 08-15-2020, 04:41 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by KryptoNyte View Post
I honestly thought there would be more SageTV users interested in seeing something like this move forward.
I guess if some are interested it is worth looking into it ... I personally do not need it use EMBY for remote access.
__________________
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; 08-15-2020 at 08:15 PM.
Reply With Quote
  #8  
Old 08-15-2020, 06:10 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
+1 wishing there were a better quality remote streaming option using Sage's UI. I am currently using an HD300 for remote viewing.
__________________
Server: Intel i5-11400 @4.4GHz 6 cores Windows10 Pro, Sage 9.2.6.976, Comskip Donators
Capture: Fubo/TVEverywhere/ChannelsDVR/OpenDCT_0.5.32_x86.
Storage: 120gB SSD, 4tB HD on Server
Network: gB Lan
Playback: FireStick 4K miniclient
Tech Level: Hobbyist
Reply With Quote
  #9  
Old 08-15-2020, 08:41 PM
phantomii phantomii is offline
Sage Advanced User
 
Join Date: Mar 2009
Location: North Carolina
Posts: 226
i would also be very interested and would throw in a few bucks for a good improvement in remote streaming......
Reply With Quote
  #10  
Old 08-15-2020, 08:51 PM
trk2 trk2 is offline
Sage Aficionado
 
Join Date: Jan 2006
Location: Maine
Posts: 499
I'm also interested and can contribute financially.
Reply With Quote
  #11  
Old 08-16-2020, 04:24 AM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
I think there is two reasons why you are not seeing that much interest. First, with the pandemic, you can not travel not, so it is not a high priority. Second is the title of this thread. Change it to something like remote viewing and you will get more interest.
__________________
Hardware: Intel Core i5-3330 CPU; 8GB (2 x 4GB); 2-4TB WD Blue SATA 6.0Gb/s HDD; Windows 7
Servers: ChannelsDVR, Plex, AnyStream, PlayOn,
Tuner: HDHomeRun Connect Quatro
Tuner: HDHomeRun Connect Duo
Sources: OTA, Sling Blue, Prime, Disney+,
Clients: ShieldTV (2), Fire TV Stick 4K (4)
Reply With Quote
  #12  
Old 08-16-2020, 07:40 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Quote:
Originally Posted by NetworkGuy View Post
I think there is two reasons why you are not seeing that much interest. First, with the pandemic, you can not travel not, so it is not a high priority. Second is the title of this thread. Change it to something like remote viewing and you will get more interest.
I tried changing it, but you can't really change the title it seems.

Maybe I'll start another thread pointing it back to this one.
Reply With Quote
  #13  
Old 08-16-2020, 07:55 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Interesting observations

Hi,

I was playing with the SageTVTranscoder and placeshifting with the miniclient, and I was surprised by what I was able to achieve. I really though we were completely limited by the current version of ffmpeg. It looks like I might not be entirely correct. Here is what I did.

1. I turned on fixed as the streaming type in the Android mini client settings.
2. I modified SageTV so that the transcoder outupt format was hard coded instead of using the built in default. I used the settings below:

Code:
xcodeParams = "-f matroska -vcodec mpeg4 -b 4000 -s 720x480 -acodec ac3 -r 29.97 -ab 192 -ar 48000 -ac 2";
I was shocked that the andriod miniclient played it well with IJKPlayer and ExoPlayer. It worked well with live and converted content. Image quality was very passable. Skipping back and forth was acceptable on my server hardware in a VM!

I want to try and add the following options to be passed to SageTV as an option. You can already pass FPS, bitrate, and a number of other options. I think MKV seems to be much better supported by the miniclient.

1. Container format
2. Additional resolution options. 720p, 1080p
3. Additional audio formats. AC3

Users would need to set the resolution and bitrate based on their available bandwidth. Now we would be able to set much higher quality levels.
Reply With Quote
  #14  
Old 08-16-2020, 11:55 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Great work, Josh.

That would be awesome to get 1080p working!

Last edited by KryptoNyte; 08-16-2020 at 12:23 PM.
Reply With Quote
  #15  
Old 08-16-2020, 02:57 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by KryptoNyte View Post
Great work, Josh.

That would be awesome to get 1080p working!
I did not specifically test 1080p, but I just did the following...

Code:
-f matroska -vcodec mpeg4 -b 4000 -s 1280x720 -acodec ac3 -r 29.97 -ab 192 -ar 48000 -ac 2 -threads 4
I sent a live tv stream of 1080p transcoded to 720p with 4000 bitrate with 2 channel ac3. It work flawless to my pixel 3xl on at&t prepaid wireless. Looks fantastic, and there were no hickups. I was also using ExoPlayer

This is a game changer for me. I can use my pixel to stream live tv out of the house in HD to ExoPlayer. Pixel does not have native mpeg2, so being able to do 720p/1080p realtime transcode would be awesome!

I am using a VM of Windows 10 hosted on Hyper-v. $ VCPU on Xeon E5620 CPU @ 2.4 ghz. It used ~50% cpu. So this should work on modest hardware.

Now for a good bit of coding work. I will need to make some modifications to the SageTV core to accept a handful of new parameters, than I will need to make a new settings screen in the Andriod mini client to be able to change the new settings. Might take a few weeks depending on how much time I can find. I will also need to submit a pull request to the Sage core for the changes.

Josh
Reply With Quote
  #16  
Old 08-16-2020, 04:29 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
Is a kickstarter worthwhile if it's just 5 or 10 of us contributing, or is there better way?
Reply With Quote
  #17  
Old 08-16-2020, 06:14 PM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by jvl711 View Post
I did not specifically test 1080p, but I just did the following...

Code:
-f matroska -vcodec mpeg4 -b 4000 -s 1280x720 -acodec ac3 -r 29.97 -ab 192 -ar 48000 -ac 2 -threads 4
I sent a live tv stream of 1080p transcoded to 720p with 4000 bitrate with 2 channel ac3. It work flawless to my pixel 3xl on at&t prepaid wireless. Looks fantastic, and there were no hickups. I was also using ExoPlayer

This is a game changer for me. I can use my pixel to stream live tv out of the house in HD to ExoPlayer. Pixel does not have native mpeg2, so being able to do 720p/1080p realtime transcode would be awesome!

I am using a VM of Windows 10 hosted on Hyper-v. $ VCPU on Xeon E5620 CPU @ 2.4 ghz. It used ~50% cpu. So this should work on modest hardware.

Now for a good bit of coding work. I will need to make some modifications to the SageTV core to accept a handful of new parameters, than I will need to make a new settings screen in the Andriod mini client to be able to change the new settings. Might take a few weeks depending on how much time I can find. I will also need to submit a pull request to the Sage core for the changes.

Josh
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.
Reply With Quote
  #18  
Old 08-16-2020, 09:43 PM
cupp cupp is offline
Sage User
 
Join Date: Feb 2008
Location: Michigan
Posts: 53
Thanks for working on this. I also would like to donate for all the hard work.
__________________
Amd 780g/athlonII x4 635/3 x 1 tb sata/4 gb ddr2 800/win7 32/sage 9/3xmvp/2xclient/2xhd200/
4xhd300/2xhvr2250/2xhdhrprime
Reply With Quote
  #19  
Old 08-17-2020, 05:27 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by KryptoNyte View Post
Is a kickstarter worthwhile if it's just 5 or 10 of us contributing, or is there better way?
I was thinking of setting up a Patreon account for people to support what I am doing for SageTV. I think that might be easier than a Kickstarter. What do you think?

Josh
Reply With Quote
  #20  
Old 08-17-2020, 09:15 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
What about even getting 1080i H.264 content to play in Placeshifter on a local LAN? I find that Placeshifter works ok for MPEG-2 1080i content, like from OTA, but not for H.264 1080i content that is encoded by my HD-PVRs.
__________________
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
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
SageTV miniclient - transcoding? dmelnyk SageTV Clients Development 1 10-02-2016 05:01 AM
SageTV & HDHomeRun PLUS w/ Transcoding h.264 bigbill Hardware Support 12 06-03-2014 06:33 AM
SageTV 7 and h.264 transcoding thegodfaza SageTV Software 1 11-25-2010 12:12 AM
Info on SageTV transcoding MrFusion SageTV Software 4 11-09-2009 07:07 AM
SageTV Transcoding ptaylor SageTV Software 0 02-17-2007 03:39 PM


All times are GMT -6. The time now is 11:14 AM.


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