|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#2101
|
|||
|
|||
Quote:
__________________
unRAID Server: Intel Core 2 Quad CPU Q9550, 8GB RAM, Dual 500GB SSD cache and 6 TB pool, with SageTVv9, openDCT and Plex Media Server each in Dockers. Sources: HRHR Prime with Verizon Fios CableCard Client: HD300 |
#2102
|
|||
|
|||
Image creep in Docker container?
I'm trying to isolate the source of an image creep in my unRaid docker implementation. I'm using the dockers SageJava8, cAdvisor, LogitechMediaServer and OpenDCT. For the OpenDCT container, I've noticed a number (150+) of directories in the /tmp directory that are of the format "javacppXXXX" where XXXX is some seemingly random number. The contents of the directories appear to be the same and each has the following contents:
Code:
/tmp/javacpp929315595318257: total 26988 drwxr-xr-x 1 root root 462 Jul 1 03:02 . drwxrwxrwt 1 root root 5442 Aug 5 06:38 .. -rw-r--r-- 1 root root 18617968 Jul 1 03:02 libavcodec.so.56 -rw-r--r-- 1 root root 1527880 Jul 1 03:02 libavfilter.so.5 -rw-r--r-- 1 root root 4260424 Jul 1 03:02 libavformat.so.56 -rw-r--r-- 1 root root 342048 Jul 1 03:02 libavutil.so.54 -rw-r--r-- 1 root root 584336 Jul 1 03:02 libjniavcodec.so -rw-r--r-- 1 root root 291072 Jul 1 03:02 libjniavfilter.so -rw-r--r-- 1 root root 513776 Jul 1 03:02 libjniavformat.so -rw-r--r-- 1 root root 554664 Jul 1 03:02 libjniavutil.so -rw-r--r-- 1 root root 44184 Jul 1 03:02 libjnipostproc.so -rw-r--r-- 1 root root 49272 Jul 1 03:02 libjniswresample.so -rw-r--r-- 1 root root 77216 Jul 1 03:02 libjniswscale.so -rw-r--r-- 1 root root 126904 Jul 1 03:02 libpostproc.so.53 -rw-r--r-- 1 root root 103712 Jul 1 03:02 libswresample.so.1 -rw-r--r-- 1 root root 511496 Jul 1 03:02 libswscale.so.3 I've got some more research to do on the other docker images, but this was one quick thing that caught my eye and I thought I would look for some better insights. Thanks.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4 Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data) Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage |
#2103
|
||||
|
||||
Quote:
you can test this by running: Code:
docker exec -ti OpenDCT service opendct stop
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room Last edited by Fuzzy; 08-05-2017 at 11:39 AM. |
#2104
|
|||
|
|||
Thanks for the quick reply. I use the nightly backup plugin so I'm sure that the docker shutdown is not clean. I'm away from my server at the moment but will try what you suggest on my return. IIRC, I think the backup plugin allows for some pre and post scripts to fire. I'm going to dig in that a little more.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4 Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data) Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage |
#2105
|
|||
|
|||
Using
Code:
docker exec -ti crazifuzzy-opendct service opendct stop I'm not sure if a natural crash or the daily backup produced all those artifacts. With over 150 instances it would roughly correlate to the number of times the daily backup routine has run. I put this script as a custom stop script in the backup plugin. Code:
#!/bin/bash docker exec -ti crazifuzzy-opendct service opendct stop > /mnt/cache/appdata/Community_Applications_Scripts/stop/crazifuzzy-opendct-stop.log
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4 Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data) Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage |
#2106
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#2107
|
|||
|
|||
OpenDCT Config for Dummies
I have been working on 2 issues, both of which have brought me back to this thread.
1 - Music Choice Channels 2 - Closed Captioning 1 - Music Choice Channels - I am running the .5.28 version. If I tune to a Music Choice Channel (RCN Provider) it takes about 15 seconds to tune, it then display "no signal" for about 8 seconds, and finally plays for about 15 seconds before it stops(?). If I record the show, I can then play it back with no issue. Limited testing and only tried playback after the recording is complete. Log attached. relevant entries at about 17:05 2 - Closed Caption - I am not clear if I have configured this correctly, but I enabled CCextractor ( consumer.ffmpeg.ccextractor_enabled=true) and installed the LAV filters, which I set for H.264 n Video\audio. Quote:
Should I be able to see captions for exsisitng recordings or only new recordings?
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client |
#2108
|
|||
|
|||
Quote:
__________________
Home Network: https://karylstein.com/technology.html |
#2109
|
||||
|
||||
Quote:
I believe you're using the Docker version of OpenDCT. In that case, you'll want to change over to FFmpeg by changing the lines that look like this to this: Code:
sagetv.device.parent.<unique_id>.consumer=opendct.consumer.FFmpegTransSageTVConsumerImpl
__________________
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 |
#2110
|
|||
|
|||
Quote:
Quote:
Quote:
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client |
#2111
|
||||
|
||||
Quote:
Quote:
Code:
consumer.ffmpeg.upload_id_enabled=true
__________________
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 |
#2112
|
|||
|
|||
Subtitles - Closed Caption
Making progress. I am generating .srt files.
Here is what I have in summary LAV filter installed and set for H.264 ATI atimpenc.dll installed and set for MPEG Stop and disable SageTV Service Stop Open DCT (from Menu) update C:\ProgramData\OpenDCT\config\opendct.properties consumer.ffmpeg.upload_id_enabled=false (tried with and without) consumer.ffmpeg.ccextractor_enabled=true Start Open DCT (from Menu) Enable and Start SageTV Service I now see 2 new entries in the "Recording Details" window 1 Subtitles check box 2 Subtitle language menu The Subtitle Language menus contains 1 - No subtitles 2 - #1 CC1 (Default) 3 - #2 CC2 Ticking the subtitles checkbox in the recordings windows is linked to the radio button in the sub-menu. I also see a different menu on the right side "Caption and Subtitle options" which offers more configuration options than the default menu. Not clear on what the difference is between Closed Caption and Subtitiles. The subtitle menu refers to CC. There are some issues: SRT Files are not deleted for live TV (recordings) when the recording is deleted. Two files are created, CC1 and CC2. CC1 appears to grow in size, but is still small (however as of this note I do not have a full hour show rerecorded successfully with working subtitles). CC2 appears to remain a 1KB. Both files appear to have a time that is the beginning of the show, not the end. I began testing during an episode of Dr. Who. I had issues with subtitles coming and going and not returning reliably with the subtitle checkbox toggle. I then recordered a complete episode of StartTrek Next Gen. I left the subtitle checkbox off (default) and made no changes during the recording. I went back after the show was recordered and noticed that the subtitles displayed were from the previous episode of Dr. Who. In addition there were 4 options in the subtitle menu for Star Trek, 2 each for #CC1 and #CC2. None of the other selections displayed subtitles. See attached jpg and files. Subtitles appear to just stop being displayed. I was watching NCIS, it went to commercial which displayed subtitles, the second commercial did not display subtitles directly after the transition. The subtitles did not return when NCIS did. Issues persist after stopping and restarting both the sage services and OpenDCT. Subtitles are not working for MPEG programs, only H.264 files. I was getting captions for MPEG files (but not clear all files have them?). Channel tuning appears to be slower. If I understand this, subtitles must be generated during the recording process (not applicable to existing recordings) where as Close Captions appear to work (with no .srt files) based upon the existing files (MPEG only). More testing required, but any advise on the MPEG config or expectations would be helpful.
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client |
#2113
|
||||
|
||||
Quote:
Often CC2 will remain empty because there just isn't anything there in the video. The first thing I would always suggest is not being exactly at live or you might never see any subtitles. That's because they have to be written to disk and they are always marginally behind what SageTV considers live. The second thing is that SageTV doesn't support multi-part files with subtitles. That means if you stop playback on a live feed, then start it again so that there is now a new file, SageTV will only read the first .srt file and not the one for the next segment of the recording. I looked at fixing this, but it started to get daunting enough that I all but gave up. I don't know what to say about the Dr. Who subtitles showing up for TNG.
__________________
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 |
#2114
|
|||
|
|||
Thanks for the additional info. all this tracks with my testing.
I'll delete the srt files and reboot and try to get some clean results. any additional testing scenarios you can suggest would be helpful. Without setting the parameter Code:
consumer.ffmpeg.upload_id_enabled= Do you know if this is similarly true for H.264 and it's a matter of finding the right decoder, or am I making an invalid inference?
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client |
#2115
|
||||
|
||||
Quote:
If you recorded from antenna or cable, CC (closed captions) were probably embedded in the broadcast. If you used a digital tuner (HDHR, Prime, etc.) that grabs the broadcast stream in its original format WITHOUT transcoding, the cc should still be there. However, if you use a capture device that re-encodes the show in a new format (HDPVR, Colossus, etc.), the captions usually get lost in the conversion.
__________________
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 |
#2116
|
|||
|
|||
I have been using a HDHR-CC on RCN cable for about 3 years. I have gone from SageDCT to Primenet encoder on v7 to a clean install of OpenDCt on V9. I did have an HDHR-US capturing OTA, but am not reinstalling this due to poor signal quality on most recordings.
I reset the MPEG encoder to the ATI one and now get CC with no issues on MPEG recordings. Thinking more since my last post, I expect that CCextractor (full version) can be used to create SRT files for existing H.264 files that I want to see, so yah the info is there. It's just not as transparent on the H.264 files. I think if I record H.264 with out interrupting it, that this config should work. As I seem to get both, what determines if I get an H.264 or MPEG file? I have never seen a VC-1 file (that I know of). I akso note that the recordings menu is different for H.264 and MPEG. MPEG is missing the left side subtitle entries and the enhanced right side caption options.
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client Last edited by RangerZ; 08-08-2017 at 06:13 PM. |
#2117
|
||||
|
||||
My understanding of digital video recording is this:
Audio, video, and text (cc) are all encoded separately using different codecs. -Audio uses codecs such as MP3, aac, AC-3, etc. -Video uses codecs such as mpeg-1, mpeg-2, h.264, h.265, etc. - not sure about text These separate items then get multiplexed (muxed) together and stored in a container file. The container file acts sort of like a zip file, keeping everything together. Common container file extensions are: .mpg, .mkv, .ts, .mp4 Different container types support different features (for example, some support menus, playlists, multiple audio tracks, etc.). This gets more confusing because "mpeg" can mean a video codec (mpeg1 and mpeg2) or an audio codec (MP3), or a container type. Also, there are at least two types of mpeg containers: .mpg (mpeg program stream) and .ts (mpeg transport stream). Because the container and the codec are separate things, you can't always tell what video codec was used by looking at the file name extension. For example, a .mkv file could contain video encoder as MPEG2 or h.264. You need to use a program like media info to peer inside the container and see what's really in there. When the US switched from analog to digital for broadcast tv, they adopted a standard called ATSC. The original version of this standard used MPEG2 for video encoding. So all broadcast tv uses this format now. There are newer revisions to the ATSC standard now that support more advanced codecs, but they have not been adopted by TV broadcasters yet (they are slow to change, since TVs need to be updated to work with any new standards). Most cable and satellite in the US used the same standards initially. But many of them have started transitioning some or all channels to h.264. Some may even be using h.265. These newer codecs are more efficient and require less bandwidth to transmit. Because they have a closed system where they control the equipment, they can do this. When you record with a device like the HDHR, you get the raw data in its original format. So if it was broadcast as h.264, that's what you get. Sage remuxes it and stores it in a file on your computer. By default it uses an mpeg transport stream container (.ts) for the HDHR, but you can change it to use an mpeg program stream container (.mpg) if you want by editing a property. If you use OpenDCT to control your HDHR or Prime, it can be configured to use ffmpeg to remux or even transcode with a different codec, but if you do this, you may lose some information (such as the closed captions). If you use a set top box (STB) with a device like the HD-PVR, the STB decodes the video and puts out an analog stream. The HDPVR grabs the analog stream and converts it to digital format. The analog stream coming out of the STB can't handle multiple separate streams, so there is no closed captioning information. If you want cc, you must use your STB remote to turn it on. Then the STB will mix them into the video and they will be on all the time (you won't be able to turn them on and off when you play back the recording). So in this case you are just capturing exactly what is coming out of your cable box: one audio stream and one video stream.
__________________
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 |
#2118
|
|||
|
|||
Digital Video recording Summary
@Tiki, this explanation is GOLD, thank you.
The recording info gives me all the info, which is an MPEG2-TS container with either the MPEG2 or H.264 video, and 2 Dolby Digital audio tracks (5.1 and stereo). When you refer to broadcaster above, not sure if you mean the station (CBS, USA) or in my case RCN. I think I am noticing virtually all USA shows are H.264, and most CBS shows are MPEG2. Current have a 2000 vintage SVU coming thru in h.264 on USA and last night a 2016 NCIS in MPEG2. Do I care about the container (TS vs MPEG2)? Back to the original issue, I am noticing that some time after deleting the .srt files I lost the menu options for subtitles on H.264. They did not return after a reboot. I added comskip, but I believe after this issue started.
__________________
SageTV Server\Client V9 (9.1.5.683) on Intel i5-4570 3.20GHZ, 8GB RAM, Windows 7 Pro 64 bit SP1, NVIDIA GeForce GTX 750 Ti OpenDCT .5.28 SD HDHR3-CC w/ RCN Cable FW:20161116 SD HDHR-US (OTA) FW:20150615 Firestick-Lite with Android Mini-Client |
#2119
|
|||
|
|||
Just a quick follow up. Closing OpenDCT cleanly before the backup plugin closes the docker appears to have eliminated the artifacts. Thanks again.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4 Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data) Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage |
#2120
|
||||
|
||||
When there is no .srt file, Sage does not show the Subtitle check box or the Subtitle menu options, since as far as it is concerned, there are no subtitles to display...
__________________
SageTV Server: i5-3470, 24GB, Radeon R7-240 2GB, 12TB, Win10 Pro 20H2, HDHR PRIME for Xfinity with OpenDCT 0.5.32; HDHR Connect Duo for OTA, Java: 64-bit 1.8.0_271, SageTV x64 9.2.2.903 SageTV Client: i5-6600K, 16GB, GeForce GT730 2GB, Win10 Pro 20H2, Java: 64-bit 1.8.0_271, SageTV x64 9.2.2.903 |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
|
|
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 |