![]() |
|
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 |
#61
|
||||
|
||||
Quote:
1. Are you using UNC paths or Local paths for recording directories? 2. Can you preview a channel in HDHomeRun app without studder or pixelation? 3. Which version of ffmpeg are you using? |
#62
|
||||
|
||||
Quote:
|
#63
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#64
|
|||
|
|||
Tried the newest ffmpeg and an old version from a mcebuddy install. I have also tried UNC paths and local Paths. I have tried increasing the tuning delay and fast tuning setting. I'm sure it's something simple or stupid but not sure what it is.
|
#65
|
||||
|
||||
It does stops recording to the file right? Do you know if the tuner is considered locked for recording? I wonder if it will cause issues?
|
#66
|
||||
|
||||
Can you preview a channel in HDHomerRun config without any issues?
|
#67
|
|||
|
|||
Quote:
Code:
"c:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe" 13147C7B set /sys/restart self cd "C:\PrimeNetEncoder v0.0.1" c: "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar PrimeNetEncoder.jar
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-20-2015 at 09:17 AM. |
#68
|
|||
|
|||
Even though Sage Stops the recording and nothing is being created. HD Homerun Config still has the tuner open. I have attached a picture 5 minutes after I stopped the recording. as you can see it is still broadcasting that channel. As of this writing it is still broadcasting.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#69
|
|||
|
|||
Do you mean while recording or in general. I have tested the hd prime on this computer before and was able to view the channel. I have not tried while it is recording to open the stream in the silicondust viewer. I will give that a try tonight and double check that it's working normally on the computer.
Mark |
#70
|
||||
|
||||
The HDHomeRun does 'lock resources', so that is likely what is happening. I've never dealt with the command line application, but I know you can see this Resource Lock on the web interface under the Tuner Status page for the affected tuner. At the bottom, it will list the IP address of the client that 'owns' that tuner. Just stopping grabbing the stream does not necessarily release the lock, it seems, so the tuner would have to be stopped as well when Sage sends a STOP command.
__________________
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 |
#71
|
|||
|
|||
Quote:
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#72
|
|||
|
|||
I found this. I tested it and it does stop the tuner.
hdhomerun_config <id> get /sys/features To stop the tuner set the channel to none: format: hdhomerun_config <id> set /tuner<n>/channel none eg: hdhomerun_config FFFFFFFF set /tuner0/channel none https://www.silicondust.com/hdhomeru...evelopment.pdf For now I will continue to run with the firewall turned off. Will await a new encoder or someone can figure out what firewall is blocking.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-20-2015 at 11:24 AM. |
#73
|
||||
|
||||
The firewall may be altering how the connection is either maintained, or terminated, which is affecting the HDHR's ability to detect when that channel is no longer needed. Who knows. Firewalls are pointless within a private network, and usually cause more problems than they are worth.
__________________
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 |
#74
|
|||
|
|||
Quote:
Resource lock: The resource lock API is used to prevent conflicts when there are multiple hosts on the network controlling the same set of tuners. Low level: use hdhomerun_device_tuner_lockkey_request() to request exclusive control of the tuner. This function will return success (1) if the request was successful, reject (0) if the tuner is in use by anther host, or error (-1) if a communication error occurs. When the tuner lock is no longer required use hdhomerun_device_tuner_lockkey_release() to release the resource lock. The hdhomerun_device_tuner_lockkey_force() API will cause a resource lock to be released regardless of which host owns the lock. This function should only be called if the user has been presented with a dialog and the user has explicitly requested that the lock be overridden. The HDHomeRun will self expire the resource lock if not streaming and no commands are received in a 30s period. If the host application crashes without releasing the resource lock this timeout will allow the tuner to be used again. The exception - if the tuner is streaming video and the host has a firewall that prevents ICMP port unreachable messages the tuner will not be informed that the video is no longer being accepted by the host. Streaming will continue and the tuner will maintain the lock. To avoid this situation use the Device Selector API to request the resource lock. This will autodetect and release dead locks - see Device Selector API section below. Note: the detection and automatic release of dead resource locks is planned to be moved to hdhomerun_device_tuner_lockkey_request(). If this affects your application please contact
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-20-2015 at 11:45 AM. |
#75
|
||||
|
||||
Sounds like it's working as designed then. Just because ffmpeg is closed, and it stops listening for the stream, doesn't stop the HDHomeRun from sending the stream packets to the client. The firewall is blocking the traditional response to an unsolicited packet (ICMP port unreachable), so it just keeps on sending. Removing the firewall allows the ICMP error to make it to the HDHR, and it stops streaming and releases the lock. Not the preferred method of stopping, so hopefully he can roll a stop command into there.
__________________
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 |
#76
|
||||
|
||||
Quote:
Completely agree. Good research by nyplayer and Fuzzy. At a minimum I can set the channel to none which should stop the stream. I will look and see if I can stop the stream by setting the target to none. |
#77
|
|||
|
|||
Thanks I am watching NCAA and channel surfing using your encoder has not failed me ... with Firewall off.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. |
#78
|
|||
|
|||
Well tested local and unc paths again no difference still get no signal. Checked the preview window in the silicondust preview while it is recording and it plays fine, but still getting 1 minute and 12 second long files.
|
#79
|
||||
|
||||
So it seems that the recording is starting, but for some reason sage beleives the recording did not start, and it stops the recording around 1 minute. Is it possible for some strange reason sage does not have proper rights to playback the file? From the logs does it seem that sage is stopping the recording and starting it again. Every 1 minute. Does the size of the recording file grow while it is recording, or only after the recording stops?
|
#80
|
|||
|
|||
Quote:
cd "C:\PrimeNetEncoder v0.0.1" c: "C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar PrimeNetEncoder.jar
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct. Last edited by nyplayer; 03-20-2015 at 06:43 PM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |