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
  #41  
Old 01-30-2017, 04:24 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Quote:
Originally Posted by wayner View Post
Interesting so this is kind of an alternative to an HD-PVR, is it?
Take your ref to SlingBox M1 ? then yes that petty what it is.
Reply With Quote
  #42  
Old 01-30-2017, 04:25 PM
Jabroni's Avatar
Jabroni Jabroni is offline
Sage Aficionado
 
Join Date: Mar 2006
Posts: 251
Quote:
Originally Posted by wayner View Post
Interesting so this is kind of an alternative to an HD-PVR, is it?
OpenDCT project as a whole is a way to present several types of Tuners to the SageTV via the Network Encoder protocol. You could use HDHomeRun Tunners for OTA/Cable, HDMI IPTV Network Encoders (sold on Aliexpress), and some Generic Tunners that you could put (via HTTP or STDOUT). In my case I was able to use his STDOUT method to grab the stream from a Slingbox and use it as a tuner on SageTV. For best quality the HDMI IPTV Network Tuner is the best option, but you still need to figure out a way to change the IRD to your desired channel since the BM1000 doesnt support Infrared changing neither HDMI CEC channel change.

If you read the threads, ppl have connected ip cameras, twitch.tv streams, in my case slingboxes, all using this great software and some external scripts/utilities.

So to answer your question, yes you could have a solution with OpenDCT to replace your HDPVR, but it will depend on ur current hardware and budget what would u need
__________________
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
  #43  
Old 01-30-2017, 05:53 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
Finally had a chance to try a Perl script that connects to Slingbox and outputs its video content and interfaced it with OpenDCT w/ the Pipe Capture.. I must stay it worked GREAT I love that now on show change there is no video lag (tuner retunning) since my previous approach re-launches the script on every new program from the progrma guide.

The only thing I would like to know if there is a way to filter out the stderr to not write it to log, or at least just after X secs, since the script outputs stream stats to it and the log will get full of those entries

ie
Code:
12:53:42.322 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err:   Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
12:53:42.322 [RawSageTVConsumerImpl-154:SlingIzzi] DEBUG VideoUtil - PAT packet found at index 3836.
12:53:42.322 [RawSageTVConsumerImpl-154:SlingIzzi] DEBUG VideoUtil - PAT packet found at index 11732.
12:53:42.322 [RawSageTVConsumerImpl-154:SlingIzzi] INFO  RawSageTVConsumerImpl - Raw consumer is now streaming...
12:53:42.853 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  168 fps=0.0 q=-1.0 size=    2073kB time=00:00:05.65 bitrate=3001.9kbits/s    
12:53:43.414 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  185 fps=169 q=-1.0 size=    2407kB time=00:00:06.23 bitrate=3164.1kbits/s    
12:53:44.007 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  198 fps=118 q=-1.0 size=    2622kB time=00:00:06.66 bitrate=3222.9kbits/s    
12:53:44.303 [UPnPDiscovery-40] DEBUG UpnpManager - Sending a SecureContainer search message for 'schemas-cetoncorp-com' devices...
12:53:44.662 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  217 fps= 93 q=-1.0 size=    2835kB time=00:00:07.28 bitrate=3187.1kbits/s    
12:53:45.208 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  236 fps= 82 q=-1.0 size=    3048kB time=00:00:07.96 bitrate=3137.0kbits/s    
12:53:45.707 [StreamLogger-152] DEBUG GenericPipeCaptureDevice - err: frame=  252 fps= 74 q=-1.0 size=    3225kB time=00:00:08.48 bitrate=3112.7kbits/s
Its no way the quality of the IPTV Network Encoders (since those are HDMI) but it makes some cheap way to add a IRD to Sage (if you can find some nice deals of SlingBox M1). The good thing is that it even handles the channel change via the built in Slingbox infrared (IRD must be supported by slingbox)
I don't know that it would be a good idea to turn it off after so many seconds. You could miss something of interest when things go haywire. Try adding -nostats right after ffmpeg.exe.
__________________
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
  #44  
Old 01-30-2017, 08:17 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by Jabroni View Post
If you read the threads, ppl have connected ip cameras, twitch.tv streams, in my case slingboxes, all using this great software and some external scripts/utilities.

So to answer your question, yes you could have a solution with OpenDCT to replace your HDPVR, but it will depend on ur current hardware and budget what would u need
Thanks - I have followed this thread sporadically and I have tried setting up an IP camera but I was not successful, perhaps due to the type of cameras that I have.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #45  
Old 01-31-2017, 08:47 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by wayner View Post
Thanks - I have followed this thread sporadically and I have tried setting up an IP camera but I was not successful, perhaps due to the type of cameras that I have.
What type is it?

I have used a HKvison and 2 Foscams.
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #46  
Old 01-31-2017, 09:30 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by technazz View Post
What type is it?

I have used a HKvison and 2 Foscams.
I have a few types, including a couple of Foscams. Can you post your config for the Foscams - don't forget to blank out any passwords? Thanks.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #47  
Old 01-31-2017, 09:49 PM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by wayner View Post
I have a few types, including a couple of Foscams. Can you post your config for the Foscams - don't forget to blank out any passwords? Thanks.
Code:
rtsp://login:password@192.168.0.25:554/videoMain
Try that link in VLC if it works then insert into the code the @Fuzzy posted (post 35)

Follow the instructions on post #1 to generate the config in the properties file. Also make sure you have FFMPEG installed in the path stated.

Good Luck!
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #48  
Old 03-06-2017, 11:50 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
So, playing around with this, and I started using one of my prime encoders to feed a prebuilt ffmpeg that is HW enabled (from: https://github.com/illuspas/ffmpeg-hw-win32). On my windows desktop, using nvenc_h264 (it's got a geForce GTX 660 Ti), and the 'fast' preset, it transcodes HD streams from MPEG-2 to h.264, using about 4% cpu on my AMD FX-3750. I'm sure further tweaks could be made to improve it.

Code:
sagetv.device.2126325048.streaming_executable=ffmpeg.exe -f mpegts -i http\://192.168.99.30\:5004/auto/v%c% -acodec copy -vcodec nvenc_h264 -preset fast -f mpegts -
By comparison, using the same command with the plain all software -vcodec h264 uses about 80% cpu. I wish I could figure out how to compile the linux version, because I'd love to use qsv in a linux vm on my unraid server, but it seems like intel has made it purposefully hard to build and distribute the hw enabled ffmpeg. I'll probably roll up a windows vm and try it that way.
__________________
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
Reply With Quote
  #49  
Old 03-07-2017, 05:39 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Fuzzy View Post
So, playing around with this, and I started using one of my prime encoders to feed a prebuilt ffmpeg that is HW enabled (from: https://github.com/illuspas/ffmpeg-hw-win32). On my windows desktop, using nvenc_h264 (it's got a geForce GTX 660 Ti), and the 'fast' preset, it transcodes HD streams from MPEG-2 to h.264, using about 4% cpu on my AMD FX-3750. I'm sure further tweaks could be made to improve it.

Code:
sagetv.device.2126325048.streaming_executable=ffmpeg.exe -f mpegts -i http\://192.168.99.30\:5004/auto/v%c% -acodec copy -vcodec nvenc_h264 -preset fast -f mpegts -
By comparison, using the same command with the plain all software -vcodec h264 uses about 80% cpu. I wish I could figure out how to compile the linux version, because I'd love to use qsv in a linux vm on my unraid server, but it seems like intel has made it purposefully hard to build and distribute the hw enabled ffmpeg. I'll probably roll up a windows vm and try it that way.
You need to build a custom kernel to use QSV in Linux. QSV would be the only reason I would ever go back to using Windows for anything PVR related. It would be nice if they could bake it into the next Kernel, but I highly doubt it will ever happen. I think there's some license compatibility issues. Also what they do provide only seems to work on very specific Kernel versions.

There is one downside to what you're doing there and you only need to look at the PNE threads to know what that is. You will have problems when FFmpeg misses a video/audio stream or doesn't stream at all because it didn't search enough into the stream.
__________________
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
  #50  
Old 03-07-2017, 06:10 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Yeah, I'm not against running a VM to handle this, and frankly, the cpu load differences between this and the software encoder MORE than makes up for the inefficiencies of running a VM. I honestly think the javacpp could probably include the hwaccell options in their builds, which would allow this to be done all within opendct proper, just by making new presets. Even if QuickSync isn't an option because of intel's licensing, I'd gladly throw a couple mid-level nvidia cards onto my unraid machine to use nvenc instead.
__________________
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
Reply With Quote
  #51  
Old 03-07-2017, 07:13 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
Quote:
Originally Posted by Fuzzy View Post
Yeah, I'm not against running a VM to handle this, and frankly, the cpu load differences between this and the software encoder MORE than makes up for the inefficiencies of running a VM. I honestly think the javacpp could probably include the hwaccell options in their builds, which would allow this to be done all within opendct proper, just by making new presets. Even if QuickSync isn't an option because of intel's licensing, I'd gladly throw a couple mid-level nvidia cards onto my unraid machine to use nvenc instead.
If you have hardware that will do pass-through reliably, then that's definitely an option for you. I can bet that many people are not going to be able to follow you without buying new hardware. unRAID recently added the ability to pass-through the onboard graphics to a Windows VM, so that could be an option. I tried it myself for a PlayOn VM and the VM just hung. I personally haven't had a lot of luck getting pass-though to work reliably on consumer boards that allegedly have the ability. I have some server-grade motherboards that can almost certainly do it to varying degrees, but they are Core 2 Quad processors which for our purposes isn't very helpful. I think my AMD gaming computer was able to do it without too many issues when I played with it a few years ago, but I really don't want to use that for my server.

You continue to not understand that support in JavaCPP is not just build it in and change the codec. In my mind that's how easy it should be. It's much more elaborate than that likely out of necessity. The FFmpeg project for all of the great things it has given us is not nearly as elegant internally as we would like to imagine. Any codec that needs hardware requires setup beyond loading a codec and that often involves additional C code (nothing you can do in Java) just to start talking with the hardware accelerator. Everything you need is not in the libraries. I'm not against non-Java code, but there just isn't enough demand and it adds a great hassle to a project that I'm trying to keep simple.

Knowing all of that we could do kind of a "hacky" hybrid whereby we do the detection using JavaCPP, note how much data that actually took to get a correct result, force ffmpeg.exe to use that much data for detection, then stream from ffmpeg.exe. It will be a slower start, but it will be correct more often. This obviously isn't very efficient overall, but it would get you what you're looking for with minimal effort. My thoughts on this are that if we're going do this, we should be working on a replacement for the version of FFmpeg that SageTV is using for transcoding. We could then also make it an optional output step for writing with the built in remuxer. That way, we help everyone, not just ourselves in one scenario.

Edit: You're using the default software settings which are not tuned at all for realtime encoding (hence the really high CPU usage). This is hardly a fair comparison on CPU usage. Also if you even casually look around, you'll see plenty of reviews that still say x264 is superior in picture quality all around over consumer level hardware encoders. This of course has more to do with personal preference too. If you can't see the difference, it doesn't matter, but still I think you're dramatizing things a little.
__________________
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; 03-07-2017 at 07:19 AM.
Reply With Quote
  #52  
Old 05-04-2017, 08:13 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Does anyone have this working with Blue Iris. I am just setting up BI and it seems that others here use it (like @Tiki for example) and it would be great to be able to see my IP cameras and a multi-camera view from within SageTV.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #53  
Old 05-04-2017, 08:26 AM
Jabroni's Avatar
Jabroni Jabroni is offline
Sage Aficionado
 
Join Date: Mar 2006
Posts: 251
Quote:
Originally Posted by wayner View Post
Does anyone have this working with Blue Iris. I am just setting up BI and it seems that others here use it (like @Tiki for example) and it would be great to be able to see my IP cameras and a multi-camera view from within SageTV.
My suggestion would be to rather use SageTV Miniclient on android, and on your androidtv box install TinyCam (TV Version supported), that program has native support for Blue Iris so no need of jumping thru all hoops to get them "play nice" with sage
__________________
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
  #54  
Old 05-04-2017, 09:15 AM
panteragstk's Avatar
panteragstk panteragstk is offline
SageTVaholic
 
Join Date: Oct 2008
Location: New Braunfels, TX
Posts: 3,312
Quote:
Originally Posted by Jabroni View Post
My suggestion would be to rather use SageTV Miniclient on android, and on your androidtv box install TinyCam (TV Version supported), that program has native support for Blue Iris so no need of jumping thru all hoops to get them "play nice" with sage
I did this with my zoneminder cams and it works great.
__________________
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
  #55  
Old 05-04-2017, 10:54 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
My clients are still primarily SageTV HD200 and HD300s. Besides the cost of buying Android devices, and I did buy a MiBox to try it out, I find the Sage extenders more reliable, especially with OTA MPEG-2 content. And you can't install a camera viewer on an extender.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #56  
Old 07-27-2018, 11:44 PM
brbjr brbjr is offline
Sage User
 
Join Date: Jun 2004
Posts: 16
Help with multiple generic pipe encoders - Killing each other

I have the generic pipe working on an iptv stream and cloned it to add a 2nd encoder. When I watch 2 shows at the same time the encoders are killing each other.

I created a .net app called steamer that uses the passed in parameter(channel) to locate the correct stream and encode it with ffmpeg outputting the stream to pipe -

I tried to copy the streamer.exe file and point the second encoder at streamer2.exe

What are the criteria opendct uses to consider an encoder process is stuck?

In the config file, it is iptv1,iptv2, and iptv3 configs.

Testing steps watched 629 on one tv and then watch 631 on another tv. Both TVs display the show correctly and play until opendct kills the first stream. The second stream continues to play.

You can see this behavior in the logs as "The consumer appears to be stuck at..."

System: Windows 10 64 bit
Sage TV: 9.1.9.778

Any help is appreciated.
Attached Files
File Type: zip logs.zip (12.4 KB, 226 views)
Reply With Quote
  #57  
Old 07-28-2018, 07:57 AM
brbjr brbjr is offline
Sage User
 
Join Date: Jun 2004
Posts: 16
Quote:
Originally Posted by brbjr View Post
I have the generic pipe working on an iptv stream and cloned it to add a 2nd encoder. When I watch 2 shows at the same time the encoders are killing each other.

I created a .net app called steamer that uses the passed in parameter(channel) to locate the correct stream and encode it with ffmpeg outputting the stream to pipe -

I tried to copy the streamer.exe file and point the second encoder at streamer2.exe

What are the criteria opendct uses to consider an encoder process is stuck?

In the config file, it is iptv1,iptv2, and iptv3 configs.

Testing steps watched 629 on one tv and then watch 631 on another tv. Both TVs display the show correctly and play until opendct kills the first stream. The second stream continues to play.

You can see this behavior in the logs as "The consumer appears to be stuck at..."

System: Windows 10 64 bit
Sage TV: 9.1.9.778

Any help is appreciated.
I fixed my issue by moving my stream picker to a web server and redirecting to the video stream.
Reply With Quote
  #58  
Old 07-28-2018, 08:41 AM
brbjr brbjr is offline
Sage User
 
Join Date: Jun 2004
Posts: 16
Quote:
Originally Posted by brbjr View Post
I fixed my issue by moving my stream picker to a web server and redirecting to the video stream.
I spoke too soon. I am still having the issue.

New logs and config attached.
Attached Files
File Type: zip logs.zip (90.5 KB, 236 views)
Reply With Quote
  #59  
Old 07-30-2018, 06:20 AM
technazz's Avatar
technazz technazz is offline
Sage Aficionado
 
Join Date: Jul 2004
Location: Hamilton, ON, CA
Posts: 499
Quote:
Originally Posted by brbjr View Post
I have the generic pipe working on an iptv stream and cloned it to add a 2nd encoder. When I watch 2 shows at the same time the encoders are killing each other.

I created a .net app called steamer that uses the passed in parameter(channel) to locate the correct stream and encode it with ffmpeg outputting the stream to pipe -

I tried to copy the streamer.exe file and point the second encoder at streamer2.exe

What are the criteria opendct uses to consider an encoder process is stuck?

In the config file, it is iptv1,iptv2, and iptv3 configs.

Testing steps watched 629 on one tv and then watch 631 on another tv. Both TVs display the show correctly and play until opendct kills the first stream. The second stream continues to play.

You can see this behavior in the logs as "The consumer appears to be stuck at..."

System: Windows 10 64 bit
Sage TV: 9.1.9.778

Any help is appreciated.

Are you sure you provider allows more than one stream?

I have to pay per stream. If I want to tune 2 streams I have to pay for the extra connection. Otherwise your providers IPTV "Panel" will stop the old stream when you connect to a new stream.

Chris
__________________
SageTV V9.xx 2 x HD300's, 2 x Nvidia Shields Running Mini Client
Reply With Quote
  #60  
Old 08-02-2018, 08:26 AM
brbjr brbjr is offline
Sage User
 
Join Date: Jun 2004
Posts: 16
Quote:
Originally Posted by wayner View Post
Does anyone have this working with Blue Iris. I am just setting up BI and it seems that others here use it (like @Tiki for example) and it would be great to be able to see my IP cameras and a multi-camera view from within SageTV.
Here is a working config for Blue Iris:

sagetv.device.<unique_id>.consumer=opendct.consumer.RawSageTVConsumerImpl
sagetv.device.<unique_id>.custom_channels=3000
sagetv.device.<unique_id>.fast_network_encoder_switch=false
sagetv.device.<unique_id>.streaming_executable=c\:\\\\ffmpeg\\ffmpeg.exe -f lavfi -i anullsrc -i http\://username\asswword@serverip\:serverport/h264/cameraOrGroupShortName/temp.ts -f mpegts -codec\:a aac -
sagetv.device.<unique_id>.tuning_delay_ms=0

You will need to update your ffmeg path
Reply With Quote
Reply

Tags
executable, script, streaming


Currently Active Users Viewing This Thread: 1 (0 members and 1 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
USB Capture Device? Skybolt Hardware Support 5 05-07-2013 07:00 PM
HVR-1600 Capture Device? m0ng00se30 Hardware Support 10 04-28-2007 10:24 AM
Using Motorola Tuner device for capture device cyberfreak Hardware Support 4 02-22-2007 02:47 PM
No AV Capture Device jaelanicu SageTV Recorder Software 5 08-03-2006 02:02 AM
Video Capture Device - Not Available crashdude Hardware Support 2 03-15-2004 12:14 PM


All times are GMT -6. The time now is 02:05 PM.


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