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
  #21  
Old 07-29-2010, 01:32 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by Brent94Z View Post
Ever since I started using this I haven't seen an option where the Config Tool can "play" a channel. I can "test the reception" but all I ever get is a bunch of text. I do get a VLC window that pops up but there is only constant scrolling text with a lot of messages/info. One bit of info that repeats a lot is "buffer underflow". That doesn't sound good. LOL
So no VLC windows pops up with video?

In webfeedencoder/logs should be some files called NASATV_VLC.log etc. Could you post those pls.

BTW Its sounded like you were saying you installed VLC 1.1 again. VLC 1.1 doesn;t work. Only 1.0.5 works at the moment.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #22  
Old 07-29-2010, 05:55 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
Quote:
Originally Posted by michaeldjcox View Post
Hi,

Can you post the encoder.log please.

Also when you try and tune the channel open up windows task manager.

You should see a java.exe with encoder.jar in the command line

You should see a vlc.exe session quoting a vlc-conf file <callsign>.conf.

Does the vlc.exe session memory use grow - does it look like its busy.

If memory stays the same and it doesn't seem to use CPU then it has probably crashed. This usually turns out to be a windows permissioning problem.

Michael
Here's my encoder log.

"You should see a java.exe with encoder.jar in the command line

You should see a vlc.exe session quoting a vlc-conf file <callsign>.conf."

I don't see that kind of detail in my task manager. I just see what the image name running is - java * 32 or vlc.exe *32. Where in task manager do you see the rest??

I see VLC running, but it is not consuming CPU or memory.
Attached Files
File Type: zip encoder.zip (37.4 KB, 253 views)
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3
Reply With Quote
  #23  
Old 07-29-2010, 11:06 PM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Quote:
Originally Posted by michaeldjcox View Post
So no VLC windows pops up with video?

In webfeedencoder/logs should be some files called NASATV_VLC.log etc. Could you post those pls.

BTW Its sounded like you were saying you installed VLC 1.1 again. VLC 1.1 doesn;t work. Only 1.0.5 works at the moment.

Michael
That's correct... I get no video. The only window that pops up has text which is rapidly scrolling.

I'm still on 1.0.5 but was going to re-install the newer version but now I won't

Will post some logs when I get back to the computer. Thanks!
Reply With Quote
  #24  
Old 07-30-2010, 07:37 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by SteveW View Post
Here's my encoder log.

"You should see a java.exe with encoder.jar in the command line

You should see a vlc.exe session quoting a vlc-conf file <callsign>.conf."

I don't see that kind of detail in my task manager. I just see what the image name running is - java * 32 or vlc.exe *32. Where in task manager do you see the rest??

I see VLC running, but it is not consuming CPU or memory.
Seems very much like a windows permission problem. VLC unable to read conf file or unable to write to the recordings dir.

Very likely if you are on vista or windows 7.

Things to play around with:

1. Open up the recording dir so everyone can read/write it.
2. Make vlc.exe run by administrator

The other thing that sometimes happens is VLC pops up a dialog asking about some preferences.

Always worth running up VLC manually once after you install it.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #25  
Old 07-30-2010, 10:49 AM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
Quote:
Originally Posted by michaeldjcox View Post
Seems very much like a windows permission problem. VLC unable to read conf file or unable to write to the recordings dir.

Very likely if you are on vista or windows 7.

Things to play around with:

1. Open up the recording dir so everyone can read/write it.
2. Make vlc.exe run by administrator

The other thing that sometimes happens is VLC pops up a dialog asking about some preferences.

Always worth running up VLC manually once after you install it.

Michael
I had already tested VLC on it's own. I can run it up fine and play media in it. It's not asking me any questions. I'll play with your suggestions 1 & 2 and see if they get me anywhere.
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3
Reply With Quote
  #26  
Old 07-30-2010, 03:16 PM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Quote:
Originally Posted by michaeldjcox View Post
In webfeedencoder/logs should be some files called NASATV_VLC.log etc. Could you post those pls.


Michael
Hey Michael! I have no logs in there like that for NASATV even though I've tried it several times. I just now tried it again and it does come up and play for a few seconds initially but then starts freezing (both video and audio) and is very pixelated.

I do have a log in there of just ONE of the feeds though and it is a radio station that I just added to try out but it is from when I first installed this (before I added the lines that you said to add) so don't want to post that and cause confusion.

I'm also still getting the java.exe "java.exe has encountered a problem and needs to close. We are sorry for the inconvenience." error when I click on the Config Tool launch button from within Sage. Not sure if that could have anything to do with the issues? This only happens the first time I click on it. When it closes on the error and then I click it again, I don't get the error and the config tool comes up and appears to work fine.

I did also try to play a video (Test Channel Reception) again from the Config Tool and still just getting text. A few times it shot out a bunch of text for a few seconds then indicating "nothing to play" but I did get a screen shot of NASATV as it was buffering and such. Not sure if this helps but I attached the screen shot.

Thanks!
Attached Images
File Type: jpg webencoder1.JPG (170.3 KB, 287 views)
Reply With Quote
  #27  
Old 07-30-2010, 04:29 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
Quote:
Originally Posted by SteveW View Post
I had already tested VLC on it's own. I can run it up fine and play media in it. It's not asking me any questions. I'll play with your suggestions 1 & 2 and see if they get me anywhere.
- Set VLC to run as admin
- Moved recordings directory to off of root of C: versus default, and added read/write for all users

Still no go. Even turned off UAC, still same thing. When I test the channel, a VLC text window pops up with some info, but it never gets further than that. I've included logs again in case you can see anything new that might point me to what's going on...

Tnx

-S
Attached Files
File Type: zip encoder.zip (19.0 KB, 235 views)
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3
Reply With Quote
  #28  
Old 07-30-2010, 04:49 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Hi,

Did you have this stuff working with 0.9.6 version before and its just with 0.9.7 on Sage V7 it isn't working?

I'm interested in seeing the content of the file:

C:\PROGRA~2\SageTV V7\SageTV\webfeedencoder\tmp\FrontYard.conf

For Jabronis ip cams I remoted in to his box and took a look - I think it was using teamviewer. It may be quicker to do this if you trust me

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #29  
Old 07-30-2010, 05:04 PM
SteveW's Avatar
SteveW SteveW is offline
Sage Aficionado
 
Join Date: Oct 2008
Location: Fall River, Nova Scotia, Canada
Posts: 389
I should have said a bit more about how I got here.

My main server is still using Sage 6, XPSP3, VLC 1.0.5 and working fine with the WFE.

I'm testing Sage 7 on a box running Win 7 64 Pro to get some facetime with Sage 7 before I consider putting it into production on my normal server.

So in fact, on the test server, I happen to have VLC 1.0.3 (just noticed they are different - thought they were the same). After not having any luck with the built in samples with WFE on Sage 7, I decided to copy my working channel file from Sage 6 over to 7 since I know it works.

And yes, you are free to connect if you wish. The web cam is just part of my Davis Vantage Pro2 Weatherstation I have set up here at home. I'll send you the details shortly.

Tnx.

-S

Edit: Upgraded to VLC 1.0.5 on my test server with Sage 7. No change in results....
__________________
Server: Win 10 Pro 64 Bit, Intel i5, 8 GB, Samsung EVO 850 500 GB for OS, WD Black 4 TB + WD Black 1 TB for Recordings, 36TB Synology 1019+ for DVD/Bluray Rips, Music, Home Movies, etc., SageTV Server 64 Bit Ver 9.2.6.976, HDPVR x 2, Bell TV 6131 Receiver x 2, USB-UIRT with 56 KHz Receiver

Clients: PC Client x 2, HD-300 x 2 (1 Using Netgear MoCA Coax Bridges), SageTV Miniclient on NVidia Shield x 3

Last edited by SteveW; 07-30-2010 at 05:30 PM.
Reply With Quote
  #30  
Old 08-04-2010, 06:07 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Hey Michael!

I have added a podcast using the Config Tool. I can get this to play and work fine within the Config Tool but the podcast is not showing up in the Online Services area of Sage. I've tried restarting Sage but that didn't work. Any ideas on what might be going wrong? Thanks!
Reply With Quote
  #31  
Old 08-06-2010, 05:14 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by Brent94Z View Post
Hey Michael!

I have added a podcast using the Config Tool. I can get this to play and work fine within the Config Tool but the podcast is not showing up in the Online Services area of Sage. I've tried restarting Sage but that didn't work. Any ideas on what might be going wrong? Thanks!
What should happen is that a couple of files are generated in STVs/SageTV3/OnlineVideos and STVs/SageTV7/OnlineVideos which end in _wfe.

In the config tool you can select the services tab and choose menu actions Remove and Resend to try and repopulate.

In sagetv coming out of online services and going back in is usually enough to pick up changes.

If you still see nothing send me encoder logs. A look in the sagetv logs might yield something useful too.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #32  
Old 08-06-2010, 07:51 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Hey Michael!

I *think* my podcast may have been there all along. DOH! Last night I thought I'd see what a podcast looked like so figured I'd look at the one that was in there so went to Podcast Directory > Society and Culture > Blogs and all-be-darned... my podcase was in THERE!

So, I think it was working all along... I did originally click on Society and Culture but backed out as soon as I saw "Blogs" because, in my head, what I added was a podcast.

I just misunderstood the layout and default groupings but everything appears to be working fine. Thanks and sorry for misunderstanding how this worked

Question... would it be possible (actually, everything is probably possible so I guess I should ask would it be difficult LOL) to have podcasts show up in the guide as a "channel" and then I could set this as a "Favorite" so when a new podcast shows up it "records" it and then shows up in my "Recordings" area of Sage? That sounds like it might be a pain but who knows so thought I'd at least ask Thanks!
Reply With Quote
  #33  
Old 08-10-2010, 04:07 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by Brent94Z View Post
So, I think it was working all along... I did originally click on Society and Culture but backed out as soon as I saw "Blogs" because, in my head, what I added was a podcast.
Good.

Quote:
Originally Posted by Brent94Z View Post
Question... would it be possible (actually, everything is probably possible so I guess I should ask would it be difficult LOL) to have podcasts show up in the guide as a "channel" and then I could set this as a "Favorite" so when a new podcast shows up it "records" it and then shows up in my "Recordings" area of Sage? That sounds like it might be a pain but who knows so thought I'd at least ask Thanks!
That sounds like a great idea. Bit further than I can go at the moment. I'm still struggling with some "just get it working" types issues with SageTV7 and want to put some time into getting tuning working faster. I'll put that one in the melting pot though - I have been interested in being able to swap things from channels to online services and back again as there some channels that might be nicer accessed from online services.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #34  
Old 08-10-2010, 05:10 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Quote:
Originally Posted by michaeldjcox View Post
That sounds like a great idea. Bit further than I can go at the moment. I'm still struggling with some "just get it working" types issues with SageTV7 and want to put some time into getting tuning working faster. I'll put that one in the melting pot though - I have been interested in being able to swap things from channels to online services and back again as there some channels that might be nicer accessed from online services.

Michael
Good deal! Thanks much again for your work on this!
Reply With Quote
  #35  
Old 09-17-2010, 12:49 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Launching the configtool from a SageTV client on the server box

Hi,

I have discovered that my buttons to launch the config tool from the SageTV GUI do not always work.

It probably works for a remote SageTV client - I don't have the setup to confirm that.

If definitely works from the SageTV GUI if the server is not being used.

However it does not work if the SageTV client is on the same box as the server.

I think this is because it ends up being launched from the server, runs as SYSTEM rather than the user, and is not allowed to raise a GUI to the users screen - but does run in the background.

I have tried using "runas" to fix this - but it doesn't work.

So I'm going to have to rethink this one.

My options are:
  1. the server and client plugin installs create some user shortcuts - should be straighforward.
  2. run the config tool from a browser as an applet - will probably get in to difficulties with permissioning. But I can then dispense with the remote config tool plugin.
  3. run the tool from the browser as a web start app - quite a lot of work to set this one up. But I can then dispense with the remote config tool plugin.
  4. create a servlet based solution - but this needs a big rework of config tool dialogs to formulate them as web pages.

So I'm going to try the first one and will post here when done

In the meantime the config tool can still be run manually:

java -jar webfeedencoder/libs/configtool.jar

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #36  
Old 09-24-2010, 03:30 AM
scanner95 scanner95 is offline
Sage Advanced User
 
Join Date: Jan 2009
Posts: 129
Hello Michael,

The latest Beta bring the following in:
Quote:
7. Added experimental property "fast_network_encoder_switch" which is capture-device specific. This will enable using seamless file transitions with network encoders. This is NOT officially supported and is intended mainly for 3rd party network encoders that wish to support this capability. It should however work with regular SageTV network encoders, however this has not been tested and is not supported.
Is it by chance what will increase the tuning speed in WFE?

Thanks,
Reply With Quote
  #37  
Old 10-01-2010, 03:45 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by scanner95 View Post
Is it by chance what will increase the tuning speed in WFE?
,
Sounds like its more about changing channels than tuning in - but I'll give it a go.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
Reply With Quote
  #38  
Old 10-01-2010, 03:53 PM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Arrow Version 0.9.7 (build 325) - Release candidate 1

Have just submitted a plugin update.

User guide for installation instructions here:

If you've already installed using plugin manager then upgrade using the manager.

If you are upgrading from a pre-SageTV plugin manager installation please following the instructions in the user guide.

Latest fixes:
  • Install web feed encoder as a service.
  • Use web start to launch config tool.
  • Allow local podcasting of a web based media file.
  • Turn off unicode debug logs.
  • Allow video view of test channel in remote mode.
  • Fix bug on linux where VLC launch was windows style.
  • Take backups of Sage.properties before and after install and uninstall

NOTE: The seperate "remote config" web feed encoder SageTV V7 plugin is now obsolete and can be removed.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer

Last edited by michaeldjcox; 10-02-2010 at 08:53 AM. Reason: to add note
Reply With Quote
  #39  
Old 10-02-2010, 10:51 AM
Brent94Z Brent94Z is offline
Sage Fanatic
 
Join Date: Aug 2004
Posts: 863
Thanks for your work on this, Michael! Very nice!

I did update last night from the comfort of my TV chair and remote and didn't see this so will read through and see what I need to do to that might be different.

I do always read the release notes before doing an update. Just a suggestion that if the update (via the update plugin menu) isn't the way the update should be done then sticking a little note about this in the release notes will prevent most of us from updating incorrectly. Thanks!!!
Reply With Quote
  #40  
Old 10-02-2010, 11:24 AM
michaeldjcox michaeldjcox is offline
Sage Fanatic
 
Join Date: Nov 2006
Location: Ipswich, Suffolk, United Kingdom
Posts: 829
Quote:
Originally Posted by Brent94Z View Post
I do always read the release notes before doing an update. Just a suggestion that if the update (via the update plugin menu) isn't the way the update should be done then sticking a little note about this in the release notes will prevent most of us from updating incorrectly. Thanks!!!
I should clarify.

If you don't yet have SageTV V7 then install and upgrade using the provided installer.

If you have have Sage TV V7 and intially installed WFE on SageTV using the plugin manager then do use the plugin manager to upgrade. Three cheers for the plugin manager!

If however you already installed WebFeedEncoder using the provided installer (i.e. because you had Sage V6 then) but you now have SageTV V7 there are special instructions for the one time hop into the SageTV 7 management of the plugin.

The general jist is backup the old installation, uninstall it (but using the 0.9.7 installer), install new version via the plugin manager, choose the config option to import settings.

Michael
__________________
Web Feed Encoder developer
SageTV Catchup developer
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
Utility: Web Radio and TV Encoder michaeldjcox SageTV Customizations 858 02-27-2021 10:26 PM
Plugin: SageTV Web Interface V2 for Jetty jreichen SageTV Customizations 256 02-09-2014 08:05 AM
Web Radio and TV encoder Announcement Thread michaeldjcox Customization Announcements 6 12-10-2010 03:56 PM
SageTV and web radio michaeldjcox SageTV Customizations 3 12-01-2008 11:09 AM
STV Import: Web Radio Plugin for SageMC v1.1b 7/31/06 Morgan111 SageMC Custom Interface 90 03-24-2008 08:17 AM


All times are GMT -6. The time now is 01:19 PM.


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