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
  #81  
Old 12-07-2020, 04:04 PM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
Quote:
Originally Posted by jvl711 View Post
Good news everyone!

I have completed coding what I believe is the last major feature, Media Format Detection. I have pushed another Alpha to my Patreon supporters to try out. If I do not hear any negative feedback, I plan to publish this as a plugin. It will be a beta for a while....

At first I am only going to release x64 windows build. The x64 build will work with 32bit SageTV as long as your OS is 64 bit. I know I am not showing a lot of love for the linux users... I am sorry, it just happens that my development platform is windows, and I need to get a decent working Linux machine to do the Linux builds.

Let me know if you guys have any questions.

Josh
Does that mean it will correctly detect .AVI files now? Just wondering because the version I'm currently running will play .AVI files but will not track with playback meaning you cannot skip. It will only allow play or pause.
Reply With Quote
  #82  
Old 12-08-2020, 08:29 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by sacrament055 View Post
Does that mean it will correctly detect .AVI files now? Just wondering because the version I'm currently running will play .AVI files but will not track with playback meaning you cannot skip. It will only allow play or pause.
That is interesting. I am not sure if that is a SageTVTranscoder thing or not. What device are you playing back the AVI on? Does SageTV properly detect the duration of the file?
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #83  
Old 12-08-2020, 10:12 AM
sacrament055 sacrament055 is offline
Sage Aficionado
 
Join Date: Jul 2007
Posts: 474
It's happening on both Windows clients and Android clients and I believe it started around the time of an update to the server that allowed it to correctly detect HEVC files.

Timeline shows the video as 0 length.

I do recall that there was an option used when the HEVC detection came out to tell sage to re-detect all videos (maybe I need to do that again?)
Reply With Quote
  #84  
Old 12-11-2020, 03:32 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by sacrament055 View Post
It's happening on both Windows clients and Android clients and I believe it started around the time of an update to the server that allowed it to correctly detect HEVC files.

Timeline shows the video as 0 length.

I do recall that there was an option used when the HEVC detection came out to tell sage to re-detect all videos (maybe I need to do that again?)
Is it possible for you to share an example with me. I have a Nextcloud server if you need a place to upload too. I can send you a link in a private message.

I would be willing to attempt to figure out what is going on. I might be able to at a minimum provide some insight.

Thanks,
Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #85  
Old 12-11-2020, 03:33 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
I am super close to posting a beta for the new SageTVTranscoder. I am just working on automating as much of the build and publish as possible as part of the first release. I am hoping to have something out this weekend if things go as planned.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #86  
Old 12-15-2020, 07:53 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Smile Beta SageTVTranscoder Plugin released

Hi All,

I have released the SageTVTranscoder Plugin to the repository. This is available for use. This is currently only available for Windows x64 bit systems. You can use it on both x32/x64 SageTV installs. We should be able to compile this for linux without much issue.

Question: Where do you guys think I should post this on the forums? This should work for most version of SageTV. Should I make a new post under GitHub development? Should I place it under one of the Customization sub forums?

Why should I care about this?: Good question. I will try and post some of the reasons this plugin is important.
  • SageTV can now transcode/encode with newer codecs like h265
  • SageTV can now identify newer codecs like h265 and others (I still recommend my other plugin for this)
  • Performance increases. It is able to identify some content in fractions of a second that used to take many seconds. I would think that encoding/decoding performance in some circumstances may be quicker.
  • Stability. This is based on the most up to date version of FFmpeg (4.3.1). This version is many years newer, and should be much more stable.
  • I am sure there are more that I am not aware of.
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #87  
Old 12-15-2020, 08:16 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by jvl711 View Post
Hi All,

I have released the SageTVTranscoder Plugin to the repository. This is available for use. This is currently only available for Windows x64 bit systems. You can use it on both x32/x64 SageTV installs. We should be able to compile this for linux without much issue.

Question: Where do you guys think I should post this on the forums? This should work for most version of SageTV. Should I make a new post under GitHub development? Should I place it under one of the Customization sub forums?

Why should I care about this?: Good question. I will try and post some of the reasons this plugin is important.
  • SageTV can now transcode/encode with newer codecs like h265
  • SageTV can now identify newer codecs like h265 and others (I still recommend my other plugin for this)
  • Performance increases. It is able to identify some content in fractions of a second that used to take many seconds. I would think that encoding/decoding performance in some circumstances may be quicker.
  • Stability. This is based on the most up to date version of FFmpeg (4.3.1). This version is many years newer, and should be much more stable.
  • I am sure there are more that I am not aware of.
Hi. So for Windows 7, 32 bit users, the new features do not function, but it is installable and still useable as it previously was?
__________________
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
Reply With Quote
  #88  
Old 12-15-2020, 08:29 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by tvmaster2 View Post
Hi. So for Windows 7, 32 bit users, the new features do not function, but it is installable and still useable as it previously was?
I am a little confused by your question.

This SageTVTranscoder.exe is compiled as a 64bit executable. It will only run on a 64bit windows OS.

I am going to expand with more builds over time. x32 and Linux.
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #89  
Old 12-15-2020, 08:52 AM
tvmaster2's Avatar
tvmaster2 tvmaster2 is offline
SageTVaholic
 
Join Date: Jun 2005
Location: tarana
Posts: 4,240
Quote:
Originally Posted by jvl711 View Post
I am a little confused by your question.

This SageTVTranscoder.exe is compiled as a 64bit executable. It will only run on a 64bit windows OS.

I am going to expand with more builds over time. x32 and Linux.
Okay, that clears up my confusion with this sentence: “This is currently only available for Windows x64 bit systems. You can use it on both x32/x64 SageTV installs.”
thanks
__________________
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
Reply With Quote
  #90  
Old 12-15-2020, 09:13 AM
CptKirk CptKirk is offline
Sage Aficionado
 
Join Date: Sep 2010
Posts: 268
Quote:
(I still recommend my other plugin for this)
Can we have both of your plugins running at the same time?

MediaFormatParser Plugin and SageTVTranscoder Plugin
__________________
SageTV running on: Win10 21H2
SageTV 9.2.6.976 (64 bit)
Java 1.8.0 311 (64 bit)
OpenDCT 0.5.32 (64 bit)
Clients: HD300 (x2)
HDHR3-CC Prime 20220822 (Comcast CableCard) - 3 Tuners
HDFX-4K Flex 20220822 (OTA) - 4 Tuners
Reply With Quote
  #91  
Old 12-15-2020, 09:17 AM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by CptKirk View Post
Can we have both of your plugins running at the same time?

MediaFormatParser Plugin and SageTVTranscoder Plugin
Absolutely. This is basically an updated version of the "CORE" SageTVTranscoder.exe that comes with SageTV. It should behave exactly as it does today, but better

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #92  
Old 12-15-2020, 01:15 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Can you clarify when the transcoder is used? Is this just used for the Linux client? Is it used for other Miniclients like HD200 or HD300 extenders? What about the full Windows install or the Windows client? Do they use the transcoder?
__________________
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
  #93  
Old 12-15-2020, 01:24 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by wayner View Post
Can you clarify when the transcoder is used? Is this just used for the Linux client? Is it used for other Miniclients like HD200 or HD300 extenders? What about the full Windows install or the Windows client? Do they use the transcoder?
Hi Wayner,

This will be used for HD100,HD200,HD300,Placeshifter or AndroidClient when transcoding is required. This is usually when the codec is not support by the device. Or when there is a low bandwidth connection.

If not using my Media Format detection plugin, this will be used to detect media files when the external format detector is called.

This is used in the internal encoder to reencode recordings and library content. I do not know the name of this in the frontend.

This is used to generate thumbnails for media files.

Thanks,
Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #94  
Old 12-15-2020, 02:38 PM
graywolf's Avatar
graywolf graywolf is offline
Sage Icon
 
Join Date: Oct 2009
Location: NC
Posts: 1,389
Quote:
This will be used for HD100,HD200,HD300,Placeshifter or AndroidClient when transcoding is required. This is usually when the codec is not support by the device. Or when there is a low bandwidth connection.
Do I understand correctly?
With this, would be able to watch HEVC files on the HD200/HD300 because it will transcode it to a format they understand?

What performance considerations would transcoding on the fly have?
Skip FWD/RWD impact/delay?

Sounds very interesting
Reply With Quote
  #95  
Old 12-15-2020, 02:43 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by graywolf View Post
Do I understand correctly?
With this, would be able to watch HEVC files on the HD200/HD300 because it will transcode it to a format they understand?

What performance considerations would transcoding on the fly have?
Skip FWD/RWD impact/delay?

Sounds very interesting
You are correct. It will transcode h265 to something the HD200/HD300 can playback. h265 does need some considerable horsepower to transcode though. My older server can not do it reliably, but it can do it enough so that I can confirm that it worked, but not good enough to watch.

Each users mileage will vary.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #96  
Old 12-15-2020, 03:13 PM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Quote:
Originally Posted by jvl711 View Post
Hi All,


Question: Where do you guys think I should post this on the forums? This should work for most version of SageTV. Should I make a new post under GitHub development? Should I place it under one of the Customization sub forums?
I've always thought of the 'Customizations' sub-forum as a place for 'user-developers' to announce their UI wares; and the Development sub-forums for 'core-developers' to advance the state of Open Source SageTV package; so Github Development?


What is the 'repository'? It doesn't look like I can install it via Setup>Plugins, even though it's called a Plugin.
__________________
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
  #97  
Old 12-15-2020, 03:24 PM
jvl711's Avatar
jvl711 jvl711 is offline
Sage Fanatic
 
Join Date: Jan 2004
Posts: 825
Quote:
Originally Posted by hb4 View Post
I've always thought of the 'Customizations' sub-forum as a place for 'user-developers' to announce their UI wares; and the Development sub-forums for 'core-developers' to advance the state of Open Source SageTV package; so Github Development?


What is the 'repository'? It doesn't look like I can install it via Setup>Plugins, even though it's called a Plugin.
You should be able to find it. It is under general, and it is called "SageTVTranscoder (FFmpeg) Windows x64. Let me know if you are still having issues.

Josh
__________________
Projects I am currently maintaining
SageTV Andoid Client
Media Format Parser Plugin
JavaFFmpegLibrary
SageTVTranscoder

If you like the work I am doing and would like to support it you can become a Patreon member.
Reply With Quote
  #98  
Old 12-16-2020, 12:34 AM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Found and installed it! Thanks, Josh. Hoping that it fixes the halts during the football game due the 6Mbs DSL service from my ISP.
__________________
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
  #99  
Old 12-16-2020, 10:51 AM
sic0048 sic0048 is offline
Sage Icon
 
Join Date: Nov 2007
Posts: 1,400
Quote:
Originally Posted by hb4 View Post
Found and installed it! Thanks, Josh. Hoping that it fixes the halts during the football game due the 6Mbs DSL service from my ISP.
Unless you are trying to watch the game by streaming your video to an off-site location (somewhere not on your local LAN where the SageTV server is located), I doubt this plugin will help.

It sounds like your problem is getting a stable feed INTO your LAN over the WAN due to your slow internet speed. This plugin can't help that because it takes a file that is already on your LAN and transcodes it to send somewhere else. If you are having trouble getting a stable feed onto the LAN, that occurs before this plugin can do anything about it.
__________________
i7-6700 server with about 10tb of space currently
SageTV v9 (64bit)
Ceton InfiniTV ETH 6 cable card tuner (Spectrum cable)
OpenDCT
HD-300 HD Extenders (hooked to my whole-house A/V system for synched playback on multiple TVs - great during a Superbowl party)
Amazon Firestick 4k and Nvidia Shield using the MiniClient
Using CQC to control it all
Reply With Quote
  #100  
Old 12-16-2020, 11:26 AM
hb4 hb4 is offline
Sage Aficionado
 
Join Date: Sep 2008
Location: Seattle, Wa
Posts: 346
Quote:
Originally Posted by sic0048 View Post
Unless you are trying to watch the game by streaming your video to an off-site location (somewhere not on your local LAN where the SageTV server is located), I doubt this plugin will help.
Sorry, I wasn't clear; The halts are showing up when trying to stream to a remote (off-site) location with poor (<6Mbs DSL) from a server location with pretty good bandwidth (~11Mbs upload).
__________________
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
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.