SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2013, 03:23 PM
fiatmonkey fiatmonkey is offline
Sage User
 
Join Date: Apr 2008
Posts: 37
WebCam integration with SageTV?

Hi,

It's been a LONG time since I posted last but it is now time again...

I would like to be able to stream USB webcam(s) into SageTV. Logitech quickcam 3000 and a new logitech C270 (HD). I followed some posts using SGR graphRecorder (which I have working GREAT for my comcast).

Having issues even getting graphedit to stream the data to a file. So my question is - has anyone had success with integrating USB webcams with Sagetv using SGR? Can you share your experience? Do you have suggestions on building the GRF file?

Really appreciate anyone's input.
-FM
Reply With Quote
  #2  
Old 01-14-2013, 03:34 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by fiatmonkey View Post
Hi,

It's been a LONG time since I posted last but it is now time again...

I would like to be able to stream USB webcam(s) into SageTV. Logitech quickcam 3000 and a new logitech C270 (HD). I followed some posts using SGR graphRecorder (which I have working GREAT for my comcast).

Having issues even getting graphedit to stream the data to a file. So my question is - has anyone had success with integrating USB webcams with Sagetv using SGR? Can you share your experience? Do you have suggestions on building the GRF file?

Really appreciate anyone's input.
-FM
Web Feed Encoder (WFE) is your friend for this.
Reply With Quote
  #3  
Old 01-14-2013, 03:55 PM
fiatmonkey fiatmonkey is offline
Sage User
 
Join Date: Apr 2008
Posts: 37
Quote:
Originally Posted by PiX64 View Post
Web Feed Encoder (WFE) is your friend for this.
Thanks for the post...Reading WFE notes...
Reply With Quote
  #4  
Old 01-16-2013, 11:24 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Let us know if you get it working. I tried a bit but was never successful - I think I was trying to use VLC to broadcast a stream.

I would also be interested in getting the stream from an IP camera viewable in Sage. I have a few Trendnet video cameras that I can view from a web page, software like IP Camera Viewer, and iPad apps, but I don't kow if or how you could get it into Sage.

If you have a plain analog video camera and you want to stream that through Sage you can use an old tuner card with a composite input, like a PVR-150.
__________________
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
  #5  
Old 01-16-2013, 11:31 AM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by wayner View Post
Let us know if you get it working. I tried a bit but was never successful - I think I was trying to use VLC to broadcast a stream.

I would also be interested in getting the stream from an IP camera viewable in Sage. I have a few Trendnet video cameras that I can view from a web page, software like IP Camera Viewer, and iPad apps, but I don't kow if or how you could get it into Sage.

If you have a plain analog video camera and you want to stream that through Sage you can use an old tuner card with a composite input, like a PVR-150.
Really Wayner, what was the issue?

I have successfully setup rtsp streams from my web cams, as well as usb based cams without issue..
Reply With Quote
  #6  
Old 01-16-2013, 11:37 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
VLC seems to have a tendency to crash on a very frequent basis, at least it did for me, whenever I tried streaming of a webcam or other device. My other idea to do this was to just have the webcams up on a PC and broadcast that webcam using VLC. But I could never get the desktop broadcast to work properly either.

As is mentioned in the WFE thread, there are many updates to VLC and each new version seems to break as many things as it fixes.

I should be nice since it is free and is Open, but VLC is in many ways the most crash-prone unstable piece of software that I have used in many years and this has been my experience across many PCs, and many versions of VLC.
__________________
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
  #7  
Old 01-16-2013, 12:16 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by wayner View Post
VLC seems to have a tendency to crash on a very frequent basis, at least it did for me, whenever I tried streaming of a webcam or other device. My other idea to do this was to just have the webcams up on a PC and broadcast that webcam using VLC. But I could never get the desktop broadcast to work properly either.

As is mentioned in the WFE thread, there are many updates to VLC and each new version seems to break as many things as it fixes.

I should be nice since it is free and is Open, but VLC is in many ways the most crash-prone unstable piece of software that I have used in many years and this has been my experience across many PCs, and many versions of VLC.
Yeah the old version of VLC that WFE requires is a bit finicky. what also works quite well is to use a loopback channel and capture card via svideo input or composite input.
Reply With Quote
  #8  
Old 01-16-2013, 12:23 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
But for that sort of a loopback you need a video card that outputs to composite or s-video, which is getting tricky to find. I guess you could also use a Colossus or the new HDPVR2 since they have HDMI inputs, assuming that HDCP doesn't screw you up.

On second thought, maybe one way to go is to use a Raspberry Pi as your streaming source. It is only $35 and has a composite video output. And you could use SSH or VNC to control what you are streaming. It is probably cheaper than buying a video card with s-video or composite out.
__________________
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
  #9  
Old 01-16-2013, 12:24 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by wayner View Post
But for that sort of a loopback you need a video card that outputs to composite or s-video, which is getting tricky to find. I guess you could also use a Colossus or the new HDPVR2 since they have HDMI inputs, assuming that HDCP doesn't screw you up.

On second thought, maybe one way to go is to use a Raspberry Pi as your streaming source. It is only $35 and has a composite video output. And you could use SSH or VNC to control what you are streaming. It is probably cheaper than buying a video card with s-video or composite out.
Thats an awesome idea for that little rpi! wish i had one to give it a whirl on...
Reply With Quote
  #10  
Old 01-16-2013, 12:27 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
They aren't hard to find now as they seem to have finally balanced supply and demand.

http://www.newark.com/jsp/bespoke/be...pi-Accessories
__________________
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
  #11  
Old 01-16-2013, 12:35 PM
PiX64's Avatar
PiX64 PiX64 is offline
Sage Icon
 
Join Date: Dec 2008
Location: Illinois
Posts: 1,991
Quote:
Originally Posted by wayner View Post
They aren't hard to find now as they seem to have finally balanced supply and demand.

http://www.newark.com/jsp/bespoke/be...pi-Accessories
My wife doesn't know you, but she doesn't like you right now :-)
Reply With Quote
  #12  
Old 01-16-2013, 01:00 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
To get back to the original issue, one thing to be careful of when you do this is to make sure that you are watching "live". I occasionally keep an eye on my kids using an analog camera streamed through a PVR-150 and you can get accidentally end up watching content that is an hour or more delayed.

The other thing is that the digital transcoding process will likely cause a few second delay vs "real-time". The good thing is that you can always rewind a bit if you have to!
__________________
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
  #13  
Old 01-16-2013, 01:08 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by wayner View Post
I would also be interested in getting the stream from an IP camera viewable in Sage.
D'Oh...

I guess I should RTFP - post 1 of the WebFeedEncoder thread has:
Quote:
Headline changes this release

Support for latest VLC.
Support for IP cameras.
Support for MPEG2 IP TV.
Support for Audio only devices.
New feature to ensure VLC sessions die.
I will try this out and post my results.
__________________
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

Last edited by wayner; 01-22-2013 at 10:18 AM.
Reply With Quote
  #14  
Old 01-18-2013, 10:20 PM
fiatmonkey fiatmonkey is offline
Sage User
 
Join Date: Apr 2008
Posts: 37
Quote:
Originally Posted by wayner View Post
Let us know if you get it working. I tried a bit but was never successful - I think I was trying to use VLC to broadcast a stream.

I would also be interested in getting the stream from an IP camera viewable in Sage. I have a few Trendnet video cameras that I can view from a web page, software like IP Camera Viewer, and iPad apps, but I don't kow if or how you could get it into Sage.

If you have a plain analog video camera and you want to stream that through Sage you can use an old tuner card with a composite input, like a PVR-150.
Sorry for the late reply - I had this working pretty quickly with no major issues. I just made sure to upgrade the proper VLC (according to the notes for WFE plugin).

I integrated 2 usb cams; an old low-res quickcam 3000 and a c270HD(?) both logitech. The video is choppy and lower res by default AND the quickcam is stuck in black and white. Anyone know how I could change these settings somewhere?

With that, it does work. However the overhead can be high if I am streaming, recording and watching a web cam. CPU and memory get pretty hot. I also notice the tuning time for SageTV to display the feed is really long. Like 10 seconds.


Quote:
Originally Posted by wayner View Post
To get back to the original issue, one thing to be careful of when you do this is to make sure that you are watching "live". I occasionally keep an eye on my kids using an analog camera streamed through a PVR-150 and you can get accidentally end up watching content that is an hour or more delayed.

The other thing is that the digital transcoding process will likely cause a few second delay vs "real-time". The good thing is that you can always rewind a bit if you have to!
I get your point there on real-time vs. delayed. I see about a 3 second delay at minimum. I also have to make sure I FF once I start watching if I want to keep the delay down to 3 sec.


I would really like to give SGR another chance. WFE is really cool, but overkill for my needs I think.
Thanks,
FM
Reply With Quote
  #15  
Old 01-22-2013, 10:20 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Quote:
Originally Posted by fiatmonkey View Post
I would really like to give SGR another chance. WFE is really cool, but overkill for my needs I think.
I don't know if you have been following the WFE thread but mkanet has figured out some changes that make things work a bit better. You still need VLC to broadcast the stream but for many streams you don't actually have to reencode as Sage can display the original video file. This means that the quality should be better, there should be fewer problems and you aren't using as many CPU resources.
__________________
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
  #16  
Old 01-22-2013, 11:18 AM
fiatmonkey fiatmonkey is offline
Sage User
 
Join Date: Apr 2008
Posts: 37
Quote:
Originally Posted by wayner View Post
I don't know if you have been following the WFE thread but mkanet has figured out some changes that make things work a bit better. You still need VLC to broadcast the stream but for many streams you don't actually have to reencode as Sage can display the original video file. This means that the quality should be better, there should be fewer problems and you aren't using as many CPU resources.

Thanks Wayne. I will read threw the posts on WFE.

-FM
Reply With Quote
Reply


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
Integration (of a sort) of Control4 within SageTV wayner General Discussion 2 04-29-2010 02:49 PM
Integrating a Wireless Webcam into SageTV CanadianEh Hardware Support 1 03-20-2010 08:37 AM
Emulator integration with Sagetv panteragstk General Discussion 2 01-06-2009 08:24 PM
SageTV VDR Integration _markus_ SageTV Linux 2 07-27-2008 08:51 AM
New SageTV Integration Partner dkardatzke Announcements 0 11-05-2003 11:06 AM


All times are GMT -6. The time now is 07:00 PM.


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