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
  #1961  
Old 04-11-2017, 10:58 AM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Can two instances of Sage/Opendct share the same 6 hdhr tuners (3 devices)? I was wondering if I set the tuner pools with opposite merits, would they coexist happily (excepting of course if they run out of available tuners)? If it's possible, pooling would need to be enabled. But what would the lock settings need to be set to? Are there any other settings that would need to be tweaked? Or is this just not practical?

Thanks!
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.

Last edited by BobbyDing; 04-11-2017 at 02:29 PM.
Reply With Quote
  #1962  
Old 04-11-2017, 12:57 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Question: How do I tweak deinterlacing when encoding to 1080p? It doesn't seem to be working all that well with my interlaced channels.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #1963  
Old 04-11-2017, 05:16 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by BobbyDing View Post
Can two instances of Sage/Opendct share the same 6 hdhr tuners (3 devices)? I was wondering if I set the tuner pools with opposite merits, would they coexist happily (excepting of course if they run out of available tuners)? If it's possible, pooling would need to be enabled. But what would the lock settings need to be set to? Are there any other settings that would need to be tweaked? Or is this just not practical?

Thanks!
It can be done, but they will fight each other a lot because SageTV doesn't know what it can't use. nyplayer did something clever like what you're describing, but he set it up so that one of the instances was not allowed to force use of the tuners and the other instance was allowed for force use of the tuners. The first instance I described was a test machine and the second instance was his production machine. That means that any time the production machine needs a tuner regardless of what the test machine wants at the moment will always win. The test machine will just get what it can get or nothing if nothing is available without forcing the use of a tuner.

Quote:
Originally Posted by panteragstk View Post
Question: How do I tweak deinterlacing when encoding to 1080p? It doesn't seem to be working all that well with my interlaced channels.
Are you seeing combing? The logs should show if it actually detected the content as interlaced or not. If it's failing to detect interlaced content correctly, I'll need to fix that, but if it is finding it and the quality isn't great under some circumstances, you'll need to play with the settings below.

Code:
#===================================================================================================
# These are the default filter graph options for encoding to h264.
#===================================================================================================
# This filter is used if the content is determined to be interlaced. Since frame doubling is
# enabled, every frame must be deinterlaced or the video might have a variable frame rate. Special
# characters such as backslash (\) must be escaped (\\) in this file. opendct_dfps gets converted to
# double the input source framerate. This "hack" is needed or the output file will report that the
# stream is quadruple the original frame rate due to the input time base code. It is more efficient
# to let the filter graph handle this than to code the scaling on the Java side.
v.e.default.h264.deinterlace_filter=yadif=mode=2, mcdeint=mode=fast, scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filer is used if the content is determined to be progressive. opendct_fps gets converted to
# the input source framerate. This "hack" is needed or the output file may report that the stream is
# quadruple the original frame rate due to the input time base code. It is more efficient to let the
# filter graph handle this than to code the scaling on the Java side.
v.e.default.h264.progressive_filter=scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filter is used for any 720p content. 'default' is an alias for 'w*.h*' The left to right most
# specific setting always wins if there is a conflict.
# Ex. w1280.h720 > w1280.h* > w*.h720
v.e.w1280.h720.h264.progressive_filter=format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filter disables frame doubling for 1080i content so only 29.97 FPS needs to be processed.
v.e.w1920.h1080.h264.deinterlace_filter=yadif=mode=0, scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near
The very last line is likely of most interest to you since at least in the example file that's what's applied to 1080i when it's deinterlaced to 1080p. We are using yadif=mode=0 to deinterlace. It's literally the same way filtering is described when using FFmpeg with the addition of the opendct_fps helpers. You can change anything you see, but I would recommend keeping fps=fps=opendct_fps:round=near or the framerate might become a little variable.
__________________
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
  #1964  
Old 04-11-2017, 06:11 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Thanks. I'll check the logs and let you know if they show that interlaced content is not being detected. Otherwise I'll play around with the settings.

__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #1965  
Old 04-11-2017, 09:18 PM
tmalley tmalley is offline
Sage User
 
Join Date: May 2007
Posts: 11
Which version of OpenDCT to download

Old machine crapped out. Now have a Win 10 64bit CyberPowerPC with AMD FX 8350 and AMD Radeon Rx 480 graphics. Using Ceton infiniTV6 PCie. Sagetv7 is reinstalled. SageDCT web site not available and can't find another site to download it so found OpenDCT. Can't tell which of the 6 versions of 5.28.1 to download.... Downloaded JAVA 1.8.0-121 but don't know how to tell if 32 or 64 bit. What the F... is file type .rpm .deb and .msi and why do I care? Please help ASAP since I have NO SageTV!!!
Reply With Quote
  #1966  
Old 04-11-2017, 09:52 PM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
From the "stable" link in the first post of this thread, you would download;

OpenDCT_0.5.28_x86.msi
Reply With Quote
  #1967  
Old 04-12-2017, 06:41 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
.msi is an installer package for Windows.
.rpm and .dev are packages for Linux.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #1968  
Old 04-12-2017, 09:25 AM
tmalley tmalley is offline
Sage User
 
Join Date: May 2007
Posts: 11
Much appreciated. I'll give it a try.

Downloaded, installed..followed instructions by Daweeze..Working with no issues at this time.
Wife is happy again. Thanks to all.

Last edited by tmalley; 04-12-2017 at 12:40 PM.
Reply With Quote
  #1969  
Old 04-12-2017, 07:11 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Pausing

Still getting pausing after changing the consumers to RAW and changing the below settings


consumer.ffmpeg.thread_priority=9
consumer.media_server.thread_priority=9
consumer.raw.thread_priority=9


Can you take a look to see if there is anything in the logs?

Thanks

Chris
Attached Files
File Type: zip wrappe-logs.zip (147.9 KB, 139 views)
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1970  
Old 04-12-2017, 10:50 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by technazz View Post
Still getting pausing after changing the consumers to RAW and changing the below settings


consumer.ffmpeg.thread_priority=9
consumer.media_server.thread_priority=9
consumer.raw.thread_priority=9


Can you take a look to see if there is anything in the logs?

Thanks

Chris
All I can tell is that the streams keep stalling out. Their end is disconnecting from OpenDCT and as a result OpenDCT is closing the connection. Does this service permit multiple streams?
__________________
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
  #1971  
Old 04-13-2017, 10:46 AM
BobbyDing's Avatar
BobbyDing BobbyDing is offline
Sage Aficionado
 
Join Date: May 2009
Location: Central-West Florida
Posts: 467
Quote:
Originally Posted by EnterNoEscape View Post
It can be done, but they will fight each other a lot because SageTV doesn't know what it can't use. nyplayer did something clever like what you're describing, but he set it up so that one of the instances was not allowed to force use of the tuners and the other instance was allowed for force use of the tuners. The first instance I described was a test machine and the second instance was his production machine. That means that any time the production machine needs a tuner regardless of what the test machine wants at the moment will always win. The test machine will just get what it can get or nothing if nothing is available without forcing the use of a tuner.
Thank you. Is that done with the LOCK properties?
.
__________________
Athlon II Quad Core 3Ghz, 8GB Ram. 12GB Storage. 3 (x4) HDHR for OTA Across 2 Cities, HD200, 2x HD300.
Reply With Quote
  #1972  
Old 04-13-2017, 10:57 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by EnterNoEscape View Post
All I can tell is that the streams keep stalling out. Their end is disconnecting from OpenDCT and as a result OpenDCT is closing the connection. Does this service permit multiple streams?
Ok,

I have a limit of 4 connections from the same IP. When I watched recording, i only lost video, audio continued to play.

The 'source' sometimes has buffering issues and stalls from time to time but it is usually random. The space between the stalls seemed consistent thats why i thought something was going on with either the settings or the computer not keeping up.

T Hanks

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1973  
Old 04-13-2017, 03:15 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by BobbyDing View Post
Thank you. Is that done with the LOCK properties?
.
This is in the first post. I believe this should answer your questions about pooling.

This new feature enables OpenDCT to intelligently select a tuner based on merit and lock status in that order. It does two passes over the tuners. The first one tries to find the highest merit tuner that is not currently in use by SageTV; it checks each one in order to see if it's locked. If they are all either in use or locked, it then it goes through a shorter list of tuners not in use by SageTV, but locked and checks if it's allowed to unlock any of them forcefully. If it's not allowed on any of them, then it gives up. These locked checks are surprisingly fast. Since the InfiniTV devices do not have a locked indication like the HDHomeRun Prime devices, enabling pooling with only InfiniTV devices will just remap them based on merit.

To enable the pooling feature change the property pool.enabled from false to true.

Because of this new feature, the force unlock feature is now set per capture device. To enable forced unlocking, change the value of sagetv.device.<unique_id>.always_force_external_unlock to true for each device that you want this feature enabled on. The global setting no longer has any effect.
Merit is set by changing the value of sagetv.device.<unique_id>.encoder_merit. Higher numbers mean higher priority. This is also the merit that will be sent on discovery.

Pools are automatically assigned based on capture device type the first time you run OpenDCT. You can change the pools by changing the value of sagetv.device.<unique_id>.encoder_pool to another name for all of the capture devices that you want to put into a different pool. The name is case sensitive. Also be sure to not have any extra spaces. I highly do not recommend putting capture devices that cannot tune the same channels into the same pool. It will create a problem per paragraph two in the issue created for this feature.
__________________
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
  #1974  
Old 04-15-2017, 06:58 PM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by EnterNoEscape View Post
It can be done, but they will fight each other a lot because SageTV doesn't know what it can't use. nyplayer did something clever like what you're describing, but he set it up so that one of the instances was not allowed to force use of the tuners and the other instance was allowed for force use of the tuners. The first instance I described was a test machine and the second instance was his production machine. That means that any time the production machine needs a tuner regardless of what the test machine wants at the moment will always win. The test machine will just get what it can get or nothing if nothing is available without forcing the use of a tuner.



Are you seeing combing? The logs should show if it actually detected the content as interlaced or not. If it's failing to detect interlaced content correctly, I'll need to fix that, but if it is finding it and the quality isn't great under some circumstances, you'll need to play with the settings below.

Code:
#===================================================================================================
# These are the default filter graph options for encoding to h264.
#===================================================================================================
# This filter is used if the content is determined to be interlaced. Since frame doubling is
# enabled, every frame must be deinterlaced or the video might have a variable frame rate. Special
# characters such as backslash (\) must be escaped (\\) in this file. opendct_dfps gets converted to
# double the input source framerate. This "hack" is needed or the output file will report that the
# stream is quadruple the original frame rate due to the input time base code. It is more efficient
# to let the filter graph handle this than to code the scaling on the Java side.
v.e.default.h264.deinterlace_filter=yadif=mode=2, mcdeint=mode=fast, scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filer is used if the content is determined to be progressive. opendct_fps gets converted to
# the input source framerate. This "hack" is needed or the output file may report that the stream is
# quadruple the original frame rate due to the input time base code. It is more efficient to let the
# filter graph handle this than to code the scaling on the Java side.
v.e.default.h264.progressive_filter=scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filter is used for any 720p content. 'default' is an alias for 'w*.h*' The left to right most
# specific setting always wins if there is a conflict.
# Ex. w1280.h720 > w1280.h* > w*.h720
v.e.w1280.h720.h264.progressive_filter=format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near

# This filter disables frame doubling for 1080i content so only 29.97 FPS needs to be processed.
v.e.w1920.h1080.h264.deinterlace_filter=yadif=mode=0, scale=w='trunc(oh*a/16)*16':h='min(720\\,ih)':interl=0:flags=bilinear, format=pix_fmts=yuv420p, fps=fps=opendct_fps:round=near
The very last line is likely of most interest to you since at least in the example file that's what's applied to 1080i when it's deinterlaced to 1080p. We are using yadif=mode=0 to deinterlace. It's literally the same way filtering is described when using FFmpeg with the addition of the opendct_fps helpers. You can change anything you see, but I would recommend keeping fps=fps=opendct_fps:round=near or the framerate might become a little variable.
It is detecting interlaced content without issue. I changed some settings around and it seems to have improved things a bit. BTW, I'm also using transcode to 1080p if that makes a difference in filter settings.
__________________
SageTV Server: unRAID Docker v9, S2600CPJ, Norco 24 hot swap bay case, 2x Xeon 2670, 64 GB DDR3, 3x Colossus for DirecTV, HDHR for OTA
Living room: nVidia Shield TV, Sage Mini Client, 65" Panasonic VT60
Bedroom: Xiomi Mi Box, Sage Mini Client, 42" Panasonic PZ800u
Theater: nVidia Shield TV, mini client, Plex for movies, 120" screen. Mitsubishi HC4000. Denon X4300H. 7.4.4 speaker setup.
Reply With Quote
  #1975  
Old 04-18-2017, 09:48 PM
peternm22 peternm22 is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 709
Quick question about one of the settings "retune_enable=", is this the same as the SageTV setting "Always Tune Channel"?

I have "Always Tune channel" in SageTV set to false, but I noticed that my OpenDCT tuners (two BM3000's, using the USB-UIRT), are still changing the channel even if it is on the same channel.
Reply With Quote
  #1976  
Old 04-19-2017, 04:33 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by peternm22 View Post
Quick question about one of the settings "retune_enable=", is this the same as the SageTV setting "Always Tune Channel"?

I have "Always Tune channel" in SageTV set to false, but I noticed that my OpenDCT tuners (two BM3000's, using the USB-UIRT), are still changing the channel even if it is on the same channel.
That has to do with a monitoring feature. If that's set to true, OpenDCT will restart the capture device streaming if it stops streaming for a specific number of milliseconds. It's really only there because of the InfiniTV 6 Eth which will disappear from the network and some people didn't want to wait the full minute for SageTV to just tell OpenDCT to restart the recording. For your situation, it would be perfectly safe to set it to false since you're really not going to get any benefit.
__________________
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
  #1977  
Old 05-11-2017, 10:02 PM
ptaylor ptaylor is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 308
First, sorry this is a novel.... But I'm having some issues...

Used SageTV a long time ago, been running MythTV mostly for the last few years, but MythTV still doesn't seem to be nearly as good as SageTV was years ago, in my opinion (no disrespect intended to the Devs who work on it).

Anyhow, I am running UnRaid with the docker versions of SageTV and OpenDCT. I also have a Shield TV and have had some issues with the Android client. Sometimes it works great, other times it acts up. Tonight, i started playing a show and tried to back up a bit because it skipped a bit of the beginning, and it seemed to skip forward instead of back, multiple times, but I digress.

I pointed the Plex server built into the Shield to my UnRaid box where the SageTV recordings are stored. Since I started naming the shows with the season and episode, Plex seems to pick them up pretty well. Plex was running pretty slow though when I tried to skip, and it seems that Plex is transcoding the files to play back on the Shield. Since they are just MPEG2 in transport streams, and I thought the Shield should handle that with hardware, I'm a bit surprised that it was transcoding. I even tried forcing Plex to play it directly, but then it didn't seem to play at all. So, I tried pointing Kodi to that directory and I couldn't play the .ts files there either. Now, I had one file that I had transcoded to a regular MPEG file, and it would play back fine in Kodi, but not the .ts files.

Is there something special about these .ts files?

Tonight, SageTV was set to record the Amazing Race. With about 10 minutes left, I was looking through SageTV and noticed the dreaded red bar over the blank preview window. My recording was not really working. I tried to play it and was getting "No Signal". I shut down the OpenDCT and SageTV dockers and started my MythTV docker. It booted up and started recording the show (since it was set as a favorite in MythTV also), also in .ts format. I navigated to the Share where it was in Kodi and could play it fine, though it was only a bit over 6 minutes long..

Why would I get the "No signal" in SageTV, but it worked fine in MythTV?

I went into SageTV and looked at Past Airings of the Amazing Race, and the two listed (4/27 and 5/4) are both shown in italics, which means they were watched, right? That would seem to indicate that it worked before, but isn't now... (I've stopped the MythTV docker and started the SageTV dockers back up, and can confirm that the channel isn't coming in on SageTV, but the same channel works under MythTV.)

Any suggestions on getting everything working again in SageTV?
Reply With Quote
  #1978  
Old 05-12-2017, 05:43 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by ptaylor View Post
First, sorry this is a novel.... But I'm having some issues...

Used SageTV a long time ago, been running MythTV mostly for the last few years, but MythTV still doesn't seem to be nearly as good as SageTV was years ago, in my opinion (no disrespect intended to the Devs who work on it).

Anyhow, I am running UnRaid with the docker versions of SageTV and OpenDCT. I also have a Shield TV and have had some issues with the Android client. Sometimes it works great, other times it acts up. Tonight, i started playing a show and tried to back up a bit because it skipped a bit of the beginning, and it seemed to skip forward instead of back, multiple times, but I digress.

I pointed the Plex server built into the Shield to my UnRaid box where the SageTV recordings are stored. Since I started naming the shows with the season and episode, Plex seems to pick them up pretty well. Plex was running pretty slow though when I tried to skip, and it seems that Plex is transcoding the files to play back on the Shield. Since they are just MPEG2 in transport streams, and I thought the Shield should handle that with hardware, I'm a bit surprised that it was transcoding. I even tried forcing Plex to play it directly, but then it didn't seem to play at all. So, I tried pointing Kodi to that directory and I couldn't play the .ts files there either. Now, I had one file that I had transcoded to a regular MPEG file, and it would play back fine in Kodi, but not the .ts files.

Is there something special about these .ts files?

Tonight, SageTV was set to record the Amazing Race. With about 10 minutes left, I was looking through SageTV and noticed the dreaded red bar over the blank preview window. My recording was not really working. I tried to play it and was getting "No Signal". I shut down the OpenDCT and SageTV dockers and started my MythTV docker. It booted up and started recording the show (since it was set as a favorite in MythTV also), also in .ts format. I navigated to the Share where it was in Kodi and could play it fine, though it was only a bit over 6 minutes long..

Why would I get the "No signal" in SageTV, but it worked fine in MythTV?

I went into SageTV and looked at Past Airings of the Amazing Race, and the two listed (4/27 and 5/4) are both shown in italics, which means they were watched, right? That would seem to indicate that it worked before, but isn't now... (I've stopped the MythTV docker and started the SageTV dockers back up, and can confirm that the channel isn't coming in on SageTV, but the same channel works under MythTV.)

Any suggestions on getting everything working again in SageTV?
One of the things people don't know when they use the OpenDCT docker is that it's using the SageTV internal remuxer which is fine in many cases, but it doesn't do as well with poorly constructed streams (which is very common from many cable companies) as other remuxing methods like FFmpeg. When you do a normal OpenDCT installation, FFmpeg is what is used by default because it's the best choice. You'll want to stop the OpenDCT docker, then edit opendct.properties changing to the following values:

consumer.dynamic.default=opendct.consumer.FFmpegTransSageTVConsumerImpl
consumer.ffmpeg.upload_id_enabled=true

After doing that, save the changes and start the container again. You should have a much better experience.
__________________
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
  #1979  
Old 05-14-2017, 12:32 PM
ptaylor ptaylor is offline
Sage Aficionado
 
Join Date: May 2004
Posts: 308
Quote:
Originally Posted by EnterNoEscape View Post
You'll want to stop the OpenDCT docker, then edit opendct.properties changing to the following values:

consumer.dynamic.default=opendct.consumer.FFmpegTransSageTVConsumerImpl
consumer.ffmpeg.upload_id_enabled=true

After doing that, save the changes and start the container again. You should have a much better experience.
Ok - I shut down the OpenDCT container, changed the file, then restarted the container. After that, the file is changed back. I've tried it several times, and after the docker starts up, this setting reverts back to:

consumer.dynamic.default=opendct.consumer.MediaServerConsumerImpl

What am I doing wrong?
Reply With Quote
  #1980  
Old 05-14-2017, 03:07 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by ptaylor View Post
Ok - I shut down the OpenDCT container, changed the file, then restarted the container. After that, the file is changed back. I've tried it several times, and after the docker starts up, this setting reverts back to:

consumer.dynamic.default=opendct.consumer.MediaServerConsumerImpl

What am I doing wrong?
You're probably doing nothing wrong. I think the container is scripted to force MediaServerConsumerImpl on you. It might be easier to change sagetv.device.<unique_id>.consumer=opendct.consumer.DynamicConsumerImpl to opendct.consumer.FFmpegTransSageTVConsumerImpl for each capture device.

I know that the docker scripts don't manipulate those values.
__________________
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: 2 (0 members and 2 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
ATI TV Wonder Digital Cable Tuner & SageTV nyle Hardware Support 4 02-17-2009 10:12 PM
ATI TV Wonder Digital Cable Tuner rajczi Hardware Support 4 01-14-2008 08:24 PM
ATI TV Wonder™ Digital Cable Tuner dadams Hardware Support 4 01-09-2007 10:55 AM
Digital Cable - one guide - need HD on one tuner reg tv on other Kimper SageTV Beta Test Software 14 11-27-2006 08:15 PM
Multi-tuner Digital Cable mlbdude SageTV Software 0 06-26-2003 01:08 PM


All times are GMT -6. The time now is 08:46 PM.


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