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
  #1461  
Old 12-14-2016, 12:21 PM
Jabroni's Avatar
Jabroni Jabroni is offline
Sage Aficionado
 
Join Date: Mar 2006
Posts: 251
Quote:
Originally Posted by EnterNoEscape View Post
The variable doesn't work in the URL's, but I can't really see any reason why I couldn't add support for that. It just will not work cleanly for ATSC since SageTV and the HDHomeRun disagree on notation in that regard.
Yeah that would have to be taken care directly from the user end point to keep channel guide scan / synced. That would be the limitation of this particular setup but at least we can out of our region OTA channels to our sage without having much equipment on remote site. Having the HDHomeRun doing the scan and the user to take care of the channel lineup via the EPG data and the SageTV physical channel (1-1,9-1,14-1,etc) would be more than enough. Hope you could add that parameter to the URL and if you want help testing just let me know and I can be a ginea pig

UPDATE

I started playing with the hdhomerun_config, I was able to trigger a remote scan using
./hdhomerun_config <device.ip> scan 0

Does OpenDCT uses libhdhomerun api to do all the comunication with the HDHomeRuns ?
__________________
SageTV 7.1.9 / Phoenix
Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD
Extender: 2x HD200 / 1x HD300


Last edited by Jabroni; 12-14-2016 at 12:29 PM.
Reply With Quote
  #1462  
Old 12-14-2016, 05:45 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Jabroni View Post
Yeah that would have to be taken care directly from the user end point to keep channel guide scan / synced. That would be the limitation of this particular setup but at least we can out of our region OTA channels to our sage without having much equipment on remote site. Having the HDHomeRun doing the scan and the user to take care of the channel lineup via the EPG data and the SageTV physical channel (1-1,9-1,14-1,etc) would be more than enough. Hope you could add that parameter to the URL and if you want help testing just let me know and I can be a ginea pig

UPDATE

I started playing with the hdhomerun_config, I was able to trigger a remote scan using
./hdhomerun_config <device.ip> scan 0

Does OpenDCT uses libhdhomerun api to do all the comunication with the HDHomeRuns ?
OpenDCT fully re-implements what those libraries do in Java. It's 100% network based and there's no real reason to use native libraries because of this. The reason that worked for you was because you provided the IP address. OpenDCT uses TCP/IP to communicate with the HDHomeRuns and if given the IP address, it would be able to do that same thing. I moved away from relying on the IP addresses since they can change for various reasons on a network with DHCP. It is generally recommended that you refer to the HDHomeRuns by their hex ID for this reason. However you gave me a slightly better idea on dealing with your situation. I'll just add the option to specifically tell the HDHomeRun discover to try to load a comma separated list of IP addresses.
__________________
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
  #1463  
Old 12-14-2016, 05:52 PM
Jabroni's Avatar
Jabroni Jabroni is offline
Sage Aficionado
 
Join Date: Mar 2006
Posts: 251
Quote:
Originally Posted by EnterNoEscape View Post
OpenDCT fully re-implements what those libraries do in Java. It's 100% network based and there's no real reason to use native libraries because of this. The reason that worked for you was because you provided the IP address. OpenDCT uses TCP/IP to communicate with the HDHomeRuns and if given the IP address, it would be able to do that same thing. I moved away from relying on the IP addresses since they can change for various reasons on a network with DHCP. It is generally recommended that you refer to the HDHomeRuns by their hex ID for this reason. However you gave me a slightly better idea on dealing with your situation. I'll just add the option to specifically tell the HDHomeRun discover to try to load a comma separated list of IP addresses.
That would be sweet... I got another suggestion, maybe it would be nice to have like the GenericHTTP, but a GenericPipe, where one could specify a command to execute, and pipe the output and threat it like a stream. With that we could extend more the reach of OpenDCT to other interfaces/plugins. Currently thats how I manage with my Network Encoder that I worked as a Java plugin within sage, but with a more basic approach and not as well build as your solution. I just pipe a perl script to ffmpeg to "smooth the stream", and save the output to the Network Encoder supplied local file.
__________________
SageTV 7.1.9 / Phoenix
Captures: 1x Genpix Skywalker DVB4Sage / 1x 7500 Prof DVBS2 Tunner DVB4Sage / 1x HD HomeRun / 1x Slingbox M1 / 1x Colossus HD
Extender: 2x HD200 / 1x HD300

Reply With Quote
  #1464  
Old 12-14-2016, 07:25 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Jabroni View Post
That would be sweet... I got another suggestion, maybe it would be nice to have like the GenericHTTP, but a GenericPipe, where one could specify a command to execute, and pipe the output and threat it like a stream. With that we could extend more the reach of OpenDCT to other interfaces/plugins. Currently thats how I manage with my Network Encoder that I worked as a Java plugin within sage, but with a more basic approach and not as well build as your solution. I just pipe a perl script to ffmpeg to "smooth the stream", and save the output to the Network Encoder supplied local file.
It was asked of me to implement something kind of like this before. The reason I did not do it was because the rational was to support v4l by reading from the device under /dev like it was a file (which would work). My opinion in this area is that if you're going to do v4l, implement proper v4l device detection and the native code to support it.

Weirdly enough, I can see your use case as being something flexible enough that it actually makes some sense and would make it trivial for more advanced uses that I am unlikely to code. If you piped through stdout into OpenDCT an MPEG-TS stream, it can actually use it's own internal FFmpeg implementation to remux the stream for you. Depending on the device, it might not really be needed to remux the stream at all. I'll definitely consider adding this.
__________________
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
  #1465  
Old 12-21-2016, 09:58 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
OpenDCT 0.5.17-Beta



See the 0.5.17 release notes for better details on some of the new features.

This might be a little more than just the highlights, but a lot of things were added in this release.
  • Added basic HTTP authentication support to generic HTTP producer. (make sure you remove this information from opendct.properties if you post it)
  • Added redirect support for HTTP producers.
  • Added experimental Generic Pipe capture device. The creation of pipe capture devices is similar to Generic HTTP capture device except the stream is captured from the standard output of a custom script. (Support thread)
  • Added timeout for when a program cannot be detected. The property name is consumer.ffmpeg.no_program_timeout_ms, the timeout is in milliseconds and defaults conservatively to 10000. The minimum value is 5000 and the maximum value is 60000. If you are missing audio streams in your recordings, you will want to increase this value.
  • Added property to disable re-tuning. The property name is retune_enable and defaults to true. Set this property to false to disable retuning.
  • Added a channel lineup update to be automatically triggered when a channel scan is initiated. This ensures that the latest information from the capture device if it provides any is used for the scan.
  • Added property to force ClearQAM lookups to happen whenever possible. If the lookup is not able to be performed likely due to no CableCARD capture devices being available, it will use the last known value. If there isn't a last known value, the tuning will fail which is the same as the old behavior. The property for InfiniTV devices is upnp.always_remap_lookup=false. The property for HDHomeRun devices is hdhr.always_remap_lookup=false. Change the value from false to true to enable this feature.
  • Added property to allow HDHomeRun devices to be statically defined by IP address. This is useful if you have an HDHomeRun device on another subnet that would not be detectable any other way. The property name is hdhr.static_addresses_csv=. If it is populated with comma delimited values, the program will attempt to convert those values to IP addresses and will send a discovery packet directly to the that IP address.
  • Added support for %c% variable (channel string) for the properties sagetv.device.<unique_id>.streaming_url= and sagetv.device.<unique_id>.streaming_url2=.
  • Added check and timeout for APIPA addresses on any network adapters on startup. If any interfaces have an APIPA address, it is as good as not having any interfaces available for up to 2 minutes.
  • Added better handling when a local interface cannot be determined by a remote IP address.
  • Fixed InfiniTV ClearQAM program selection confirmation always timing out.
  • Fixed media server (upload id) disconnecting too soon under some circumstances resulting in missing a few last seconds of a stream that would have otherwise been written to disk.
  • Fixed potential write deadlock in termination of the Generic HTTP capture device discoverer.
  • Reverted back to FFmpeg 2.8.1 until the deprecated features can be managed.
  • Upgraded GSON library to 2.8.0.
  • Upgraded Cling to 2.1.1.
__________________
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

Last edited by EnterNoEscape; 12-21-2016 at 11:55 AM.
Reply With Quote
  #1466  
Old 12-21-2016, 09:50 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
With the new version you released today I get errors with my IPTV stream. Any Idea?

Thanks

Chris


Code:
22:34:23.834 [SageTVRequestHandler-100:Unknown] INFO  SageTVRequestHandler - Sent PROPERTIES.
22:34:23.835 [SageTVRequestHandler-100:Unknown] DEBUG SageTVRequestHandler - SageTV sent: 'QUIT'
22:38:43.566 [SageTVRequestHandler-102:Unknown] DEBUG SageTVRequestHandler - SageTV sent: 'BUFFER IPTV1 HDMI|1883994911|1|16777216|E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf|Great-H.264'
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG GenericHttpCaptureDevice - Capture device is now re-locked.
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG SageTVRequestHandler - Starting buffered network encoder via upload ID '1883994911' to file name 'E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf'.
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG BasicCaptureDevice - Consumer is was not in progress.
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  GenericHttpCaptureDevice - Starting the encoding for the channel '1' from the device 'IPTV1' to the file 'E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf'...
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  GenericHttpCaptureDevice - Configuring and starting the new SageTV producer...
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  NIOHTTPProducerImpl - Connecting to source using the URL 'http://flawless-iptv.net:4545/live/xxx@xxx.com/password/165.ts'
22:38:43.839 [SageTVRequestHandler-102:IPTV1] DEBUG HTTPProducerImpl - HTTP response: 'HTTP/1.1 302 Found', 'Server: nginx', 'Date: Thu, 22 Dec 2016 03:38:38 GMT', 'Content-Type: text/html; charset=UTF-8', 'Connection: close', 'Access-Control-Allow-Origin: *', 'Location: http://192.99.40.78:4545/live/xxx@xxx.com/password/165.ts?token=YlZxM21sSnRlb0pYNE9WSnZNeUpTSTZyOVhzaUdHYzN4RUZqRzg5QkhEaVN2Uy9idW9ZRndiWUdieVhUY0xxTU1GZUIzUmhhSE5zZGJoWSsxSUUrMWhnY2hlc3czTTBxcmlaYkFtQnBrdTl0QWRCdm1ycExuaTl3NUJDUktGdk5XZjE0T3VHK251NmJ5VUtqZXB3NUdQSU1RRTNsR0hXejYydGRxU0pNOGZENStDUzA5SDNSaXFsZnlqLzRZcG5sUDdYOW1Fb0R4MElXanVjS2YzeFpwV2YralI0K1RNSUFPc2ZkczVpR0VBZTlueUVBb0dBKzlZVGJLcXVlSUVXT1FlRzdpM2NlZzdYdTc4WUswMmdtZm5rRGg4dm55b3p1bmFwWmN2Y2hqdUw5UHV5cXkybHZGNklGajRlT2x2YkZCS0gvbG5kODhMRFV4ZGs4R0dtb0x4Z3NpTG00cHRCZjNwYU1ZR0sxL2JTVmlIaVQwM05VVnhiYTRQdGxFckM2ekRjS3lmUDFjWUhRVGFQZGY0UUxqd216SnpGR2JlSUc4QUpWUHNRSzU2VGR0eXRzVm9RY1M1amVQYUE3WUNPUDR1b2prTGdLbEYxZGhNQytTRnppTVRQQnVkWEVjOU9XNVFFekMybVlHcDJWRU8zT3RuL2c5OHVubHFyaVJWQ2t8Slk1Z251Z2l5VHlHdEJ0eUJXQWRPb0JGamJaUzcxY2FBODFZUkZ5a045RT0=', 
22:38:43.840 [SageTVRequestHandler-102:IPTV1] INFO  HTTPProducerImpl - HTTP redirect: http://192.99.40.78:4545/live/xxx@xxx.com/password/165.ts?token=YlZxM21sSnRlb0pYNE9WSnZNeUpTSTZyOVhzaUdHYzN4RUZqRzg5QkhEaVN2Uy9idW9ZRndiWUdieVhUY0xxTU1GZUIzUmhhSE5zZGJoWSsxSUUrMWhnY2hlc3czTTBxcmlaYkFtQnBrdTl0QWRCdm1ycExuaTl3NUJDUktGdk5XZjE0T3VHK251NmJ5VUtqZXB3NUdQSU1RRTNsR0hXejYydGRxU0pNOGZENStDUzA5SDNSaXFsZnlqLzRZcG5sUDdYOW1Fb0R4MElXanVjS2YzeFpwV2YralI0K1RNSUFPc2ZkczVpR0VBZTlueUVBb0dBKzlZVGJLcXVlSUVXT1FlRzdpM2NlZzdYdTc4WUswMmdtZm5rRGg4dm55b3p1bmFwWmN2Y2hqdUw5UHV5cXkybHZGNklGajRlT2x2YkZCS0gvbG5kODhMRFV4ZGs4R0dtb0x4Z3NpTG00cHRCZjNwYU1ZR0sxL2JTVmlIaVQwM05VVnhiYTRQdGxFckM2ekRjS3lmUDFjWUhRVGFQZGY0UUxqd216SnpGR2JlSUc4QUpWUHNRSzU2VGR0eXRzVm9RY1M1amVQYUE3WUNPUDR1b2prTGdLbEYxZGhNQytTRnppTVRQQnVkWEVjOU9XNVFFekMybVlHcDJWRU8zT3RuL2c5OHVubHFyaVJWQ2t8Slk1Z251Z2l5VHlHdEJ0eUJXQWRPb0JGamJaUzcxY2FBODFZUkZ5a045RT0=
22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR HTTPCaptureDeviceServices - startProducing created an unexpected exception => java.nio.channels.AlreadyConnectedException
	at sun.nio.ch.SocketChannelImpl.ensureOpenAndUnconnected(Unknown Source)
	at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:89)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:181)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:66)
	at opendct.producer.NIOHTTPProducerImpl.setSourceUrl(NIOHTTPProducerImpl.java:162)
	at opendct.producer.NIOHTTPProducerImpl.selectURL(NIOHTTPProducerImpl.java:99)
	at opendct.producer.NIOHTTPProducerImpl.setSourceUrls(NIOHTTPProducerImpl.java:68)
	at opendct.capture.services.HTTPCaptureDeviceServices.startProducing(HTTPCaptureDeviceServices.java:98)
	at opendct.capture.GenericHttpCaptureDevice.startEncodingSync(GenericHttpCaptureDevice.java:324)
	at opendct.capture.GenericHttpCaptureDevice.startEncoding(GenericHttpCaptureDevice.java:227)
	at opendct.sagetv.SageTVRequestHandler.run(SageTVRequestHandler.java:301)
	at java.lang.Thread.run(Unknown Source)

22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR SageTVRequestHandler - SageTV sent: 'BUFFER IPTV1 HDMI|1883994911|1|16777216|E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf|Great-H.264', Replied: 'ERROR Device Start Failed'
22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR SageTVRequestHandler - Encoder device is unable to start.
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client

Last edited by technazz; 12-21-2016 at 09:52 PM.
Reply With Quote
  #1467  
Old 12-22-2016, 12:32 AM
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
With the new version you released today I get errors with my IPTV stream. Any Idea?

Thanks

Chris


Code:
22:34:23.834 [SageTVRequestHandler-100:Unknown] INFO  SageTVRequestHandler - Sent PROPERTIES.
22:34:23.835 [SageTVRequestHandler-100:Unknown] DEBUG SageTVRequestHandler - SageTV sent: 'QUIT'
22:38:43.566 [SageTVRequestHandler-102:Unknown] DEBUG SageTVRequestHandler - SageTV sent: 'BUFFER IPTV1 HDMI|1883994911|1|16777216|E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf|Great-H.264'
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG GenericHttpCaptureDevice - Capture device is now re-locked.
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG SageTVRequestHandler - Starting buffered network encoder via upload ID '1883994911' to file name 'E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf'.
22:38:43.566 [SageTVRequestHandler-102:IPTV1] DEBUG BasicCaptureDevice - Consumer is was not in progress.
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  GenericHttpCaptureDevice - Starting the encoding for the channel '1' from the device 'IPTV1' to the file 'E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf'...
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  GenericHttpCaptureDevice - Configuring and starting the new SageTV producer...
22:38:43.570 [SageTVRequestHandler-102:IPTV1] INFO  NIOHTTPProducerImpl - Connecting to source using the URL 'http://flawless-iptv.net:4545/live/xxx@xxx.com/password/165.ts'
22:38:43.839 [SageTVRequestHandler-102:IPTV1] DEBUG HTTPProducerImpl - HTTP response: 'HTTP/1.1 302 Found', 'Server: nginx', 'Date: Thu, 22 Dec 2016 03:38:38 GMT', 'Content-Type: text/html; charset=UTF-8', 'Connection: close', 'Access-Control-Allow-Origin: *', 'Location: http://192.99.40.78:4545/live/xxx@xxx.com/password/165.ts?token=YlZxM21sSnRlb0pYNE9WSnZNeUpTSTZyOVhzaUdHYzN4RUZqRzg5QkhEaVN2Uy9idW9ZRndiWUdieVhUY0xxTU1GZUIzUmhhSE5zZGJoWSsxSUUrMWhnY2hlc3czTTBxcmlaYkFtQnBrdTl0QWRCdm1ycExuaTl3NUJDUktGdk5XZjE0T3VHK251NmJ5VUtqZXB3NUdQSU1RRTNsR0hXejYydGRxU0pNOGZENStDUzA5SDNSaXFsZnlqLzRZcG5sUDdYOW1Fb0R4MElXanVjS2YzeFpwV2YralI0K1RNSUFPc2ZkczVpR0VBZTlueUVBb0dBKzlZVGJLcXVlSUVXT1FlRzdpM2NlZzdYdTc4WUswMmdtZm5rRGg4dm55b3p1bmFwWmN2Y2hqdUw5UHV5cXkybHZGNklGajRlT2x2YkZCS0gvbG5kODhMRFV4ZGs4R0dtb0x4Z3NpTG00cHRCZjNwYU1ZR0sxL2JTVmlIaVQwM05VVnhiYTRQdGxFckM2ekRjS3lmUDFjWUhRVGFQZGY0UUxqd216SnpGR2JlSUc4QUpWUHNRSzU2VGR0eXRzVm9RY1M1amVQYUE3WUNPUDR1b2prTGdLbEYxZGhNQytTRnppTVRQQnVkWEVjOU9XNVFFekMybVlHcDJWRU8zT3RuL2c5OHVubHFyaVJWQ2t8Slk1Z251Z2l5VHlHdEJ0eUJXQWRPb0JGamJaUzcxY2FBODFZUkZ5a045RT0=', 
22:38:43.840 [SageTVRequestHandler-102:IPTV1] INFO  HTTPProducerImpl - HTTP redirect: http://192.99.40.78:4545/live/xxx@xxx.com/password/165.ts?token=YlZxM21sSnRlb0pYNE9WSnZNeUpTSTZyOVhzaUdHYzN4RUZqRzg5QkhEaVN2Uy9idW9ZRndiWUdieVhUY0xxTU1GZUIzUmhhSE5zZGJoWSsxSUUrMWhnY2hlc3czTTBxcmlaYkFtQnBrdTl0QWRCdm1ycExuaTl3NUJDUktGdk5XZjE0T3VHK251NmJ5VUtqZXB3NUdQSU1RRTNsR0hXejYydGRxU0pNOGZENStDUzA5SDNSaXFsZnlqLzRZcG5sUDdYOW1Fb0R4MElXanVjS2YzeFpwV2YralI0K1RNSUFPc2ZkczVpR0VBZTlueUVBb0dBKzlZVGJLcXVlSUVXT1FlRzdpM2NlZzdYdTc4WUswMmdtZm5rRGg4dm55b3p1bmFwWmN2Y2hqdUw5UHV5cXkybHZGNklGajRlT2x2YkZCS0gvbG5kODhMRFV4ZGs4R0dtb0x4Z3NpTG00cHRCZjNwYU1ZR0sxL2JTVmlIaVQwM05VVnhiYTRQdGxFckM2ekRjS3lmUDFjWUhRVGFQZGY0UUxqd216SnpGR2JlSUc4QUpWUHNRSzU2VGR0eXRzVm9RY1M1amVQYUE3WUNPUDR1b2prTGdLbEYxZGhNQytTRnppTVRQQnVkWEVjOU9XNVFFekMybVlHcDJWRU8zT3RuL2c5OHVubHFyaVJWQ2t8Slk1Z251Z2l5VHlHdEJ0eUJXQWRPb0JGamJaUzcxY2FBODFZUkZ5a045RT0=
22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR HTTPCaptureDeviceServices - startProducing created an unexpected exception => java.nio.channels.AlreadyConnectedException
	at sun.nio.ch.SocketChannelImpl.ensureOpenAndUnconnected(Unknown Source)
	at sun.nio.ch.SocketChannelImpl.connect(Unknown Source)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:89)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:181)
	at opendct.video.http.NIOHttpDownloader.connect(NIOHttpDownloader.java:66)
	at opendct.producer.NIOHTTPProducerImpl.setSourceUrl(NIOHTTPProducerImpl.java:162)
	at opendct.producer.NIOHTTPProducerImpl.selectURL(NIOHTTPProducerImpl.java:99)
	at opendct.producer.NIOHTTPProducerImpl.setSourceUrls(NIOHTTPProducerImpl.java:68)
	at opendct.capture.services.HTTPCaptureDeviceServices.startProducing(HTTPCaptureDeviceServices.java:98)
	at opendct.capture.GenericHttpCaptureDevice.startEncodingSync(GenericHttpCaptureDevice.java:324)
	at opendct.capture.GenericHttpCaptureDevice.startEncoding(GenericHttpCaptureDevice.java:227)
	at opendct.sagetv.SageTVRequestHandler.run(SageTVRequestHandler.java:301)
	at java.lang.Thread.run(Unknown Source)

22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR SageTVRequestHandler - SageTV sent: 'BUFFER IPTV1 HDMI|1883994911|1|16777216|E:\E Recordings\IPTV1on1270019000HDMI-0.mpgbuf|Great-H.264', Replied: 'ERROR Device Start Failed'
22:38:43.840 [SageTVRequestHandler-102:IPTV1] ERROR SageTVRequestHandler - Encoder device is unable to start.
That's my fault. There's a small, but important mistake in the code causing this to happen.
__________________
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
  #1468  
Old 12-22-2016, 12:35 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
OpenDCT 0.5.18-Beta


  • Fixed closing the previous socket when redirecting.
__________________
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
  #1469  
Old 12-22-2016, 10:19 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

  • Fixed closing the previous socket when redirecting.



Nice it works!

I appreciate it!

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1470  
Old 12-22-2016, 10:28 AM
Greg2dot0's Avatar
Greg2dot0 Greg2dot0 is offline
Sage Advanced User
 
Join Date: Dec 2008
Posts: 82
Quote:
Originally Posted by EnterNoEscape View Post

  • Fixed closing the previous socket when redirecting.
Things have been running very smoothly since 5.13 here. Installed and tested 5.18 first thing this morning and all seems to be working well.

Great work!!
__________________
Production SageTV Server: ASUS P8P67-Pro, 16gb RAM, Crucial m4 256GB SSD, Unbunto 16.4.04 LTS (Server x64), WDC Red 4TB
Capture: 1x HDHR Prime, 1x HDHomeRun (ClearQAM)
Clients: 1x HD300, 2x HD200, 2x Placeshifters
Reply With Quote
  #1471  
Old 12-22-2016, 11:15 AM
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


Nice it works!

I appreciate it!

Chris
Quote:
Originally Posted by Greg2dot0 View Post
Things have been running very smoothly since 5.13 here. Installed and tested 5.18 first thing this morning and all seems to be working well.

Great work!!
Good to hear. I think we'll be starting release candidates soon.
__________________
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
  #1472  
Old 12-22-2016, 11:37 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Ok,

Ok now that its working I have access to about 300 more IPTV channels i want to add. They basically have the same url like below

http\://XXX-iptv.net\:4545/live/Login/Password/165.ts
http\://XXX-iptv.net\:4545/live/Login/Password/166.ts
http\://XXX-iptv.net\:4545/live/Login/Password/167.ts
ect..


Can I add them in the same tuner or do I have to make a URL tuner entry for each url? (generic.http.device_names_csv=IPTV1,IPTV2,ect,,)


THanks

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1473  
Old 12-22-2016, 12:40 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
Ok,

Ok now that its working I have access to about 300 more IPTV channels i want to add. They basically have the same url like below

http\://XXX-iptv.net\:4545/live/Login/Password/165.ts
http\://XXX-iptv.net\:4545/live/Login/Password/166.ts
http\://XXX-iptv.net\:4545/live/Login/Password/167.ts
ect..


Can I add them in the same tuner or do I have to make a URL tuner entry for each url? (generic.http.device_names_csv=IPTV1,IPTV2,ect,,)


THanks

Chris
One of the changes I just made was allowing %c% to be used in a URL. Let me know if it's not working, but in my testing, it looked ok. The URL would then look like the following:
http\://XXX-iptv.net\:4545/live/Login/Password/%c%.ts

Also, you can specify all of the available channels in the property sagetv.device.<device_id>.custom_channels= so they are returned in a channel scan like this:
sagetv.device.<device_id>.custom_channels=165;166;167

If you can access as many at a time as you want, I guess you would just create a capture device for as many as you want to be able to use at a time.
__________________
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
  #1474  
Old 12-22-2016, 05:44 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
I tried this an no other channels show up in the channel setup. Just Chanel 1-HDMI.

Should I be seeing an HDMI input? Seems like its locked to one channel only.

Also the last channel field is populated with 1 which is not a valid channel, i changed it to 166 and the video previews.

These is also no channel scan option. I think I have something set up wrongly.

An Ideas?

Chris




Quote:
Originally Posted by EnterNoEscape View Post
One of the changes I just made was allowing %c% to be used in a URL. Let me know if it's not working, but in my testing, it looked ok. The URL would then look like the following:
http\://XXX-iptv.net\:4545/live/Login/Password/%c%.ts

Also, you can specify all of the available channels in the property sagetv.device.<device_id>.custom_channels= so they are returned in a channel scan like this:
sagetv.device.<device_id>.custom_channels=165;166;167

If you can access as many at a time as you want, I guess you would just create a capture device for as many as you want to be able to use at a time.
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1475  
Old 12-22-2016, 07:30 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
I tried this an no other channels show up in the channel setup. Just Chanel 1-HDMI.

Should I be seeing an HDMI input? Seems like its locked to one channel only.

Also the last channel field is populated with 1 which is not a valid channel, i changed it to 166 and the video previews.

These is also no channel scan option. I think I have something set up wrongly.

An Ideas?

Chris
I am referring to the channel scan within SageTV.
Setup > Setup Video Sources > [capture_device] > Channel Setup > Scan for Available Channels > Scan for Available Channels Now
Edit: I just noticed that this isn't available for non-digital tuners. I thought I remembered this option when I used the HD-PVR, I guess I was wrong. I think your best bet is going to be entering the channels manually with the second option mentioned below. I'll need to think about this one a bit since this would be very convenient if it worked.


You can also manually add channels within SageTV.
Setup > Setup Video Sources > [capture_device] > Channel Setup > Edit Channel Lineup > Add Channel to Lineup
__________________
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

Last edited by EnterNoEscape; 12-22-2016 at 07:38 PM.
Reply With Quote
  #1476  
Old 12-22-2016, 11:42 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Ok that works.


THanks!

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1477  
Old 12-23-2016, 08:12 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
IPTV Switching

Ok I was able to add more channels no problem but they are working intermittently. Some work 100% in the preview option in the setup menu then not when selected in the EPG.

I attached a log, channel 165 works and then 287 doesn't.

Thanks

Chris
Attached Files
File Type: txt opendtc.txt (57.4 KB, 109 views)
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #1478  
Old 12-23-2016, 08:46 AM
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
Ok I was able to add more channels no problem but they are working intermittently. Some work 100% in the preview option in the setup menu then not when selected in the EPG.

I attached a log, channel 165 works and then 287 doesn't.

Thanks

Chris
I don't see anything interesting. The streams are definitely being detected correctly and are streaming. What I would do is create a recording and see if you can open the file outside of SageTV. If you can, the fault is likely SageTV's ability to deal with the formats involved. I also recommend upgrading to SageTV v9 since there have been many improvements in this area.

I noticed that the TS you're downloading is being produced by FFmpeg on their end, so it's probably a very clean stream. I would change to the raw consumer and take FFmpeg out of the picture completely because it's just not necessary in this case.
e.g.
sagetv.device.<device_id>.consumer=opendct.consumer.RawSageTVConsumerImpl
__________________
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
  #1479  
Old 12-23-2016, 08: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
I don't see anything interesting. The streams are definitely being detected correctly and are streaming. What I would do is create a recording and see if you can open the file outside of SageTV. If you can, the fault is likely SageTV's ability to deal with the formats involved. I also recommend upgrading to SageTV v9 since there have been many improvements in this area.

I noticed that the TS you're downloading is being produced by FFmpeg on their end, so it's probably a very clean stream. I would change to the raw consumer and take FFmpeg out of the picture completely because it's just not necessary in this case.
e.g.
sagetv.device.<device_id>.consumer=opendct.consumer.RawSageTVConsumerImpl

I am running the latest V9

I changed the Consumer setting and Recorded in SageTV.

I opened the recorded .ts file in VLC and it played fine. I get No signal when I try to play in Sagetv.

Could this be a decoder issues? Im remotely loging into my SageTV windows box from work and then playing in the PC client or my HD200 and HD300's

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client

Last edited by technazz; 12-23-2016 at 09:36 AM.
Reply With Quote
  #1480  
Old 12-24-2016, 12:11 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
I am running the latest V9

I changed the Consumer setting and Recorded in SageTV.

I opened the recorded .ts file in VLC and it played fine. I get No signal when I try to play in Sagetv.

Could this be a decoder issues? Im remotely loging into my SageTV windows box from work and then playing in the PC client or my HD200 and HD300's

Chris
Seeing what sage logs have to say might help a little. I was just going on your signature about the SageTV version.
__________________
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: 5 (0 members and 5 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 05:29 AM.


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