SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-27-2017, 08:38 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
OpenDCT + Transcoding + Comcast

I am looking to try on-the-fly transcoding of a CableCard stream. The Comcast streams require transcoding to allow stable playback on mini clients. I currently transcode after using the abilities built-in to SageTV. So, I know transcoding fixes my playback issues. This does not work for live TV and causes other issues, (navigation of the UI on a mini client freezes frequently when a transcoding job is running and last week I had a runaway transcoding job that almost brought down the server).

What would be the best transcoding parameters to clean up a Comcast stream for Placeshifter/ExoPlayer that is a good balance between quality and speed?
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #2  
Old 05-27-2017, 09:45 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
The profiles that come with OpenDCT are targeted for quality and speed. The trade-off is file size. The differences are things like resultant resolution (e.g. 1080i becomes 720p or 1080p) and frame-rate (e.g. 30fps interlaced becomes 60fps deinterlaced or 30fps deinterlaced). These changes have their own performance gains that can't be offset much by changing the encoding quality.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #3  
Old 05-27-2017, 10:04 AM
Korny Korny is offline
Sage Advanced User
 
Join Date: Nov 2010
Location: Minnesota
Posts: 87
Just a couple of semi related questions,
1 Do all the channels not work or only some of them? I'm just wondering if it's a mpeg2 vs mpeg4 issue since many Android boxes don't have mpeg2 hardware decoding.
2. Is your Android box hard wired to WiFi? Mpeg2 over WiFi can be touchy
3 Does Opendct have the ability to only transcode mpeg2 and pass on mpeg4?
__________________
Intel I7 4790k @ stock speeds, 32 GB of ram. 8TB of recording space.
Reply With Quote
  #4  
Old 05-27-2017, 10:14 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Korny View Post
Just a couple of semi related questions,
3 Does Opendct have the ability to only transcode mpeg2 and pass on mpeg4?
The profiles are mostly tuned for interlaced content that's not already H.264 because that was the issue this feature was originally added to address. It's very easy to adjust that behavior in a large number of directions. To answer your question more plainly, yes.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #5  
Old 05-27-2017, 10:21 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by Korny View Post
Just a couple of semi related questions,
1 Do all the channels not work or only some of them? I'm just wondering if it's a mpeg2 vs mpeg4 issue since many Android boxes don't have mpeg2 hardware decoding.
2. Is your Android box hard wired to WiFi? Mpeg2 over WiFi can be touchy
3 Does Opendct have the ability to only transcode mpeg2 and pass on mpeg4?
I use Placeshifter on PCs on the LAN (wired mostly) and remotely (WiFi over the Internet), and Android on the LAN (ShieldTV wired and Galaxy Tab S3 WiFi), and remotely (WiFi over the Internet). My main problem was that skipping didn't work properly. It started with just a couple channels a year or two ago, but kept getting worse until most everything did not skip properly. I could not find any correlation between channels, video or audio format, tuner, etc. (On my previous tablet when at home I started using Phoenix Remote and MX Player Pro which played/seeked seamlessly.)

When I was last trying to figure this out my recordings were all MPEG2 and a mix of 720p and 1080i. On the ShieldTV I want to use ExoPlayer to get bitstreaming audio and that added more pickiness. Transcoding to H.264 after recording seems to have addressed things. I had a problem last week with playback being choppy, but when I came home I found there was a long-running transcoding process using a bunch of memory causing the system to swap and gobbling up most of the CPU. So I'm pretty sure that was the culprit.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #6  
Old 05-27-2017, 02:49 PM
NetworkGuy NetworkGuy is offline
Sage Fanatic
 
Join Date: Dec 2009
Location: Central NJ
Posts: 869
Quote:
Originally Posted by KarylFStein View Post
I use Placeshifter on PCs on the LAN (wired mostly) and remotely (WiFi over the Internet), and Android on the LAN (ShieldTV wired and Galaxy Tab S3 WiFi), and remotely (WiFi over the Internet). My main problem was that skipping didn't work properly.
I have ALWAYS had problems with Placeshifter skipping even on the LAN. The problems disappear when I use the SageTV Client.

Why no switch to the Client for the LAN PC?
__________________
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
  #7  
Old 05-27-2017, 03:57 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Quote:
Originally Posted by NetworkGuy View Post
I have ALWAYS had problems with Placeshifter skipping even on the LAN. The problems disappear when I use the SageTV Client.

Why no switch to the Client for the LAN PC?
Just because Placeshifter is easier and for laptops.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #8  
Old 05-28-2017, 07:20 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I'm a little confused by the properties files. Basically my goal is to get CableCard streams into a format that will fix whatever weirdness Comcast is putting into them that breaks things on mini clients without visually changing images on a large screen. I'm a little under water here so maybe a dumb question, but would that mean copying the ultrafast1080p file to something different then changing v.conf.t.deinterlace_only to false and v.conf.t.always to true would do what I want?

Is there some way to say transcode everything but keep the source properties (resolution and interlaced/progressive) the same? Would that even help?

Also, what sort of hit does this take on the CPU? On this last build I tried to match my "worst case" as transcoding 4 simultaneous 1080p streams over the Internet plus some overhead. My current CPU has a Passmark setting of a little over 9000 overall and a little over 2000 single threaded. If transcoding input streams is going to push it over the edge I do have a second server that is slightly less powerful, but very underutilized that could be used for transcoding input streams.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #9  
Old 05-28-2017, 08:40 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by KarylFStein View Post
I'm a little confused by the properties files. Basically my goal is to get CableCard streams into a format that will fix whatever weirdness Comcast is putting into them that breaks things on mini clients without visually changing images on a large screen. I'm a little under water here so maybe a dumb question, but would that mean copying the ultrafast1080p file to something different then changing v.conf.t.deinterlace_only to false and v.conf.t.always to true would do what I want?
Yes. That would transcode everything including content that's already H.264. It would also convert 1080i to 1080p30.

Quote:
Originally Posted by KarylFStein View Post
Is there some way to say transcode everything but keep the source properties (resolution and interlaced/progressive) the same? Would that even help?
To my knowledge FFmpeg isn't very good at outputting interlaced content. If you can get something acceptable with the command line ffmpeg that's interlaced to interlaced, I will see what we can do to bring that into OpenDCT, but I have a feeling it will be even worse for the CPU than just deinterlacing.

Quote:
Originally Posted by KarylFStein View Post
Also, what sort of hit does this take on the CPU? On this last build I tried to match my "worst case" as transcoding 4 simultaneous 1080p streams over the Internet plus some overhead. My current CPU has a Passmark setting of a little over 9000 overall and a little over 2000 single threaded. If transcoding input streams is going to push it over the edge I do have a second server that is slightly less powerful, but very underutilized that could be used for transcoding input streams.
I would say with a very good CPU such as i5 Ivy Bridge 2.8GHz or better, allocate 1.5 cores per stream. For a worse performer such as the Phenom II CPU's around 3.0GHz, you'll be looking at closer to 2.5 cores per stream. The CPU power is definitely a little high and many configurations will struggle with just one stream.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
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
Need help with OpenDCT on Docker willieb SageTV for unRAID/Docker 5 03-07-2017 07:36 AM
opendct location mechling-burgh SageTV for unRAID/Docker 2 02-04-2017 08:37 PM
OpenDCT and R5000 checkbin Hardware Support 9 12-29-2016 12:54 PM
OpenDCT: Can I use it? SDeGonge Hardware Support 7 02-20-2016 10:27 AM
InfiniTV4 with OpenDCT tomdomm Hardware Support 58 02-03-2016 07:00 PM


All times are GMT -6. The time now is 05:32 AM.


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