|
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 |
#381
|
||||
|
||||
Quote:
Code:
private String getPropertiesMessage() { String props = ""; props += "31\r\n"; props += "mmc/encoders/31035317/100/0/brightness=-1\r\n"; props += "mmc/encoders/31035317/100/0/broadcast_standard=\r\n"; props += "mmc/encoders/31035317/100/0/contrast=-1\r\n"; props += "mmc/encoders/31035317/100/0/device_name=" + this.getTunerName() + "\r\n"; props += "mmc/encoders/31035317/100/0/encode_digital_tv_as_program_stream=false\r\n"; props += "mmc/encoders/31035317/100/0/hue=-1\r\n"; props += "mmc/encoders/31035317/100/0/saturation=-1\r\n"; props += "mmc/encoders/31035317/100/0/sharpness=-1\r\n"; props += "mmc/encoders/31035317/100/0/tuning_mode=Cable\r\n"; props += "mmc/encoders/31035317/100/0/tuning_plugin=\r\n"; props += "mmc/encoders/31035317/100/0/tuning_plugin_port=0\r\n"; props += "mmc/encoders/31035317/100/0/video_crossbar_index=0\r\n"; props += "mmc/encoders/31035317/100/0/video_crossbar_type=100\r\n"; props += "mmc/encoders/31035317/audio_capture_device_name=\r\n"; props += "mmc/encoders/31035317/capture_config=2000\r\n"; props += "mmc/encoders/31035317/default_device_quality=Great\r\n"; props += "mmc/encoders/31035317/delay_to_wait_after_tuning=0\r\n"; props += "mmc/encoders/31035317/device_class=\r\n"; props += "mmc/encoders/31035317/encoder_host=" + this.localIPAddress + ":" + this.port + "\r\n"; props += "mmc/encoders/31035317/encoder_merit=0\r\n"; props += "mmc/encoders/31035317/encoding_host=" + this.localIPAddress + ":" + this.port + "\r\n"; props += "mmc/encoders/31035317/fast_network_encoder_switch=false\r\n"; props += "mmc/encoders/31035317/forced_video_storage_path_prefix=\r\n"; props += "mmc/encoders/31035317/last_cross_index=0\r\n"; props += "mmc/encoders/31035317/last_cross_type=100\r\n"; props += "mmc/encoders/31035317/live_audio_input=\r\n"; props += "mmc/encoders/31035317/multicast_host=\r\n"; props += "mmc/encoders/31035317/never_stop_encoding=false\r\n"; props += "mmc/encoders/31035317/video_capture_device_name=" + this.getTunerName() + "\r\n"; props += "mmc/encoders/31035317/video_capture_device_num=0\r\n"; props += "mmc/encoders/31035317/video_encoding_params=Great\r\n"; return props; } |
#382
|
||||
|
||||
I see what I needed for PROPERTIES. Thank you!
__________________
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 |
#383
|
||||
|
||||
No problem! I hope the info was helpful.
|
#384
|
||||
|
||||
So I wrote out my own communication methods for doing RTSP communication that are working very well. Now, I have started to do raw dumps from the RTP streams. Initially I was very confused because it seemed like it was missing several packets at random. I set up a thread-safe non-blocking queue so that the packets can be produced independent of the thread that processes them since I want to ultimately be able to ID the I frames when needed to implement the SWITCH command and I don't want processing overhead to potentially miss an incoming frame. Anyhow, the thing that fixed it was increasing the receiveBufferSize value. Apparently on Windows it defaults to 8192. I bumped it up several magnitude and it fixed the problem immediately. Maybe this parameter, if you are not already using it, could help with the occasional dropped packets you're seeing.
Also are you using the bytes at index 2-3 to determine that you are missing a packet or are you seeing that somewhere else?
__________________
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 |
#385
|
||||
|
||||
Quote:
1. My network was dropping packets. (Confirmed that this is not a problem with tests with HDHomeRun_config app). 2. blocking wait writing to ffmpeg process or mediaserver (confirmed this was not an issue by monitoring the size of the buffered output streams) I am now looking into potential garbage collection pauses. I am thinking that I create a ton of objects on the heap with all of the input output stream transfers that occur. There are byte arrays everywhere!!! I am trying a concurrent garbage collection profile to see if that fixes it. |
#386
|
||||
|
||||
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 |
#387
|
||||
|
||||
Quote:
http://docs.oracle.com/javase/7/docs...ationInfo.html
__________________
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 |
#388
|
||||
|
||||
This is actually running outside of Sage. It has been driving me insane trying to figure it out.
|
#389
|
||||
|
||||
Quote:
I have traced almost everything I could think of and saw no correlation to the pauses. Now I think there is a possibility that the pauses might have been coming from reading from STDIN to accept commands from the user. I am testing with that code removed for a while to see if that is where the issue is. I will report back. Josh |
#390
|
|||
|
|||
Will the PrimeNetEncoder be able to handle MPEG-4/h.264 video ... Xfinity/Comcast in my area is changing over to this format beginning 10/25.
Nick stated that the HDHomerun primes already have the firmware upgrade to handle this conversion. |
#391
|
|||
|
|||
Quote:
Same here. I think we're neighbors. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#392
|
|||
|
|||
I wonder what the new boxes look like.???
|
#393
|
|||
|
|||
Can't say I care much about the appearance as long as they don't follow the annoying new trend of fashionable enclosures that make it impossible to stack with other components, or mount to a wall.
Most important feature for me would be Component out (although I stopped using analog capture a while ago). I only have the STB as a backup in case my server goes down or they decide to copy protect everything without notice. -uberpixel
__________________
{Server} | i5-3330S | Z77X-UD5H | 8gb DDR3 | Windows 10 Pro | {Tuners} | (1) HDHomerun (OTA) | (1) HDHomerun Prime + OpenDCT on Comcast | {Client} | (2) HD300 Extenders | (1) PC Client | Mi Box Android Client | FireTV Stick | |
#394
|
|||
|
|||
I thought Comcast was going to swap my market (Atlanta) to MPEG4 in August, but they still haven't. My old box (Motorola DCT) was not compatible with MPEG4.
Before I got the Prime and started using Primenetencoder, I tried the Comcast non-DVR box and it was a Pace RNG 110. It does have component. It also has a firewire port, but comcast disable video output on it and I could not use it to record like on my old box. Just FYI, I believe all Comcast boxes are now Residential Network Gateways (RNGs) http://www.dslreports.com/faq/17171 When Comcast finally switches over to MPEG4, I'll update and let everyone if Primenetencoder works for me. I'm keeping my fingers crossed it will work without a hitch. |
#395
|
|||
|
|||
Hello,
I have been trying to get this to work and not succeeding. I have a new HDHomeRunPrime. I have tested that it works outside of Sage, it plays TV just fine on my PS3. Within Sage I see all three tuners, and I can configure them. Sage says they are functioning. However, I get No Signal when I watch TV. The file in the recording folder is not growing in size, just sits at 0 bytes. I have followed the instructions (and double checked them a few times too), and am pretty certain it is all configured ok. The Tuner log just says: Code:
10/02/2015 13:01:04 - Start commmand received: START PrimeNetEncoder 1321CEC6-0 Digital TV Tuner|343008772|804|2887610529074|\\zeus\sage\AccessHollywood-S20E22-33162424-1.ts|Great 10/02/2015 13:01:04 - ------------------------------------------------------------------------------- 10/02/2015 13:01:04 - Switching Channel for Tuner: 1321CEC6 0 10/02/2015 13:01:04 - ------------------------------------------------------------------------------- 10/02/2015 13:01:04 - Channel: 804 10/02/2015 13:01:04 - File: AccessHollywood-S20E22-33162424-1.ts 10/02/2015 13:01:04 - UploadID: 343008772 10/02/2015 13:01:04 - Quality: Great 10/02/2015 13:01:04 - Local IP: 10.0.0.5 10/02/2015 13:01:04 - Listening Port: 5000 10/02/2015 13:01:04 - Stream listening Port: 7000 10/02/2015 13:01:04 - Checking to see if the tuner is locked. 10/02/2015 13:01:04 - Switch channel: 804 10/02/2015 13:01:04 - Using Lockkey: 496916022 10/02/2015 13:01:04 - Command output: null 10/02/2015 13:01:04 - Send stream to UDP port: 7000 10/02/2015 13:01:04 - Using Lockkey: 496916022 10/02/2015 13:01:04 - Command output: null 10/02/2015 13:01:04 - Passing stream to SageTV unaltered (ffmpeg stream copy) 10/02/2015 13:01:04 - Starting TunerOutput thread for stdin to ffmpeg then stdout to SageTV MediaServer 10/02/2015 13:01:04 - Tuner output thread constructed for UploadID: 343008772 10/02/2015 13:01:04 - Tuner output thread HDHomeRun(UDP) -> PrimeNetEncoder(SDIN) -> ffmpeg(STDOUT) -> SageTV Media Server(TCP) 10/02/2015 13:01:04 - Sleeping to allow ffmpeg to fully launch: 1000 10/02/2015 13:01:04 - Sending write open command 10/02/2015 13:01:04 - TunerBridge thread started udpPort: 7000 10/02/2015 13:01:04 - Tuner bridge has transfered: 0 10/02/2015 13:01:04 - Write open sent successfully 10/02/2015 13:01:04 - Tuner bridge has transfered: 189504 10/02/2015 13:01:05 - Tuner bridge has transfered: 480340 10/02/2015 13:01:05 - Tuner bridge has transfered: 482972 10/02/2015 13:01:05 - Tuner bridge has transfered: 486920 10/02/2015 13:01:06 - Tuner bridge has transfered: 490868 10/02/2015 13:01:06 - Tuner bridge has transfered: 497448 10/02/2015 13:01:07 - Tuner bridge has transfered: 501396 10/02/2015 13:01:07 - Tuner bridge has transfered: 504028 10/02/2015 13:01:07 - Tuner bridge has transfered: 506660 10/02/2015 13:01:07 - Tuner bridge has transfered: 509292 10/02/2015 13:01:08 - Tuner bridge has transfered: 511924 10/02/2015 13:01:08 - Tuner bridge has transfered: 514556 10/02/2015 13:01:08 - Tuner bridge has transfered: 517188 10/02/2015 13:01:08 - Tuner bridge has transfered: 519820 10/02/2015 13:01:09 - Tuner bridge has transfered: 522452 10/02/2015 13:01:09 - Tuner bridge has transfered: 525084 10/02/2015 13:01:09 - Tuner bridge has transfered: 527716 10/02/2015 13:01:09 - Tuner bridge has transfered: 530348 10/02/2015 13:01:10 - Tuner bridge has transfered: 532980 10/02/2015 13:01:10 - Tuner bridge has transfered: 535612 10/02/2015 13:01:10 - No data transfered in 6000ms. Reseting tuner channel and stream. (Ignore the choice of program ) I've attached the .properties file as well. I did changed the ffmpeg delaysetting to 1000 (from 500), and I saw that the probesize was already set to 5000000 (I saw in a previous post that someone had upped this to this value to resolve this sort of issue). Any hints or tips would be appreciated, thanks. Also, thank you for putting this tool together. Cheers |
#396
|
|||
|
|||
Have you tried it with the Firewall off ... that is one of the things I recommend doing first so we know if it is or isn't a firewall issue. Or were you just being a Lazy Gun lol?
FMMPEG.exe and JAVA.exe need access through the firewall also not just the ports. Last edited by nyplayer; 10-02-2015 at 11:24 AM. |
#397
|
|||
|
|||
Quote:
Thanks (I am lazy though ) |
#398
|
|||
|
|||
Post all your tuner logs in the PrimeNetEncoder folder... and Sage properties
Last edited by nyplayer; 10-02-2015 at 11:29 AM. |
#399
|
|||
|
|||
You got it! I have mainly tried tuner 0, but I also gave tuner 1 a shot as well. Same thing. Tuner 0 you can see I was messing around a bit last night as well. Thanks [Edit] Added sage properties [/Edit] |
#400
|
|||
|
|||
Quote:
PS Your ports in the Sage Properties appear to be reversed.... Did you let SageTV auto discover them ? this one is definitely wrong. mmc/encoders/-552182259/encoder_host=10.0.0.5\:7002 mmc/encoders/-552182259/encoder_merit=0 mmc/encoders/-552182259/encoding_host=10.0.0.5\:7002 mmc/encoders/-552182259/fast_network_encoder_switch=false mmc/encoders/-552182259/forced_video_storage_path_prefix= mmc/encoders/-552182259/last_cross_index=0 mmc/encoders/-552182259/last_cross_type=100 mmc/encoders/-552182259/live_audio_input= mmc/encoders/-552182259/multicast_host= mmc/encoders/-552182259/never_stop_encoding=false mmc/encoders/-552182259/video_capture_device_name=PrimeNetEncoder 1321CEC6-2 Last edited by nyplayer; 10-02-2015 at 11:38 AM. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interest in HDHomeRun Prime Network Encoder | jvl711 | Hardware Support | 175 | 04-13-2015 01:11 PM |
Prime Encoder Script | checkbin | SageTV Linux | 14 | 03-22-2015 07:50 AM |
SageTV as a network encoder / recording on network encoder works, not from server | perfessor101 | SageTV Software | 0 | 06-21-2014 05:59 AM |
Ubuntu + HDHomerunPrime + Prime Encoder | matt91 | SageTV Linux | 2 | 03-23-2014 03:46 PM |
HDHomerun Prime? | cenwesi | Hardware Support | 26 | 04-19-2011 05:40 PM |