View Full Version : Plugin: Web Radio and TV Encoder for SageTV V7
michaeldjcox
07-27-2010, 11:49 AM
Web Feed Encoder 0.9.7
I have made a pre-release available via the plugin manager.
The plugin is marked as beta so proceed with caution!
The web feed encoder has been turned into a V7 plugin thus:
A SageTV plugin class has been written that handles install/uninstall and stop and start
The webfeedencoder directory is now hosted under SageTV directory
The encoder is no longer launched as a windows service but is started up when the server starts
The config tool and encoder start in their own Java Virtual Machine so there are no classpath issues
The plugin configuration screen allows a few essential config items to be set but also contains a button that launches the config tool (this will only work from a desktop SageTV client)
A seperate plugin provides just the config tool to provide for configuring headless servers.
Its probably best to discuss issues related to the V7 plugin start/stop/install/uninstall here and but more general issues here http://forums.sage.tv/forums/showthread.php?t=40637.
Enjoy.
Michael
Brent94Z
07-27-2010, 01:08 PM
Thanks! This looks very nice!
Does it require a reload after install? I noticed there wasn't an option for this and when I went to install the remote part of this, Sage shutdown. Not sure what happened but I restarted then installed the remote part and it then installed OK. Not sure if you need the option to restart Sage after the install or if I just had a glitch :)
I added a couple channels and they show up in the Guide but I'm getting "No Signal" on both. BUT, I haven't read any instructions yet or really had a chance to look at the Configuration part of this so it is probably just something I am doing wrong. I'll do some more reading about just how this works and if I have any trouble I'll post back. Thanks! This looks like it'll be pretty darn nice!
pjpjpjpj
07-27-2010, 02:45 PM
Michael,
Not at home to try it right now, but are there any known issues (or do you have instructions) about uninstalling the previous version, if it was manually installed in Sagev7? With all the changes for v7, is a complete uninstall recommended, and are there some folders/files that would need to be manually deleted?
Thanks!
SteveW
07-27-2010, 05:16 PM
Thanks! This looks very nice!
I added a couple channels and they show up in the Guide but I'm getting "No Signal" on both.
Hmm. Same here...
SteveW
07-27-2010, 05:19 PM
Michael,
Don't see an option in the plugin config to start your WFE channels higher than 900. Does this have to be changed manually? My Bell (Expressvu) receiver has channels already in the 900 range.
Tnx!
-S
michaeldjcox
07-28-2010, 07:18 AM
Thanks! This looks very nice!
Does it require a reload after install? I noticed there wasn't an option for this and when I went to install the remote part of this, Sage shutdown. Not sure what happened but I restarted then installed the remote part and it then installed OK. Not sure if you need the option to restart Sage after the install or if I just had a glitch :)
I added a couple channels and they show up in the Guide but I'm getting "No Signal" on both. BUT, I haven't read any instructions yet or really had a chance to look at the Configuration part of this so it is probably just something I am doing wrong. I'll do some more reading about just how this works and if I have any trouble I'll post back. Thanks! This looks like it'll be pretty darn nice!
Hi,
So you should install the server plugin. The remote config is only needed if your server is headless.
The server install should have restarted the server.
If you can see your two tuners in config - setup video source and they have a lineup of WebFeedEncoder than all should be well.
On the no signals - there is lots that can go wrong here.
Can you send me SageTV/webfeedencoder/logs/encoder.log pls for starters. The SageTV/webfeedencoder/channels/<callsign>.props file will help me to.
Michael
michaeldjcox
07-28-2010, 07:24 AM
Michael,
Not at home to try it right now, but are there any known issues (or do you have instructions) about uninstalling the previous version, if it was manually installed in Sagev7? With all the changes for v7, is a complete uninstall recommended, and are there some folders/files that would need to be manually deleted?
Thanks!
If you already have V7 and webfeedencoder 0.9.6 then you could do one of the following:
1. just upgrade to 0.9.7 using the previous pattern of running the installer and ignore the plugin manager.
OR
2a. Take a backup of the 0.9.6 webfeedencoder directory
2b. Run the 0.9.6 or 0.9.7 installer and choose uninstall
2c. Use the V7 plugin manager to install webfeedencoder 0.9.7
2d. In the config screen down the bottom is a button where you can select the backup dir of 0.9.6 that you created. Your previous config will be imported. The SageTV server will restart. When it comes back your channels should return.
You may posisbly need to use the config tool to repost the lineup and EPG after this.
Michael
michaeldjcox
07-28-2010, 07:27 AM
Michael,
Don't see an option in the plugin config to start your WFE channels higher than 900. Does this have to be changed manually? My Bell (Expressvu) receiver has channels already in the 900 range.
Tnx!
-S
D'oh. I should have added that to the config screen.
I'll do that and post another version.
If you already have an 0.9.6 installation see the post above about upgrade. This would also import your previous setting of where the range of channels should start as well as all existing channels.
Michael
Brent94Z
07-28-2010, 08:58 AM
Hi,
So you should install the server plugin. The remote config is only needed if your server is headless.
The server install should have restarted the server.
If you can see your two tuners in config - setup video source and they have a lineup of WebFeedEncoder than all should be well.
On the no signals - there is lots that can go wrong here.
Can you send me SageTV/webfeedencoder/logs/encoder.log pls for starters. The SageTV/webfeedencoder/channels/<callsign>.props file will help me to.
Michael
I uninstalled the remote config.
Also, does this plugin install VLC? I got to looking and I didn't see it installed on my computer so I downloaded and installed VLC. Still got the "No Signal" so I uninstalled the plugin and reinstalled. Same results. One thing to note is that the first time I go into the Config Tool I get a Java error and the Config Tool closes. I then reopen it and it appears to be working at that point... tells me the encoder is running and Sage is running. I add a couple channels and test them but not really sure what I'm supposed to be seeing here. I do get the EPG grab but testing reception for, say, NASATV gives me the following:
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 Request recording NASATV C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\NASATV_test.mpg
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 ********** Starting recording NASATV C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\NASATV_test.mpg
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 Command: Vlc "VLC" "%url%" --sout="#transcode{vcodec=mp2v,vb=%video.bitrate%,fps=%video.fps%,scale=%video.scale%,width=%video.width%,height=%video.height%,acodec=mpga,ab=%audio.bitrate%,channels=%audio.channels%}:duplicate{dst=std{access=file,mux=%video.mux%,dst='%recording%'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:%streamAsVideoCommandPort% --rc-quiet %vlclogging%
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\NASATV_test.mpg
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 Failed to process command Vlc "VLC" "%url%" --sout="#transcode{vcodec=mp2v,vb=%video.bitrate%,fps=%video.fps%,scale=%video.scale%,width=%video.width%,height=%video.height%,acodec=mpga,ab=%audio.bitrate%,channels=%audio.channels%}:duplicate{dst=std{access=file,mux=%video.mux%,dst='%recording%'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:%streamAsVideoCommandPort% --rc-quiet %vlclogging%
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at uk.co.mdjcox.configdb.ConfigDb.getStreamAsVideoPort(ConfigDb.java:629)
at uk.co.mdjcox.webfeedencoder.RecordingThread.replaceTokens(RecordingThread.java:356)
at uk.co.mdjcox.webfeedencoder.RecordingThread.processCommand(RecordingThread.java:519)
at uk.co.mdjcox.webfeedencoder.RecordingThread.startRecording(RecordingThread.java:174)
at uk.co.mdjcox.webfeedencoder.RecordingThread.run(RecordingThread.java:77)
Jul 28, 2010 10:48:56 AM: WebFeedEncoder-0 Recording started
I do see some "unknowns source" stuff in there which doesn't look good but who am I to say? LOL!
I uploaded the props files. Just delete the .txt off the end. I tried attaching the log file but it says it is too big? Anyway, here is the contents of that file...
# ======================================================================
# Channel properties: NASATV
# ======================================================================
audio.bitrate=128
audio.channels=2
callsign=NASATV
desc=NASA TV
id=nasa-tv
lang=
name=NASA TV
subtitle.color=16777215
subtitle.position=8
subtitle.size=30
subtitle.text=\
type=allinternettv
url=http\://www.youtube.com/NASATelevision
url2=
url2type=
video.ar=16\:9
video.bitrate=800
video.fps=30
video.height=576
video.mux=ts
video.scale=1
video.width=720
grabber.timezone=Local
# ======================================================================
# End of channel properties: NASATV
# ======================================================================
Thanks for looking at this!
michaeldjcox
07-28-2010, 09:07 AM
scanner95 is having similar issues on the other thread.
Will investigate and get back to you.
Incidently - I've have just noticed there is a new version of VLC 1.1. In the usual style of VLC nothing that worked before works now in the same way.
I would download and install 1.0.5 (it will remove the other version for you)
Michael
michaeldjcox
07-28-2010, 09:21 AM
See:
http://forums.sagetv.com/forums/showthread.php?p=438849#post438849
Michael
Brent94Z
07-28-2010, 09:47 AM
See:
http://forums.sagetv.com/forums/showthread.php?p=438849#post438849
Michael
Well, that "kinda" worked :) Since I wasn't sure exactly what to put for just 2 tuners, I changed to 3 tuners then did just a simple copy and paste of what you had. Now, I can get a few audio/radio channels but I've tried a couple of the stations that give video and getting the same results of "No Signal". One thing to note is that when this happens I get the circle in the center of the screen for quite a long period of time and then it actually goes BACK to the guide with "No Signal" in the preview window. Then, after a minute or so, it goes full screen but still indicates "No Signal".
I gotta step away from the computer but if you have any other ideas for me to try, I'll give it a shot when I get back. Thanks for this great plugin!
Brent94Z
07-28-2010, 10:04 AM
Hmm... well that was interesting. I put Sage in a window, tuned to WesternTV and just let it set there for a few minutes while I did something else and it started to play with the audio and video fine. It took a LONG time with the circle spinning away in the center but I am getting video as well as audio now. Just tried the same thing with NASATV and I'm getting a picture (no audio) and the picture froze a few seconds in but this is a start :)
michaeldjcox
07-28-2010, 11:48 AM
Hmm... well that was interesting. I put Sage in a window, tuned to WesternTV and just let it set there for a few minutes while I did something else and it started to play with the audio and video fine. It took a LONG time with the circle spinning away in the center but I am getting video as well as audio now. Just tried the same thing with NASATV and I'm getting a picture (no audio) and the picture froze a few seconds in but this is a start :)
NASA TV is pretty reliable usually - so any problems playing can be other factors like your network, your PC, version of VLC etc..
Something to try which takes SageTV out of the equation...
Use the config tool to test a channel if it plays fine then its SageTV being a PITA.
If there are still problems then if you want to take webfeedencoder and SageTV out of the equation you can just run up VLC. Choose file->open->network and paste in the tuning URL. If there are still problems then its the remote server, the network, or some resource constraint on you box.
I've just noticed the channel has a different tuning URL on my home box:
http://www.nasa.gov/55644main_NASATV_Windows.asx
You could try that for size.
What version of VLC are you now using by the way?
Michael
Brent94Z
07-28-2010, 05:59 PM
Hey Michael! Still not at my computer so can't try what you suggested just yet but...
I "downgraded" to VLC version 1.0.5 before I added the configuration stuff you mentioned in the other thread. I'll try version 1.1 again and see if it works.
Also, I noticed when I uninstalled and then re-installed this plugin that about 5 or 10 seconds after the install was complete and I hit the done/OK button indicating that installation was complete, Sage restarted. Just an FYI that this is exactly what happened before and the reason I thought it "crashed" was because in the other plugins that I've installed which required a complete restart of Sage, a menu item came up indicating that a restart of Sage was required and asked if I wanted to restart now or later. With yours, it just restarts with no indication that Sage is just going to close... that's why I thought something went wrong :)
I do have RoadRunner Lightning and get, on good sites, over 1 megabyte per second download speeds. I'll try some of the testing outside of Sage that you mention.
Thanks much again for the work you put into this plugin. I've got some IP cameras I'm excited to try out too once I get a few moments :D
SteveW
07-28-2010, 08:27 PM
Hi,
So you should install the server plugin. The remote config is only needed if your server is headless.
The server install should have restarted the server.
If you can see your two tuners in config - setup video source and they have a lineup of WebFeedEncoder than all should be well.
On the no signals - there is lots that can go wrong here.
Can you send me SageTV/webfeedencoder/logs/encoder.log pls for starters. The SageTV/webfeedencoder/channels/<callsign>.props file will help me to.
Michael
I'm getting no signal with your standard Parrot Cam, and also no audio generated when using WFE to power Slimplayer. Sage interface almost grinds to a halt while tuning the Parrot Cam.
Similar Java exception that someone else posted here in my encoder log... Using VLAN 1.02. No problems playing the parrot URL through VLAN itself...
Hope this helps.
-S
Brent94Z
07-28-2010, 08:39 PM
I'm getting no signal with your standard Parrot Cam, and also no audio generated when using WFE to power Slimplayer. Sage interface almost grinds to a halt while tuning the Parrot Cam.
Similar Java exception that someone else posted here in my encoder log... Using VLAN 1.02. No problems playing the parrot URL through VLAN itself...
Hope this helps.
-S
Mine also slows way down and key presses (even STOP) take a long time to be recognized. I do have the CPU meter plugin installed and while the CPU is a bit higher than normal it is not maxed out so not sure what is causing such a slow response in Sage when tuning (or attempting to tune) a station.
SteveW
07-28-2010, 08:45 PM
D'oh! I just read:
http://forums.sagetv.com/forums/showthread.php?p=438849#post438849
Added as suggested. It gets me further. Now when I try to tune the parrot cam, I get an error saying:
"Windows cannot find "C:\Program Files\VideoLAN\VLC\VLC.exe
Which makes sense, as those of us using 64 bit, X86 apps end up in:
C:\Program Files (x86)\....
Changed it in the encoder.props
However I'm back to No Signal again.... :-( No java exceptions in encoder log tho now...
Brent94Z
07-29-2010, 07:15 AM
NASA TV is pretty reliable usually - so any problems playing can be other factors like your network, your PC, version of VLC etc..
Something to try which takes SageTV out of the equation...
Use the config tool to test a channel if it plays fine then its SageTV being a PITA.
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
I just ran a speed test from this computer and am getting 36,211kbps so I don't see my problem being a slow internet connection.
If there are still problems then if you want to take webfeedencoder and SageTV out of the equation you can just run up VLC. Choose file->open->network and paste in the tuning URL. If there are still problems then its the remote server, the network, or some resource constraint on you box.
I've just noticed the channel has a different tuning URL on my home box:
http://www.nasa.gov/55644main_NASATV_Windows.asx
You could try that for size.
What version of VLC are you now using by the way?
Michael
Playing that NASA feed directly in VLC it played flawlessly and didn't hiccup once.
Thanks!
michaeldjcox
07-29-2010, 01:13 PM
D'oh! I just read:
http://forums.sagetv.com/forums/showthread.php?p=438849#post438849
Added as suggested. It gets me further. Now when I try to tune the parrot cam, I get an error saying:
"Windows cannot find "C:\Program Files\VideoLAN\VLC\VLC.exe
Which makes sense, as those of us using 64 bit, X86 apps end up in:
C:\Program Files (x86)\....
Changed it in the encoder.props
However I'm back to No Signal again.... :-( No java exceptions in encoder log tho now...
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
michaeldjcox
07-29-2010, 01:32 PM
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
SteveW
07-29-2010, 05:55 PM
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.
Brent94Z
07-29-2010, 11:06 PM
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!
michaeldjcox
07-30-2010, 07:37 AM
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
SteveW
07-30-2010, 10:49 AM
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.
Brent94Z
07-30-2010, 03:16 PM
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!
SteveW
07-30-2010, 04:29 PM
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
michaeldjcox
07-30-2010, 04:49 PM
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
SteveW
07-30-2010, 05:04 PM
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....
Brent94Z
08-04-2010, 06:07 AM
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!
michaeldjcox
08-06-2010, 05:14 AM
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
Brent94Z
08-06-2010, 07:51 AM
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 :D Thanks!
michaeldjcox
08-10-2010, 04:07 AM
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.
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 :D 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
Brent94Z
08-10-2010, 05:10 AM
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!
michaeldjcox
09-17-2010, 12:49 AM
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:
the server and client plugin installs create some user shortcuts - should be straighforward.
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.
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.
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
scanner95
09-24-2010, 03:30 AM
Hello Michael,
The latest Beta bring the following in:
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,
michaeldjcox
10-01-2010, 03:45 PM
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
michaeldjcox
10-01-2010, 03:53 PM
Have just submitted a plugin update.
User guide for installation instructions here (http://www.keepandshare.com/doc/2275043/webfeedencoder-user-guide-0-9-7-rc1?da=y):
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
Brent94Z
10-02-2010, 10:51 AM
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!!!
michaeldjcox
10-02-2010, 11:24 AM
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
Brent94Z
10-02-2010, 11:27 AM
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
I gotcha. Sweet. I'm good to go then :D Thanks much!!!!
RetroBox
10-06-2010, 08:04 AM
Latest fixes:
Install web feed encoder as a service.
Use web start to launch config tool.
Hi Michael,
Would these two updates change the issues in launching the config tool I've experienced in Windows 7? I performed the update via the Plugin Manager (since I already had Sage 7 running) and still get a UAC warning when launching the Config tool. It is, however; still accessible via the cmd line.
michaeldjcox
10-06-2010, 08:33 AM
Hi Michael,
Would these two updates change the issues in launching the config tool I've experienced in Windows 7? I performed the update via the Plugin Manager (since I already had Sage 7 running) and still get a UAC warning when launching the Config tool. It is, however; still accessible via the cmd line.
Hi,
It should help with the UAC issue.
Are you launching config tool from the (new) webfeedencoder web page?
It should help with the other issue too as we can specify the user the encoder runs as
Michael
RetroBox
10-06-2010, 09:55 AM
Hi,
It should help with the UAC issue.
Are you launching config tool from the (new) webfeedencoder web page?
It should help with the other issue too as we can specify the user the encoder runs as
Michael
I am trying to launch the webfeedencoder web page, but am having issues connecting. I opened the port in my router and I am trying to hit the box using my LAN address followed by the port number (set to 8085).... am I missing something?
i.e. http://192.168.1.66/8085
michaeldjcox
10-06-2010, 10:43 AM
I am trying to launch the webfeedencoder web page, but am having issues connecting. I opened the port in my router and I am trying to hit the box using my LAN address followed by the port number (set to 8085).... am I missing something?
i.e. http://192.168.1.66/8085
HI,
Some thoughts...
So you mean:
http://192.168.1.66:8085
WFE feed encoder has loads of port numbers now.
Is 8085 the Web Service Port one which defaults to 8888 in the config screen?
LAN address should be the address that the web feed encoder server is running on i.e. your SageTV server box.
The encoder.log file outputs debug if it is asked to serve up any web content. Pasting that here may help.
Do you have a monitor on your server box - can you try locally?
Michael
RetroBox
10-06-2010, 12:26 PM
HI,
Some thoughts...
So you mean:
http://192.168.1.66:8085
Yes, my original post had a typo - would have certainly made troubleshooting easier if that was the problem. :D
WFE feed encoder has loads of port numbers now.
Is 8085 the Web Service Port one which defaults to 8888 in the config screen?
LAN address should be the address that the web feed encoder server is running on i.e. your SageTV server box.
The encoder.log file outputs debug if it is asked to serve up any web content. Pasting that here may help.
Do you have a monitor on your server box - can you try locally?
I did try all your suggestions and made sure all my settings were correct, but couldn't get the config web page to show up. I have not been great tracking versions, so I decided to uninstall the plugin, remove the webfeedencoder folder and perform a fresh re-install. All working now! :thumb:
I really like having access to the config tool via web page - brilliant. Thanks so much for all your effots.
Zippster
10-07-2010, 05:14 PM
Installed brand new via the plugin manager, where is the setup tool for the channels? I would prefer to do it on the server instead of opening ports etc for the webpage if possible.
michaeldjcox
10-08-2010, 09:32 AM
Installed brand new via the plugin manager, where is the setup tool for the channels? I would prefer to do it on the server instead of opening ports etc for the webpage if possible.
Do you want to run the config tools on a different host to the host that runs sageTV server and web feed encoder?
If its the same host you can:
Use a browser without opening ports - it should work right the opening ports on router is about access from outside.
Or you can run it the old way:
java -jar webfeedencoder/libs/configtool.jar
(running from a command shell in the SageTV directory)
If its from a different host you can copy the webfeedencoder/libs and create a logs directory and run it
java -jar webfeedencoder/libs/configtool.jar -host=<serverhost> -port=<wfemgtport>
(But your possibly still going to have to open some ports)
With the java web start way you can ask shortcuts to be installed so it never goes via a browser.
Michael
Zippster
10-08-2010, 09:23 PM
Command shell is what I missed, thanks Michael, gonna give it a whirl.
michaeldjcox
11-15-2010, 07:16 AM
Web Feed Encoder 0.9.7 RC2 (for SageTV V7 only)
Make sure we remove any additional encoder props added by SageTV on uninstall.
On disable tidy away any partially built network encoder entries
Add addSeriesInfoPublic method to the EPG plugin.
Improve code for finding free encoder numbers on install.
Make lineup send more resilient to internet connection issues.
Fix slowness in stopping plugin when SageTV service is stopped.
Add missing command scripts for linux.
Many fixes to allow webfeedencoder operation in linux.
Fix stop encoder button which is occasionally enabled when it should not be.
Multi-platform service wrapper support.
Send logs to developer menu item added to help menu of the config tool.
Remove BBC Backstage EPG grabber which the BBC no longer supports.
Update the BBC sample channels so that the EPG comes from radiotime.
Just submitted plugin update for SageTV V7.
Use the SageTV V7 plugin manager to take the upgrade.
The user guide is here:
http://www.keepandshare.com/doc/2373642/web-feed-encoder-0-9-7-rc2-user-guide?da=y
Anyone who used my sample BBC channels is advised to recopy those channels from the channels/samples directory into the channels directory and restart the encoder and resend the EPG. This is to fix mnissing EPG because the BBC stop supporting the EPG feed.
Michael
Brent94Z
11-15-2010, 07:57 PM
Thanks, Michael! Installed the new version now have to play around with it :D Thanks much again for your work on this!
michaeldjcox
11-16-2010, 02:13 AM
WFE 0.9.7 downloads.
My file sharing provider says I have exceeded my daily bandwidth limit yesterday and blocked a number of WFE downloads.
Please try again later...
Michael
michaeldjcox
12-16-2010, 08:51 AM
So final version of WFE 0.9.7 released.
Hosting is now with SageTV so bandwidth issues hopefully are less of an issue.
You'll also notice in the plugin manager that there is now a demo video.
My first try at producing a video - so could be slicker.
Michael
freewheeling
12-18-2010, 05:26 PM
I was wondering if it's possible to implement either of these using WebFeedEncoder? Both require a username and password, and it doesn't appear that that's possible. They're also pretty complex sites so a PlayOn script might be a better way to go, but neither has been developed yet.
http://www.pjtv.com
http://www.fancast.com/ondemand
(Xfinity and Fancast seem to be the same thing.)
freewheeling
12-19-2010, 04:13 PM
I've installed the plugin on SageTV 7 and have the configuration tool working. I got the NPR book tour podcast to work, but none of the online TV channels work. Here's the VLC log for BBC One:
[Update: I do get something on the NASA channel with the link posted earlier on this thread. It's mostly just black screen but it flickers every once in awhile.]
[Update 2: I tried the "Watch Live" link in the debug file on my browser and got the message that it's "not available in your area" so that probably explain why there's nothing to play. But I get basically the same result with all of the online TV links from that site. Is there a link that reliably puts out programming that I can try just to verify that it *would* work if there were something on?]
[Well, I'm about to give up on this. There's "nothing to play" even on the post highly rated of the channels. They're all pretty much DOA.]
- logger module started --
main debug: using interface module "logger"
main debug: TIMER module_need() : 49.000 ms - Total 49.000 ms / 1 intvls (Avg 49.000 ms)
main debug: thread (interface) created at priority 0 (../.././src/interface/interface.c:151)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: TIMER module_need() : 51.000 ms - Total 51.000 ms / 1 intvls (Avg 51.000 ms)
main debug: thread (interface) created at priority 0 (../.././src/interface/interface.c:151)
main debug: adding item `http://www.bbc.co.uk/bbcone/watchlive/' ( http://www.bbc.co.uk/bbcone/watchlive/ )
main debug: looking for interface module: 1 candidate
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: thread started
main debug: thread started
main debug: thread ended
main debug: using interface module "globalhotkeys"
main debug: TIMER module_need() : 61.000 ms - Total 61.000 ms / 1 intvls (Avg 61.000 ms)
main debug: thread (interface) created at priority 0 (../.././src/interface/interface.c:151)
main debug: looking for interface module: 1 candidate
rc debug: base: localhost, port: 5003
main debug: net: listening to localhost port 5003
main debug: thread started
main debug: thread ended
main debug: using interface module "rc"
main debug: TIMER module_need() : 80.000 ms - Total 80.000 ms / 1 intvls (Avg 80.000 ms)
main debug: thread (interface) created at priority 0 (../.././src/interface/interface.c:151)
main debug: thread started
main debug: processing request item null node Playlist skip 0
main debug: starting new item
main debug: creating new input thread
main debug: Creating an input for 'http://www.bbc.co.uk/bbcone/watchlive/'
main debug: thread (input) created at priority 1 (../.././src/input/input.c:230)
main debug: thread started
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=file,mux=ts,dst='C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\tmp\BBCOne_test.mpg'}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set config option: sout-standard-access to file
main debug: set config option: sout-standard-mux to ts
main debug: set config option: sout-standard-dst to C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\tmp\BBCOne_test.mpg
stream_out_standard debug: creating `file/ts://C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\tmp\BBCOne_test.mpg'
stream_out_standard debug: extension is mpg
stream_out_standard debug: extension -> mux=ps
stream_out_standard debug: using `file/ts://C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\tmp\BBCOne_test.mpg'
main debug: looking for sout access module: 1 candidate
access_output_file debug: file access output opened (C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\tmp\BBCOne_test.mpg)
main debug: using sout access module "access_output_file"
main debug: TIMER module_need() : 31.000 ms - Total 31.000 ms / 1 intvls (Avg 31.000 ms)
stream_out_standard debug: access opened
main debug: looking for sout mux module: 1 candidate
mux_ts debug: shaping=200000 pcr=70000 dts_delay=400000
main debug: using sout mux module "mux_ts"
main debug: TIMER module_need() : 51.000 ms - Total 51.000 ms / 1 intvls (Avg 51.000 ms)
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: mux opened
main debug: using sout stream module "stream_out_standard"
main debug: TIMER module_need() : 109.000 ms - Total 109.000 ms / 1 intvls (Avg 109.000 ms)
main debug: using sout stream module "stream_out_duplicate"
main debug: TIMER module_need() : 132.000 ms - Total 132.000 ms / 1 intvls (Avg 132.000 ms)
main debug: set config option: sout-transcode-vcodec to mp2v
main debug: set config option: sout-transcode-vb to 800
main debug: set config option: sout-transcode-fps to 30
main debug: set config option: sout-transcode-scale to 1
main debug: set config option: sout-transcode-width to 720
main debug: set config option: sout-transcode-height to 576
main debug: set config option: sout-transcode-acodec to mpga
main debug: set config option: sout-transcode-ab to 128
main debug: set config option: sout-transcode-channels to 2
stream_out_transcode debug: codec audio=mpga 0Hz 2 channels 128Kb/s
stream_out_transcode debug: codec video=mp2v 720x576 scaling: 1.000000 800kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: TIMER module_need() : 180.000 ms - Total 180.000 ms / 1 intvls (Avg 180.000 ms)
main debug: using timeshift granularity of 50 MBytes
main debug: using timeshift path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp'
main debug: `http://www.bbc.co.uk/bbcone/watchlive/' gives access `http' demux `' path `www.bbc.co.uk/bbcone/watchlive/'
main debug: creating demux: access='http' demux='' path='www.bbc.co.uk/bbcone/watchlive/'
main debug: looking for access_demux module: 0 candidates
main debug: no access_demux module matched "http"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating access 'http' path='www.bbc.co.uk/bbcone/watchlive/'
main debug: looking for access module: 2 candidates
access_http debug: http: server='www.bbc.co.uk' port=80 file='/bbcone/watchlive/
main debug: net: connecting to www.bbc.co.uk port 80
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 608)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Server: Apache
access_http debug: Accepting Cookie: BBC-UID=d4fda01e09809261853c487911e15501ac57635f30f0a1d4343fa987cd96816f0VLC%20media%20player%20%2d%20version%201%2e0%2e5%20Goldeneye%20%2d%20%28c%29%201996%2d2010%20the%20VideoLAN%20team; expires=Thu, 18-Dec-14 23:07:13 GMT; path=/; domain=bbc.co.uk;
access_http debug: Transfer-Encoding: chunked
access_http debug: Content-Type: text/html
main debug: using access module "access_http"
main debug: TIMER module_need() : 836.000 ms - Total 836.000 ms / 1 intvls (Avg 836.000 ms)
main debug: Using AStream*Stream
main debug: pre buffering
main debug: received first data after 0 ms
main debug: pre-buffering done 605 bytes in 0s - 590820 kbytes/s
main debug: looking for stream_filter module: 2 candidates
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: creating demux: access='http' demux='' path='www.bbc.co.uk/bbcone/watchlive/'
main debug: looking for demux module: 50 candidates
ts warning: TS module discarded (lost sync)
lua debug: Trying Lua scripts in C:\Windows\system32\config\systemprofile\AppData\Roaming\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\anevia_streams.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\bbc_co_uk.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\cue.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\koreus.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\megavideo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\mpora.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\vimeo.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\\share\lua\playlist
avformat debug: couldn't guess format
vobsub debug: this doesn't seem to be a vobsub file
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux module "ps"
main debug: TIMER module_need() : 1934.000 ms - Total 1934.000 ms / 1 intvls (Avg 1934.000 ms)
main debug: looking for a subtitle file in C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\wrapper\
main debug: starting in sync mode
main debug: `http://www.bbc.co.uk/bbcone/watchlive/' successfully opened
ps warning: garbage at input, trying to resync...
main debug: EOF reached
main debug: removing module "ps"
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: waitpipe: object killed
main debug: finished input
main debug: thread ended
main debug: dead input
main debug: destroying useless sout
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=duplicate)
stream_out_duplicate debug: closing a duplication
main debug: destroying chain... (name=std)
main debug: removing module "mux_ts"
access_output_file debug: file access output closed
main debug: removing module "access_output_file"
main debug: removing module "stream_out_standard"
main debug: destroying chain done
main debug: removing module "stream_out_duplicate"
main debug: destroying chain done
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: thread times: real 0m2.985000s, kernel 0m0.031200s, user 0m0.046800s
main debug: TIMER input launching for 'http://www.bbc.co.uk/bbcone/watchlive/' : 2978.000 ms - Total 2978.000 ms / 1 intvls (Avg 2978.000 ms)
main debug: changing item without a request (current 0/1)
main debug: nothing to play
michaeldjcox
12-20-2010, 02:57 AM
Hi,
You won't be able to get access to BBC channels outside the UK in a similar way we cannot get access to any US channels or Hulu here in the UK.
TV can be problematic - my source of TV stream links - allinternettv.com is a little unreliable these days. Links get out of date etc.
NASATV is always reliable - but the link published on allinternettv.com is wrong.
The NASATV sample channel is good though - if you cannot see that then there may be something to fix in your installation.
Are you using VLC version 1.0.5? Its the latest one that works. All the VLC 1.1 versions have issues at the moment.
Michael
michaeldjcox
12-20-2010, 03:16 AM
I was wondering if it's possible to implement either of these using WebFeedEncoder? Both require a username and password, and it doesn't appear that that's possible. They're also pretty complex sites so a PlayOn script might be a better way to go, but neither has been developed yet.
http://www.pjtv.com
http://www.fancast.com/ondemand
(Xfinity and Fancast seem to be the same thing.)
Not tried these.
On the username/password - may need some work - although often username passwords are sent in URLs anyway.
This that tend to be more of an issue are DRM and flashplayers where we cannot get access to the actual stream URL.
I can add the PJTV video rss as a podcast in WFE and export to SageTV - but theres only about 7 videos there. Possibly more if you register I guess.
UPDATE: but not of the links can play because they pull up a web page with a flash player in it. We need a stream URL to playback.
Generally I'm having a big think about where WFE fits in the picture where there is some overlap between Playon, TVersity, WFE. More on this soon.
Michael
freewheeling
12-20-2010, 12:53 PM
The NASATV sample channel is good though - if you cannot see that then there may be something to fix in your installation.
Are you using VLC version 1.0.5? Its the latest one that works. All the VLC 1.1 versions have issues at the moment.
Yeah, I re-installed version 1.0.5 but wasn't sure what properties to set. I've allowed all traffic on all ports in my firewall for VLC, and the three ports mentioned for WFE: 8888, 1099 & 1111 .
freewheeling
12-20-2010, 01:04 PM
Generally I'm having a big think about where WFE fits in the picture where there is some overlap between Playon, TVersity, WFE. More on this soon.
Michael
Thanks. I use Playon for HULU which is part of their main channels section. You can enter a username and password for HULU, Amazon VOD, etc.. Most of these Online TV Channels are on demand, but there are a number that are schedule based and it would be nice to integrate those into the "program guide."
Someone mentioned "Breitbart TV" but that's not really an online channel so much as a text commentary on media with an occasional Youtube embedded.
BTW, the Netflix implementation in PlayOn works in SageTV, but it's not nearly as user friendly as the implementation in Plex. I don't know what it's like on the "game systems". In fact Netflix in Plex works better than any of the other connections I've tried. It's way faster than on my Samsung Bluray player, for instance.
freewheeling
12-21-2010, 12:16 PM
Is there a better place, or perhaps an app, that discovers the tuning parameters of an online channel? Allinternettv seems sort of clunky.
michaeldjcox
12-23-2010, 10:37 AM
Is there a better place, or perhaps an app, that discovers the tuning parameters of an online channel? Allinternettv seems sort of clunky.
Yes its not the best and it also contains much internet tv that is flash based with no accessible stream URL.
If anyone knows a better one I can add it.
Adding new sources is essentially a config change.
Michael
tombailey
12-24-2010, 01:17 PM
Sorry for a dumb question but I can't find the user guide for this. I've installed the plugin in SageTV v7 and have the 2 new tuners but don't know how to add channels. To be utterly frank, I'm not sure about the functionality this plugin adds, but it sounds very interesting. I think the user guide would help me understand this but the KeepandShare page says the document no longer exists.
Thanks for any help.
michaeldjcox
12-24-2010, 01:31 PM
HI,
I obviously mucked it up.
Heres the user guide.
http://www.keepandshare.com/doc/2464751/webfeedencoder-pdf-december-24-2010-8-29-pm-2-8-meg?da=y
It also should be available locally on your server box e.g.
http://<your server name or localhost if its the machine you are on>:8888/
Internet radio channels with EPG and now playing text, available in extenders, web cams , ip cameras, internet tv, management of online services are what it adds.
You may want to look at the video:
http://www.youtube.com/watch?v=SX3vvly-OL8
Merry Christmas,
Michael
tombailey
12-24-2010, 04:03 PM
Thank you Michael, that's a big help. And thanks for creating this addition to Sage.
Merry Christmas to you too.
Tom Bailey
SomeWhatLost
12-29-2010, 05:09 PM
ok, why can't I get to the WFE web page/config thingy?
I tried localhost:8888 and 192.168.1.80:8888 (from a different PC on the network) neither worked...:(
I tried changing the port to 8889 just in case... that didn't work either...
here is a funny bit of logging that don't look right... I think... actually I have no reference point for what is right, so I guess it could be ok:confused:
Dec 29, 2010 5:53:45 PM Thread-11 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: Stream consumer start.err terminating
Dec 29, 2010 5:53:45 PM SageTV uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Result is 0 for cmd.exe /c "C:\Program Files\SageTV\SageTV\webfeedencoder\wrapper\WebFeedEncoder.bat" start
Dec 29, 2010 5:53:45 PM SageTV uk.co.mdjcox.utils.WrapperUtils wrapperOperation INFO: Result is 0
Dec 29, 2010 5:53:56 PM Thread-14 uk.co.mdjcox.encoderplugin.EncoderPlugin$3 run SEVERE: Failed to send lineup to SageTV
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.getConfigDb(EncoderPlugin.java:285)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.access$300(EncoderPlugin.java:30)
at uk.co.mdjcox.encoderplugin.EncoderPlugin$3.run(EncoderPlugin.java:1353)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 11 more
Dec 29, 2010 5:53:58 PM Thread-14 uk.co.mdjcox.encoderplugin.EncoderPlugin$3 run SEVERE: Failed to send online services to SageTV
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.getConfigDb(EncoderPlugin.java:285)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.access$300(EncoderPlugin.java:30)
at uk.co.mdjcox.encoderplugin.EncoderPlugin$3.run(EncoderPlugin.java:1359)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 11 more
Dec 29, 2010 5:53:59 PM Thread-14 uk.co.mdjcox.encoderplugin.EncoderPlugin$3 run SEVERE: Failed to update EPG
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused: connect
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
at sun.rmi.server.UnicastRef.newCall(Unknown Source)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.getConfigDb(EncoderPlugin.java:285)
at uk.co.mdjcox.encoderplugin.EncoderPlugin.access$300(EncoderPlugin.java:30)
at uk.co.mdjcox.encoderplugin.EncoderPlugin$3.run(EncoderPlugin.java:1365)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source)
... 11 more
can anyone offer any insight into what is wrong?
SomeWhatLost
12-29-2010, 05:23 PM
well, I guess things are worse than I thought...
should the wrapper log say:
ERROR | wrapper | 2010/12/29 17:53:16 | The WebFeedEncoder service is not installed - The specified service does not exist as an installed service. (0x424)
ERROR | wrapper | 2010/12/29 17:53:16 | The WebFeedEncoder service is not installed - The specified service does not exist as an installed service. (0x424)
STATUS | wrapper | 2010/12/29 17:53:16 | Web Feed Encoder installed.
STATUS | wrapper | 2010/12/29 17:53:43 | Starting the Web Feed Encoder service...
STATUS | wrapper | 2010/12/29 17:53:43 | --> Wrapper Started as Service
STATUS | wrapper | 2010/12/29 17:53:43 | Java Service Wrapper Community Edition 3.3.3
STATUS | wrapper | 2010/12/29 17:53:43 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2010/12/29 17:53:43 | http://wrapper.tanukisoftware.org
STATUS | wrapper | 2010/12/29 17:53:43 |
STATUS | wrapper | 2010/12/29 17:53:44 | Launching a JVM...
FATAL | wrapper | 2010/12/29 17:53:44 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2010/12/29 17:53:44 | "java" -Xms64m -Xmx256m -Djava.library.path="." -classpath "wrapper.jar;../libs/encoder.jar" -Dwrapper.key="IzXyk9BH11PTJDtp" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3524 -Dwrapper.version="3.3.3" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp uk.co.mdjcox.webfeedencoder.Encoder
FATAL | wrapper | 2010/12/29 17:53:44 | Critical error: wait for JVM process failed
ERROR | wrapper | 2010/12/29 17:53:45 | The Web Feed Encoder service was launched, but failed to start.
that seems kind of, well, bad...:(
robogeek
12-29-2010, 08:00 PM
well, I guess things are worse than I thought...
should the wrapper log say:
ERROR | wrapper | 2010/12/29 17:53:16 | The WebFeedEncoder service is not installed - The specified service does not exist as an installed service. (0x424)
ERROR | wrapper | 2010/12/29 17:53:16 | The WebFeedEncoder service is not installed - The specified service does not exist as an installed service. (0x424)
STATUS | wrapper | 2010/12/29 17:53:16 | Web Feed Encoder installed.
STATUS | wrapper | 2010/12/29 17:53:43 | Starting the Web Feed Encoder service...
STATUS | wrapper | 2010/12/29 17:53:43 | --> Wrapper Started as Service
STATUS | wrapper | 2010/12/29 17:53:43 | Java Service Wrapper Community Edition 3.3.3
STATUS | wrapper | 2010/12/29 17:53:43 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2010/12/29 17:53:43 | http://wrapper.tanukisoftware.org
STATUS | wrapper | 2010/12/29 17:53:43 |
STATUS | wrapper | 2010/12/29 17:53:44 | Launching a JVM...
FATAL | wrapper | 2010/12/29 17:53:44 | Unable to execute Java command. The system cannot find the file specified. (0x2)
FATAL | wrapper | 2010/12/29 17:53:44 | "java" -Xms64m -Xmx256m -Djava.library.path="." -classpath "wrapper.jar;../libs/encoder.jar" -Dwrapper.key="IzXyk9BH11PTJDtp" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=3524 -Dwrapper.version="3.3.3" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp uk.co.mdjcox.webfeedencoder.Encoder
FATAL | wrapper | 2010/12/29 17:53:44 | Critical error: wait for JVM process failed
ERROR | wrapper | 2010/12/29 17:53:45 | The Web Feed Encoder service was launched, but failed to start.
that seems kind of, well, bad...:(
Looks like WFE can't find your Java executable. Are you running Windows Home Server? If so, you could manually install Java from java.com and it should start working (may need to reboot first). Alternatively, if using Windows Home Server, you can find the path to the folder where the Java executable is (somewhere in the SageTV\jre folder) and add that folder path to the PATH Windows environment variable.
michaeldjcox
12-30-2010, 01:31 AM
Looks like WFE can't find your Java executable. Are you running Windows Home Server? If so, you could manually install Java from java.com and it should start working (may need to reboot first). Alternatively, if using Windows Home Server, you can find the path to the folder where the Java executable is (somewhere in the SageTV\jre folder) and add that folder path to the PATH Windows environment variable.
Yes agree with Jason - WFE cannot start because java cannot be found.
Must be there somewhere right - SageTV is using it.
The other exceptions posted earlier are just the plugin component looking for the web feed encoder service and not finding it.
Michael
SomeWhatLost
12-30-2010, 11:57 AM
yes it is WHS, and no, if you type java at the command prompt you get nothing...
so this sounds like it is the issue...
any idea where WHS hides the Java install? sage found it, so it must be somewhere...
gplasky
12-30-2010, 12:31 PM
Look in the SageTV directory for a directory called jre.
Gerry
wayner
12-30-2010, 02:36 PM
What's the recommended VLC version to run with WFE - is it still 1.0.5? I just installed 1.1.5 on one of my PCs - I guess that was a bad idea?
SomeWhatLost
12-30-2010, 09:09 PM
Look in the SageTV directory for a directory called jre.
Gerry
yep, there it was... almost... well kinda... sorta... there was only a java-rmi.exe, no just plain java.exe... so I copied java-rmi.exe and renamed it to java.exe and that seems to work...
now on to the next problem... how do I get it to play something? note, by something, I mean video... podcasts seem to work just fine...
I tried NASA just cause I saw somewhere in one of the WFE threads that nasa should work, but looking at the log it says:
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\share\lua\playlist
avformat debug: couldn't guess format
vobsub debug: this doesn't seem to be a vobsub file
ps warning: this does not look like an MPEG PS stream, continuing anyway
main debug: using demux module "ps"
main debug: TIMER module_need() : 106.000 ms - Total 106.000 ms / 1 intvls (Avg 106.000 ms)
main debug: looking for a subtitle file in C:\Program Files\SageTV\SageTV\webfeedencoder\wrapper\
main debug: starting in sync mode
main debug: `http://www.youtube.com/NASATelevision' successfully opened
ps warning: garbage at input, trying to resync...
main debug: EOF reached
main debug: finished input
main debug: removing module "ps"
main debug: waitpipe: object killed
main debug: removing module "stream_filter_record"
main debug: removing module "access_http"
main debug: thread ended
main debug: dead input
main debug: destroying useless sout
I like this part: destroying useless sout WFE is such a violent plug in...
why is nasa going to youtube? I thought I read somewhere that WFE didn't like flash videos? or VLC didn't like flash? well I am pretty sure somebody didn't like flash...
could someone give me some pointers on what to try to get video to work?
is there a known good video feed I should be trying to debug with?
michaeldjcox
12-31-2010, 03:22 AM
yep, there it was... almost... well kinda... sorta... there was only a java-rmi.exe, no just plain java.exe... so I copied java-rmi.exe and renamed it to java.exe and that seems to work...
hmmmm. Odd a jre normally contains a java.exe.
now on to the next problem... how do I get it to play something? note, by something, I mean video... podcasts seem to work just fine...
I tried NASA just cause I saw somewhere in one of the WFE threads that nasa should work, but looking at the log it says:
I like this part: destroying useless sout WFE is such a violent plug in...
Thats VLCs output in super verbose mode - I take no reponsibility for that :-)
why is nasa going to youtube? I thought I read somewhere that WFE didn't like flash videos? or VLC didn't like flash? well I am pretty sure somebody didn't like flash...
The Nasa feed is my most reliable feed I use for testing.
There are several ways to get to it. YouTube being one of them.
The URL offered by allinternettv is useless.
The sample channel I provide in the WFE distribution has a working URL:
http://playlist.yahoo.com/makeplaylist.dll?id=1368163
this also works:
http://www.nasa.gov/55644main_NASATV_Windows.asx
Using the config tool you can edit your existing Nasa channel and paste in the new URL into the "Tune URL" field.
Or you can delete your channel and choose File->Use Sample and select NASATV to use the working set up I test with.
Any further problems let me know.
Michael
deepz
01-01-2011, 12:46 PM
Hello thanks again for this good plug-in I'm not far to get it going.
i installed via the online installer for ver7 and got config tool ok
both sage en encoder green ok and get error on send epg to sage
1 janv. 2011 14:36:18 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder main INFO: Loading lib
1 janv. 2011 14:36:18 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder main INFO: Loading library C:\Program Files\SageTV\SageTV\webfeedencoder\libs\dsj.dll
1 janv. 2011 14:36:18 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder startup INFO: Web feed network encoder starting
1 janv. 2011 14:36:18 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder startup INFO: Version: 0.9.7 (400)
1 janv. 2011 14:36:18 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type allinternettv plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type audiodevice plugin=uk.co.mdjcox.configdb.AudioDeviceSeedPlugin
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type device plugin=uk.co.mdjcox.configdb.AudioVisualDeviceSeedPlugin
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type onlinefiles plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\onlinefiles.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type onlinepodcastdirectory plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type onlineservices plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\onlineservices.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type radio plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\radio.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type radiotime plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type tv plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\tv.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type tvmpeg plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\tvmpeg.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels INFO: Loading type tvsilent plugin=null
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb loadAllChannels ATTENTION: Cannot find seedsite config file C:\Program Files\SageTV\SageTV\webfeedencoder\seedsites\tvsilent.props
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb getImages INFO:
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb getImages INFO: Caching image for France24
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb getImages INFO: Logo exists
1 janv. 2011 14:36:19 WrapperSimpleAppMain uk.co.mdjcox.configdb.ConfigDb getImages INFO: Video image exists - do nothing
1 janv. 2011 14:36:20 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder startServer INFO: Starting management server (listening on port 1099)
1 janv. 2011 14:36:21 TuningThread uk.co.mdjcox.webfeedencoder.TuningThread listenForConnections INFO: WebFeedEncoder-0 Starting Tuning Thread (listening on port 5000)
1 janv. 2011 14:36:21 GrabberThread uk.co.mdjcox.webfeedencoder.GrabberThread run INFO: Starting EPG grabber thread
1 janv. 2011 14:36:21 TuningThread uk.co.mdjcox.webfeedencoder.TuningThread listenForConnections INFO: WebFeedEncoder-1 Starting Tuning Thread (listening on port 5001)
1 janv. 2011 14:36:21 GrabberThread uk.co.mdjcox.webfeedencoder.GrabberThread run INFO: Waiting for next EPG grab at Sun Jan 02 05:00:00 EST 2011
1 janv. 2011 14:36:21 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.PodcastServer start INFO: Starting the podcast server on port 8888
1 janv. 2011 14:36:21 WrapperSimpleAppMain uk.co.mdjcox.webfeedencoder.Encoder wakeupSageTv INFO: Looking for service //localhost:1100/EpgPlugin
1 janv. 2011 14:36:40 TuningThread uk.co.mdjcox.webfeedencoder.TuningThread listenForConnections INFO: WebFeedEncoder-0 Accepted connection
1 janv. 2011 14:36:40 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread run INFO: WebFeedEncoder-0 Connection Thread[ConnectionThread-WebFeedEncoder-0-14726901,5,main] encoding is Cp1252
1 janv. 2011 14:36:40 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-0 Command: VERSION
1 janv. 2011 14:36:40 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-0 Answer: 2.1
1 janv. 2011 14:36:41 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-0 Command: NOOP
1 janv. 2011 14:36:41 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-0 Answer: OK
1 janv. 2011 14:36:41 TuningThread uk.co.mdjcox.webfeedencoder.TuningThread listenForConnections INFO: WebFeedEncoder-1 Accepted connection
1 janv. 2011 14:36:41 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread run INFO: WebFeedEncoder-1 Connection Thread[ConnectionThread-WebFeedEncoder-1-12888787,5,main] encoding is Cp1252
1 janv. 2011 14:36:41 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-1 Command: VERSION
1 janv. 2011 14:36:41 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-1 Answer: 2.1
1 janv. 2011 14:36:42 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-1 Command: NOOP
1 janv. 2011 14:36:42 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-1 Answer: OK
1 janv. 2011 14:36:42 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-0 Command: NOOP
1 janv. 2011 14:36:42 ConnectionThread-WebFeedEncoder-0-14726901 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-0 Answer: OK
1 janv. 2011 14:36:43 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread process INFO: WebFeedEncoder-1 Command: NOOP
1 janv. 2011 14:36:43 ConnectionThread-WebFeedEncoder-1-12888787 uk.co.mdjcox.webfeedencoder.ConnectionThread answer INFO: WebFeedEncoder-1 Answer: OK
1 janv. 2011 14:37:05 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.configdb.ConfigDb sendLineupToSage GRAVE: Could not update sageTV
java.net.MalformedURLException: invalid authority: //pc_antonio:1100/EpgPlugin
at java.rmi.Naming.intParseURL(Unknown Source)
at java.rmi.Naming.parseURL(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at uk.co.mdjcox.utils.RmiHelper.lookup(RmiHelper.java:154)
at uk.co.mdjcox.epgplugin.EpgPluginClient.<init>(EpgPluginClient.java:29)
at uk.co.mdjcox.epgplugin.EpgPluginClient.instance(EpgPluginClient.java:24)
at uk.co.mdjcox.configdb.ConfigDb.getSageTv(ConfigDb.java:460)
at uk.co.mdjcox.configdb.ConfigDb.sendLineupToSage(ConfigDb.java:432)
at uk.co.mdjcox.configdb.ConfigDb.sendLineupToSage(ConfigDb.java:557)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildChannels INFO: Adding channel 1 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: Processing channel 1 France 24of type uk.co.mdjcox.webepggrabber.GrabberDefault
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110101050000 +0000 20110102050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110102050000 +0000 20110103050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110103050000 +0000 20110104050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110104050000 +0000 20110105050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110105050000 +0000 20110106050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110106050000 +0000 20110107050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:37:07 RMI TCP Connection(4)-192.168.1.151 uk.co.mdjcox.webepggrabber.Grabber buildProgrammes INFO: 20110107050000 +0000 20110108050000 +0000 24.0hrs France 24 France 24
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.epgplugin.EpgPlugin <init> INFO: Initialising webfeedencoder EPG plugin
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.epgplugin.EpgPlugin <init> INFO: Read sage properties
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Spawn cacls "C:\Program Files\SageTV\SageTV\ChannelLogos" /T /g Everyone:F
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Env=
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Command=[cacls, "C:\Program Files\SageTV\SageTV\ChannelLogos", /T, /g, Everyone:F]
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils captureStreams INFO: Setting up streams for setPermission
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Entering proc waitfor cacls "C:\Program Files\SageTV\SageTV\ChannelLogos" /T /g Everyone:F
1 janv. 2011 14:36:32 Thread-8 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: setPermission.err: Le mappage entre les noms de compte et les ID de s‚curit‚ n'a pas ‚t‚ effectu‚.
1 janv. 2011 14:36:32 Thread-8 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: setPermission.err:
1 janv. 2011 14:36:32 Thread-8 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: Stream consumer setPermission.err terminating
1 janv. 2011 14:36:32 Thread-9 uk.co.mdjcox.utils.OsUtils$StreamConsumer run INFO: Stream consumer setPermission.out terminating
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Exiting proc waitfor cacls "C:\Program Files\SageTV\SageTV\ChannelLogos" /T /g Everyone:F
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.utils.OsUtils spawnProcess INFO: Result is 1332 for cacls "C:\Program Files\SageTV\SageTV\ChannelLogos" /T /g Everyone:F
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.epgplugin.EpgPlugin <init> INFO: WebFeedEncoder Directory = C:\Program Files\SageTV\SageTV\webfeedencoder\
1 janv. 2011 14:36:32 Thread-7 uk.co.mdjcox.epgplugin.EpgPlugin <init> INFO: Instatiating existing plugin uk.co.mdjcox.epgplugin.EpgPlugin
java.net.MalformedURLException: invalid authority: //pc_antonio:1100/EpgPlugin
and http://192.168.1.151:8888/ is running
no channel in guide and no other epg plug-in
any ideas ?
Thank's
michaeldjcox
01-02-2011, 05:39 AM
What's the recommended VLC version to run with WFE - is it still 1.0.5? I just installed 1.1.5 on one of my PCs - I guess that was a bad idea?
Yeah 1.0.5.
With VLC 1.1.5 vlc.exe won't respond to remote commands, the aspect ratio is wrong, theres no sound on the PC, there no detectible support on the VLC forums.
Those VLC folks drive me crazy always breaking and changing stuff. :bang:
I had to do a major rewrite going from 0.9 to 1.0 and I do not yet have solutions for all the issues going from 1.0 to 1.1.
Michael
michaeldjcox
01-02-2011, 05:46 AM
any ideas ?
Very curious.
Could you run up the config tool please and under the help menu choose "Send Logs".
That should send me enough diagnostics.
Michael
dkopp
01-02-2011, 06:32 AM
I have the same issue as deepz, when I tried to "send logs" I get an error. Attached are the shots of the errors.
FYI: great job I look forward to using it.
deepz
01-02-2011, 08:12 AM
i get the same error as dkopp when trying to send logs
so i zipped the lods dir in attachment here. for info i'm using vlc 1.05
tank-you and happy new year
robogeek
01-02-2011, 09:07 AM
@deepz & dkopp,
I think I see the common denominator here... It looks like a bug in Java regarding the usage of the underscore character in your hostnames. The bug is documented here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184
Try renaming your PCs by replacing the underscore with a dash and see if that works.
<edit>
If you change the PC name, here is how I'd do it:
First, change the name in Windows Control Panel. Then be sure to stop SageTV, and do a search-and-replace on your sage.properties file to change any UNC pathnames to match the new server name. You may also need to do this on the client properties file if running the client on the server machine and also for any .properties files in the SageTV\clients directory.
</edit>
deepz
01-02-2011, 10:18 AM
I think I see the common denominator here
are the two same screen shot.
Ill try renaming the hostname , tank's for advice
deepz
01-02-2011, 10:32 AM
OMG yes, underscore in hostname was the bug channels are in epg guide
:clap:
michaeldjcox
01-03-2011, 11:20 PM
@deepz & dkopp,
I think I see the common denominator here... It looks like a bug in Java regarding the usage of the underscore character in your hostnames. >
Great spot Jason.
Many thanks and Happy New Year.
Michael
dkopp
01-11-2011, 06:48 AM
underscore in server name, after I renamed my server (took out the underscore), it WORKS!!
Thank You
michaeldjcox
01-11-2011, 07:04 AM
Good news.
I think I'll starting using ip addresses rather than names!
Michael
peternm22
01-16-2011, 04:06 PM
Has anyone managed to get TWIT Live to work with WFE? I am able to watch the live feed (http://bglive-a.bitgravity.com/twit/live/high) using it as a custom online service. The problem with this is that I can only play/pause the stream. Rewinding and fast forwarding do not work. So I've decided to try WFE...
TWIT has a section on watching using VLC, but it specifically mentions that versions 1.0.2 through 1.0.6 of VLC do not work. This obviously includes 1.0.5. This is the relevant section: http://wiki.twit.tv/wiki/TWiT_Live#Streaming_with_VLC
From my understanding of WFE, it uses VLC to encode the video into something that SageTV can view. Since the live stream is already in a format SageTV can view, is there anyway to bipass the VLC encoding step?
Any help would be appreciated. I've been going through all the options in the Config Tool, but I can't seem to find anything relevant.
Thanks.
peternm22
01-16-2011, 04:21 PM
I went through the manual, and set the Type to "TV (MPEG Stream)". However when I try to play back the channel in SageTV, I get nothing but a spinning circle until I hit "Stop". I checked the SageTV recordings directory, and WFE does create a file but it is listed as "0 bytes". So no video is actually being downloaded. I'm guessing that I'm missing something here.
peternm22
01-16-2011, 11:14 PM
Upon further research, the TWIT Live stream is in h.264. I can't seem to find any mentions of h.264 in either the WFE manual or WFE threads on the forum. Does h.264 need to be explicitly supported in some way by WFE for it to work?
The manual refers to the "TV (MPEG Stream)" option for internet TV stations that requires no transcoding since it is already a MPEG stream. Is h.264 considered an MPEG stream?
michaeldjcox
01-17-2011, 12:36 PM
Upon further research, the TWIT Live stream is in h.264. I can't seem to find any mentions of h.264 in either the WFE manual or WFE threads on the forum. Does h.264 need to be explicitly supported in some way by WFE for it to work?
The manual refers to the "TV (MPEG Stream)" option for internet TV stations that requires no transcoding since it is already a MPEG stream. Is h.264 considered an MPEG stream?
Hi,
Support request noted! Willl take a look and get back to you when I get 5 mins.
Michael
michaeldjcox
01-17-2011, 04:22 PM
Has anyone managed to get TWIT Live to work with WFE? I am able to watch the live feed (http://bglive-a.bitgravity.com/twit/live/high) using it as a custom online service. The problem with this is that I can only play/pause the stream. Rewinding and fast forwarding do not work. So I've decided to try WFE...
TWIT has a section on watching using VLC, but it specifically mentions that versions 1.0.2 through 1.0.6 of VLC do not work. This obviously includes 1.0.5. This is the relevant section: http://wiki.twit.tv/wiki/TWiT_Live#Streaming_with_VLC
From my understanding of WFE, it uses VLC to encode the video into something that SageTV can view. Since the live stream is already in a format SageTV can view, is there anyway to bipass the VLC encoding step?
Any help would be appreciated. I've been going through all the options in the Config Tool, but I can't seem to find anything relevant.
Thanks.
Hi,
To appear as a TV channel it needs to be transacoded to mpeg-2.
It is not that currently :
avcodec debug: detected format: flv
avcodec debug: adding es: video codec = h264
avcodec debug: adding es: audio codec = mpga
My suggestion to you is to install VLC 1.1.5.
It works ok for TV in WFE - there just lots of issues with WFE radio streams.
Although there is an issue stoping vlc.exe sessions - but we can work around those as I know how to fix that VLC 1.1 issue now.
I tried using the config tool to view Twit TV with vlc 1.1.5 and had to manually stop the vlc session used to view the test outcome but not the transcoding vlc.exe session
I have not tested on extenders.
Could you try the latest VLC please and let me know whether it works for you.
Michael
peternm22
01-17-2011, 04:54 PM
Thanks for the help Michael :)
Using VLC 1.1.5 does seem to work in my limited test I just ran. I get the spinning circle quite a bit when I first click play, but it eventually comes up.
The quality wasn't that great though (lots of artifacts), viewing the stream in SageTV directly without WFE produces a much cleaner picture. I checked task manager and VLC has maxed out one of the cores as well. I'm using an AMD Phenom II X4 945 processor, which although it isn't the fastest out there is pretty good. I'm guessing the act of decoding h.264 and then re-encoding into MPEG2 on the fly is a bit too much for it to take on a single core.
Is there anyway for WFE to simply dump the raw h.264 video instead of transcoding to MPEG2? I believe SageTV does support h.264 for TV recordings (most notably the HD-PVR).
michaeldjcox
01-17-2011, 11:42 PM
Thanks for the help Michael :)
Using VLC 1.1.5 does seem to work in my limited test I just ran. I get the spinning circle quite a bit when I first click play, but it eventually comes up.
The quality wasn't that great though (lots of artifacts), viewing the stream in SageTV directly without WFE produces a much cleaner picture. I checked task manager and VLC has maxed out one of the cores as well. I'm using an AMD Phenom II X4 945 processor, which although it isn't the fastest out there is pretty good. I'm guessing the act of decoding h.264 and then re-encoding into MPEG2 on the fly is a bit too much for it to take on a single core.
Is there anyway for WFE to simply dump the raw h.264 video instead of transcoding to MPEG2? I believe SageTV does support h.264 for TV recordings (most notably the HD-PVR).
WFE is entirely configurable in this respect.
Although I have not personally tried this others have - the TV (MPEG stream) channel type was for example written by user for similar purpose. It looks like a good place to start.
In the channels types directory with a bit of cut and paste you can create your own channel type. In that channel type file you can specify to use specific "tune" and "detune" command files (located in the commands directory)
In those commands can be just about anything - you don't even need to use VLC.
The way it works is Sage sends a tune command with a file name and WFE runs the tune command - substituting certain variables e.g. "%recording%" is replaced with the file path specified by SageTV. You can add any properties you like to the channeltype properties file and the channel properties file and they will be available for the tune command to use.
When a detune request is received from SageTV the detune command is run which can kill processes tidy up files etc.
The user guide has a lot more detail.
On the pixellation and CPU - there may be some mileage in using the channel "Advanced" tab to change some of the transcoding params - e.g. matching output video size more exactly with the input can help.
Michael
peternm22
01-18-2011, 06:57 PM
I took a look at the tune files and noticed that the VLC commands for TV MPEG were simply dumping video (nothing was mentioned about MPEG2). I decided to try the TV MPEG setting again for TWIT Live since I had previously only tried it using VLC 1.0.5 and not 1.1.5. It can now display the video/audio in SageTV (with lots and lots of spinning circles), quality is excellent since there is no transcoding, however....
Only play/pause work. Rewind/fast forward do not work at ALL, they simply produce a lot of spinning SageTV circles. Exactly the same as playing the video directly via online services. If I pause the video, the future timeline never appears (the green bar of 'unplayed' yet recorded video).
Any thoughts? Could the fact that the video seems to be in a .flv container be causing problems with SageTV's playback?
Thanks.
quiksilver1j
01-29-2011, 10:43 PM
just wondering if someone could post the entry for a windows media player stream?
meisner
12-24-2011, 10:42 AM
Just curious...is this plug in easily uninstalled? Reason I ask is becuase it sounds great, but am not sure exactly how much I will use it. I may use it quite a bit...or maybe not. Need to install it to be sure.
Other than VLC (and Java) are there any other external dependencies? IIRC, VLC is easily uninstalled.
The reason I am concerned about removing components is because my Sage7 setup is prestine and running perfectly (I know...I just jinxed myself). I do backups, but just want to know what I may be in for if I want to remove it.
Just installed this cause I want to see of I can add some streaming tv channels to it. Get 3 errors after restart.
WFE is missing the file it installed "C:\program files\sagetv\sagetv\webfeedencoder\config\services.deliv" Same error for encoder.deliv and lineup.deliv.
I uninstalled the plugin and reinstalled and still get the same errors.
Any ideas?
michaeldjcox
02-09-2012, 10:16 AM
Hi,
These files are just starter version of the main config files.
The installer (for the Sage V6 version) or the plugin config screens (for the Sage V7 version) should take this as a starting point and and use them to create .props file with the config you enter at the prompts.
These files should be in the downloaded zip file somewhere.
Regards,
Michael
larryf
02-28-2012, 12:24 PM
I finally have this working with 'Parrot Cam' after stumbling a few days with self inflicted mistakes (wrong VLC, NASA offline, etc)... I'm a bit stumped as to the procedure to add a local webcam.
I can get to my ip webcam by opening a browser and going to http://192.168.1.140:80/videostream.cgi , but it does ask for a username and password (not sure if it's possible to enter that into the webfeedencoder). I set up Yawcam to stream the webcam to the sage server http://192.168.1.43:8081/ , it works with a browser and no password required... Tried entering this in various combinations in the configurator (TV MPEG, custom, silent) and it won't at all.
Could you show me an example of a working local webcam?
Thanks,
Larry
larryf
02-28-2012, 03:28 PM
Got it working! Found the answer in another post, here's a quote:
TV Silent
"http://@192.168.0.20:80/videostream.cgi?user=username&pwd=password"
Note the "@" in the url, I thought that was a typo. Entering it exactly as shown works for me.
And from another website, here's a bit more about the URL:
Q. How to send the camera videostream to VLC player?
A. In Media menu, go to Open Network Stream, then put the following url in the address field:
http://ipcam-url:port/videostream.asf?user=username&pwd=password
If the user and password are not specified in the url, they will just be prompted during the connection.
Note: videostream.cgi can be used instead of videostream.asf but it will only stream video (no sound)
Usage:
/videostream.cgi[?user=&pwd=&resolution=&rate=]
/videostream.asf[?user=&pwd=&resolution=&rate=]
Parameters:
resolution:(8:320*240,32:640*480)
rate: 0-23
0:maximum
1:20 fps
3:15 fps
6:10 fps
11:5 fps
12:4 fps
13:3 fps
14:2 fps
15:1 fps
17:1 fp/2s
19:1 fp/3s
21:1 fp/4s
23:1 fp/5s
Typical url in Firefox or Chrome would look like this:
http://user:password/ipcam-url/videostream.asf?resolution=32&rate=15
Typical VLC command line:
vlc -vvv http:/user:password/ipcam-url/videostream.asf?resolution=32&rate=15
roymcd
05-16-2012, 10:32 PM
I've successfully installed WFE on sagetv 7 on my linux server. The server is headless, so no GUI. I haven't been able to successfully use the config tool, even via the following on a PC
java -jar configtool.jar -host=192.168.1.10 port=1101
(WFE configured to use port 1101 to avoid RMI contention)
The configtool starts and acknowledges sagetv is running but that WFE is not running. However, the WFE process is definitely running on the server. I can see net packet dialogue from the configtool PC to port 1101 on the server, so I know communication is occurring.
Any ideas appreciated.
j1mb0b
06-14-2012, 06:41 PM
So I'm almost there - I think. WFE utility works & can see channels in SageTV. However, when I try to tune in, I get "no signal"
Trying to use the config tool to test a channel feed, it works initially (pulls up a VLC window), plays for a second or two then the VLC window disappears and the sound stops. Looking in task manager, I can see two versions of VLC still running (presumably the one providing the feed, the other being the player). Tried several versions of VLC (1.0.5, 1.1.? and 2.0.1) and all seem to behave the same. VLC plays the stream fine when I type in the URL directly..... HELP!!
Encoder log:
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Request recording 931JackFM C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 ********** Starting recording 931JackFM C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: VlmConf "%commands%\addvideo.conf" "%tmp%\%callsign%.conf"
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: VlmConf "C:\Program Files\SageTV\SageTV\webfeedencoder\commands\addvideo.conf" "C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf"
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: Vlc "VLC" --vlm-conf="%tmp%\%callsign%.conf" -I rc --rc-host=localhost:%streamAsVideoCommandPort% --rc-quiet %vlclogging%
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: Vlc "VLC" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:10 PM: VLC cmd in: Vlc "VLC" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:10 PM: VLC cmd:out Exec cmd /c start "VLC" "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:10 PM: VLC logName VLC
Jun 14, 2012 5:27:10 PM: Spawn cmd /c start "VLC" "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:10 PM: Env="C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:10 PM: Command=[cmd, /c, start, "VLC", %MYCMD%]
Jun 14, 2012 5:27:10 PM: Setting up streams for VLC
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: WaitFor 5000
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:10 PM: WebFeedEncoder-1 Command: WaitFor 5000
Jun 14, 2012 5:27:15 PM: WebFeedEncoder-1 Command: StartNowPlaying %streamAsVideoCommandPort% %streamAsVideoCommandPort%
Jun 14, 2012 5:27:15 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:15 PM: WebFeedEncoder-1 Command: StartNowPlaying 5003 5003
Jun 14, 2012 5:27:15 PM: WebFeedEncoder-1 Recording started
Jun 14, 2012 5:27:15 PM: Start now playing thread for channel 931JackFM (stream/null)
Jun 14, 2012 5:27:15 PM: Now playing Sandro Silva & Oliver Twizt - Gladiator (Original Mix)
Jun 14, 2012 5:27:15 PM: Failed to check now playing for channel BBCR1
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.writeNowPlaying(NowPlayingThread.java:149)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.run(NowPlayingThread.java:90)
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Request stop recording 931JackFM C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Stop recording 931JackFM C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Command: StopNowPlaying
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Command: StopNowPlaying
Jun 14, 2012 5:27:25 PM: Stopping now playing task
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Command: VlcCommand %streamAsVideoCommandPort% stop clear quit
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Command: VlcCommand 5003 stop clear quit
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Write to VLC port 5003 : stop
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Write to VLC port 5003 : clear
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 Write to VLC port 5003 : quit
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 VLC response from port 5003: status change: ( audio volume: 256 )
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 VLC response from port 5003: status: returned 0 (no error)
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 VLC response from port 5003: stop: returned 0 (no error)
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 VLC response from port 5003: clear: returned 0 (no error)
Jun 14, 2012 5:27:25 PM: WebFeedEncoder-1 VLC response from port 5003: quit: returned 0 (no error)
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Command: Delete "%tmp%\%callsign%.conf"
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 UNC fix keeping recording file as C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Command: Delete "C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf"
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Deleted temporary file C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Done processing stop commands
Jun 14, 2012 5:27:26 PM: Getting OS processes
Jun 14, 2012 5:27:26 PM: Stream consumer VLC.err terminating
Jun 14, 2012 5:27:26 PM: Stream consumer VLC.out terminating
Jun 14, 2012 5:27:26 PM: 0 0 System Idle Process System Idle Process
Jun 14, 2012 5:27:26 PM: 1 4 System System
Jun 14, 2012 5:27:26 PM: 2 692 smss.exe \SystemRoot\System32\smss.exe
Jun 14, 2012 5:27:26 PM: 3 732 avgrsx.exe C:\PROGRA~1\AVG\AVG2012\avgrsx.exe /boot
Jun 14, 2012 5:27:26 PM: 4 768 avgcsrvx.exe C:\Program Files\AVG\AVG2012\avgcsrvx.exe /pipeName=d32a6157-f705-4333-96a1-7d4f5a91bb30 /coreSdkOptions=286 /logConfFile="C:\Documents and Settings\All Users\Application Data\AVG2012\temp\4c8f6f6c-a266-4243-9860-ac7911ef7422-2dc-oopp.tmp" /loggerName=AVG.RS.Core /binaryPath="C:\Program Files\AVG\AVG2012\" /registryPath="SYSTEM\CurrentControlSet\Services\Avg\Avg2012" /tempPath="C:\Documents and Settings\All Users\Application Data\AVG2012\temp\"
Jun 14, 2012 5:27:26 PM: 5 960 csrss.exe C:\WINDOWS\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
Jun 14, 2012 5:27:26 PM: 6 992 winlogon.exe winlogon.exe
Jun 14, 2012 5:27:26 PM: 7 1056 services.exe C:\WINDOWS\system32\services.exe
Jun 14, 2012 5:27:26 PM: 8 1068 lsass.exe C:\WINDOWS\system32\lsass.exe
Jun 14, 2012 5:27:26 PM: 9 1228 svchost.exe C:\WINDOWS\system32\svchost -k DcomLaunch
Jun 14, 2012 5:27:26 PM: 10 1292 svchost.exe C:\WINDOWS\system32\svchost -k rpcss
Jun 14, 2012 5:27:26 PM: 11 1412 svchost.exe C:\WINDOWS\System32\svchost.exe -k netsvcs
Jun 14, 2012 5:27:26 PM: 12 1496 svchost.exe C:\WINDOWS\system32\svchost.exe -k NetworkService
Jun 14, 2012 5:27:26 PM: 13 1532 svchost.exe C:\WINDOWS\system32\svchost.exe -k LocalService
Jun 14, 2012 5:27:26 PM: 14 1588 spoolsv.exe C:\WINDOWS\system32\spoolsv.exe
Jun 14, 2012 5:27:26 PM: 15 1784 svchost.exe C:\WINDOWS\system32\svchost.exe -k LocalService
Jun 14, 2012 5:27:26 PM: 16 1820 avgwdsvc.exe "C:\Program Files\AVG\AVG2012\avgwdsvc.exe"
Jun 14, 2012 5:27:26 PM: 17 1892 jqs.exe "C:\Program Files\Java\jre6\bin\jqs.exe" -service -config "C:\Program Files\Java\jre6\lib\deploy\jqs\jqs.conf"
Jun 14, 2012 5:27:26 PM: 18 1952 nvsvc32.exe C:\WINDOWS\system32\nvsvc32.exe
Jun 14, 2012 5:27:26 PM: 19 2000 SageTVService.exe "C:\Program Files\SageTV\SageTV\SageTVService.exe"
Jun 14, 2012 5:27:26 PM: 20 464 avgnsx.exe "C:\Program Files\AVG\AVG2012\avgnsx.exe"
Jun 14, 2012 5:27:26 PM: 21 472 avgemcx.exe "C:\Program Files\AVG\AVG2012\avgemcx.exe"
Jun 14, 2012 5:27:26 PM: 22 496 SageTVService.exe C:\Program Files\SageTV\SageTV\SageTVService.exe -wrapped
Jun 14, 2012 5:27:26 PM: 23 592 ToolbarUpdater.exe "C:\Program Files\Common Files\AVG Secure Search\vToolbarUpdater\11.1.0\ToolbarUpdater.exe"
Jun 14, 2012 5:27:26 PM: 24 260 wrapper-windows-x86-32.exe "C:\Program Files\SageTV\SageTV\webfeedencoder\wrapper\wrapper-windows-x86-32.exe" -s "C:\Program Files\SageTV\SageTV\webfeedencoder\wrapper\WebFeedEncoder.conf"
Jun 14, 2012 5:27:26 PM: 25 1360 avgidsagent.exe "C:\Program Files\AVG\AVG2012\avgidsagent.exe"
Jun 14, 2012 5:27:26 PM: 26 2072 java.exe "C:\WINDOWS\system32\java.exe" -Xms64m -Xmx256m -Djava.library.path="." -classpath "wrapper.jar;../libs/encoder.jar" -Dwrapper.key="WVjOi8wsAMJ_7qnx" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=260 -Dwrapper.version="3.3.3" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp uk.co.mdjcox.webfeedencoder.Encoder
Jun 14, 2012 5:27:26 PM: 27 2856 explorer.exe C:\WINDOWS\Explorer.EXE
Jun 14, 2012 5:27:26 PM: 28 3540 nvraidservice.exe "C:\WINDOWS\system32\nvraidservice.exe"
Jun 14, 2012 5:27:26 PM: 29 3680 NvMixerTray.exe "C:\Program Files\NVIDIA Corporation\NvMixer\NVMixerTray.exe"
Jun 14, 2012 5:27:26 PM: 30 3688 rundll32.exe "C:\WINDOWS\system32\RUNDLL32.EXE" C:\WINDOWS\system32\NvMcTray.dll,NvTaskbarInit
Jun 14, 2012 5:27:26 PM: 31 3868 alg.exe C:\WINDOWS\System32\alg.exe
Jun 14, 2012 5:27:26 PM: 32 3928 TaskSwitch.exe "C:\WINDOWS\system32\taskswitch.exe"
Jun 14, 2012 5:27:26 PM: 33 4008 soundman.exe "C:\WINDOWS\SOUNDMAN.EXE"
Jun 14, 2012 5:27:26 PM: 34 2044 jusched.exe "C:\Program Files\Common Files\Java\Java Update\jusched.exe"
Jun 14, 2012 5:27:26 PM: 35 392 avgtray.exe "C:\Program Files\AVG\AVG2012\avgtray.exe"
Jun 14, 2012 5:27:26 PM: 36 492 vprot.exe "C:\Program Files\AVG Secure Search\vprot.exe"
Jun 14, 2012 5:27:26 PM: 37 332 SageTray.exe "C:\Program Files\SageTV\SageTray.exe"
Jun 14, 2012 5:27:26 PM: 38 2412 svchost.exe C:\WINDOWS\System32\svchost.exe -k HTTPFilter
Jun 14, 2012 5:27:26 PM: 39 3560 taskmgr.exe C:\WINDOWS\system32\taskmgr.exe
Jun 14, 2012 5:27:26 PM: 40 348 iexplore.exe "C:\Program Files\Internet Explorer\iexplore.exe"
Jun 14, 2012 5:27:26 PM: 41 288 iexplore.exe "C:\Program Files\Internet Explorer\iexplore.exe" SCODEF:348 CREDAT:79873
Jun 14, 2012 5:27:26 PM: 42 1160 iexplore.exe "C:\Program Files\Internet Explorer\iexplore.exe" SCODEF:348 CREDAT:14343
Jun 14, 2012 5:27:26 PM: 43 3532 ScriptHelper.exe "C:\Program Files\Common Files\AVG Secure Search\ScriptHelperInstaller\11.1.0\ScriptHelper.exe" -Embedding
Jun 14, 2012 5:27:26 PM: 44 4800 iexplore.exe "C:\Program Files\Internet Explorer\iexplore.exe" SCODEF:348 CREDAT:79879
Jun 14, 2012 5:27:26 PM: 45 6056 mspaint.exe "C:\WINDOWS\system32\mspaint.exe"
Jun 14, 2012 5:27:26 PM: 46 5872 svchost.exe C:\WINDOWS\system32\svchost.exe -k imgsvc
Jun 14, 2012 5:27:26 PM: 47 5804 comskip.exe "C:\Program Files\SageTV\SageTV\comskip\comskip.exe" --playnice "--ini=C:\Program Files\SageTV\SageTV\comskip\comskip.ini" "\\tvserver\recorded tv\TopGear-S08E07-12345420-0.ts"
Jun 14, 2012 5:27:26 PM: 48 5344 csrss.exe C:\WINDOWS\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,3072,512 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
Jun 14, 2012 5:27:26 PM: 49 1688 winlogon.exe winlogon.exe
Jun 14, 2012 5:27:26 PM: 50 5020 rdpclip.exe rdpclip
Jun 14, 2012 5:27:26 PM: 51 2144 logonui.exe logonui.exe /status
Jun 14, 2012 5:27:26 PM: 52 4248 wuauclt.exe "C:\WINDOWS\system32\wuauclt.exe"
Jun 14, 2012 5:27:26 PM: 53 2776 logon.scr C:\WINDOWS\System32\logon.scr /s
Jun 14, 2012 5:27:26 PM: 54 4744 javaw.exe "C:\\Program Files\\Java\\jre6\\bin\\javaw.exe" "-Xbootclasspath/a:C:\\Program Files\\Java\\jre6\\lib\\javaws.jar;C:\\Program Files\\Java\\jre6\\lib\\deploy.jar;C:\\Program Files\\Java\\jre6\\lib\\plugin.jar" -classpath "C:\\Program Files\\Java\\jre6\\lib\\deploy.jar" "-Djava.security.policy=file:C:\\Program Files\\Java\\jre6\\lib\\security\\javaws.policy" -DtrustProxy=true -Xverify:remote "-Djnlpx.home=C:\\Program Files\\Java\\jre6\\bin" -Dsun.awt.warmup=true "-Djnlpx.origFilenameArg=C:\\Documents and Settings\\Jim\\Application Data\\Sun\\Java\\Deployment\\cache\\6.0\\22\\25987f96-185bdec0" -Djnlpx.remove=false -Xms128m -Xmx512m -Djnlpx.heapsize=128m,512m -Djnlpx.splashport=2623 "-Djnlpx.jvm=C:\\Program Files\\Java\\jre6\\bin\\javaw.exe" com.sun.javaws.Main "C:\\Documents and Settings\\Jim\\Application Data\\Sun\\Java\\Deployment\\cache\\6.0\\22\\25987f96-185bdec0"
Jun 14, 2012 5:27:26 PM: 55 2348 wmiprvse.exe C:\WINDOWS\system32\wbem\wmiprvse.exe
Jun 14, 2012 5:27:26 PM: 56 3976 vlc.exe "C:\Program Files\VideoLAN\VLC\vlc.exe" "http://TVServer:8888/tmp/931JackFM_test.mpg" -I rc --rc-host=localhost:9898 --rc-quiet
Jun 14, 2012 5:27:26 PM: 57 4912 cmd.exe cmd.exe /C cscript.exe "C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\jwmi.vbs"
Jun 14, 2012 5:27:26 PM: Got OS processes
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Destroying launch process for cmd /c start "VLC" "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Kill process for cmd /c start "VLC" "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 Cannot find process to kill for "C:\Program Files\VideoLAN\VLC\vlc.exe" --vlm-conf="C:\PROGRA~1\SageTV\SageTV\webfeedencoder\tmp\931JackFM.conf" -I rc --rc-host=localhost:5003 --rc-quiet --extraintf=logger --logfile="C:\Program Files\SageTV\SageTV\webfeedencoder\logs\931JackFM_VLC.log" -vvv
Jun 14, 2012 5:27:26 PM: WebFeedEncoder-1 ********** Stopped recording 931JackFM C:\Program Files\SageTV\SageTV\webfeedencoder\tmp\931JackFM_test.mpg
Jun 14, 2012 5:27:26 PM: Now playing Sandro Silva & Oliver Twizt - Gladiator (Original Mix)
Jun 14, 2012 5:27:26 PM: Failed to check now playing for channel BBCR1
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.writeNowPlaying(NowPlayingThread.java:149)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.run(NowPlayingThread.java:90)
Jun 14, 2012 5:27:28 PM: Tag Update StreamTitle Rush - Limelight
Jun 14, 2012 5:27:28 PM: Now playing Rush - Limelight
Jun 14, 2012 5:27:28 PM: Failed to check now playing for channel 931JackFM
java.net.SocketException: Socket is closed
at java.net.Socket.getOutputStream(Unknown Source)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.writeNowPlaying(NowPlayingThread.java:144)
at uk.co.mdjcox.webfeedencoder.NowPlayingThread.run(NowPlayingThread.java:90)
Jun 14, 2012 5:27:28 PM: Stopped now playing task
j1mb0b
06-16-2012, 11:06 AM
Interesting. Looking in the webencoder/tmp directory I see that VLC is creating the video file correctly. It continues to grow even after I have lost the sound. If I stop the test, the mpg file remains and I can play it fine using VLC. So I'm really confused. The stream is being encoded correctly, I can play a few seconds while it is being streamed or play the whole file after stopping streaming.
Someone help please!!!:bang:
Does anyone know if this plugin is still supported? I noticed a few references in the forums to a User Guide, but the links all appear to be broken. I tried installing the plugin via the SagePlugin Manager the other day and got several warnings that various files could not be found.
I've seen it mentioned that you must use a web interface to do the actual configuration, but haven't seen anything that tells you the URL for the web interface.
I've seen it mentioned that an old version of VLC is required (1.05 I think) - is this still the case?
Any help or other pointers would be appreciated. I would like to use this with an IP webcam using RTSP.
Thanks
Well after some experimenting and searching these forums, I found answers to some of my questions.
1. Apparently, the 3 warnings about missing files can be ignored (see this post: http://forums.sagetv.com/forums/showthread.php?p=526632&postcount=96).
2. Apparently, VLC version 1.05 is still recommended for most things (particularly web radio), but in some cases a newer version may be necessary (see this post: http://forums.sagetv.com/forums/showthread.php?p=475788&postcount=89).
3. There is a user guide (PDF) that gets installed when you install the plugin. Look for a "webfeedencoder" folder inside your Sage installation folder. Then look for a "docs" folder inside this one.
4. After you install the plugin, you should go to the Plugin Configuration screen inside Sage. There are a bunch of ports defined in this screen. There is one that defaults to 8888 (unless you change it). This is the one you need to know to actually configure your WFE channels. Just open a browser and type your IP address followed by :8888 (or whatever you changed it to) to get to the configuration tool.
mkanet
01-10-2013, 03:38 PM
I just installed the plugin. Very straightforward. I think I have it all setup. The only thing I'm having problems with is figuring out how to extract the full URL to the video/audio stream for each TV station.
I noticed there's a webharvest tab. I vaguely remember webharvest is used to scraping the video/audio stream URL from a webpage player.
Can someone please be kind enough to help me figure out how to identify stream urls from the TV stations below?
http://www.haykakantv.com/
http://haytv.webs.com/
mkanet
01-10-2013, 04:30 PM
Okay, I figured out how to scrape full URL to video streams.
However, not sure what syntax to specify in the URL portion of the webfeedencoder for rtmp/swf streams. It seems that just recently VLC started supporting native input of such streams (without needing rtmpDump).
I am able to sniff out the URLs to both the SWF file and ftmp stream; but not sure how to put them together in one contiguous URL for VLC to process. I can't find any good examples anywhere doing google searches.
Hopefully someone here knows how to do this.
michaeldjcox
01-11-2013, 12:29 AM
Hi,
Firstly, very sorry to have been able to provide so very little support on this forum for something I dedicated so much time to. Life has taken many turns in the last few years.
My enthusiasm has been further drained by the google acquisition (My wife doesn't want to move to Kansas so we can get googlefibre), tuners dying, and also loosing my primary copy and most up to date backup of the source code.
There is unlikely to be any further development.
To your query - you are on the right track.
You need to use an old version of VLC not the latest. The version to use is documented in user guide. VLC seems to have a habit of breaking stuff every release.
With web TV where there is some kind of flash player we are not interested in the URL for the flash but the underlying stream that this connects to. If that underlying stream is something VLC can play then it should work.
Paste that URL into VLC and see if it works.
The challenging part is finding out what the underlying stream is. I ended up using sniffers to try and see which URLs where being requested.
I made most progress where someone had already done the hard work and published the stream address on the web. Worth searching the web a bit to see if that exists.
There are lots of issues with web TV type content and most of the content out there is probably inaccessible.
I started looking at the way things like TVersity managed to offer BBC Iplayer - which seem to be internally bringing up a browser (berkirilium) and effectively "filming" the browser display and relaying that onto a stream.
Good luck,
Michael
mkanet
01-11-2013, 05:45 PM
Michael, luckily Web Feed Encoder code does what it needs to; and, just depends on VLC to work correctly. Do you know of ANY VLC version at all that can handle live rtmp streams? In your PDF, it recommends anything between version 1.0.5 - 1.1. The closest I can get it to playing back is it crashes (possibly because of a timing/buffering issue)?
I know that RTMPdump.exe command line utility can act as an intermediary between the incoming stream and VLC to make it work. Is there some way to get RTMPdump.exe+ VLC to work with Web Feed Encoder? Surely, someone has attempted to playback RTMP live streams when Web Feed Encoder was very popular.
mkanet
01-11-2013, 09:54 PM
Also, Im not sure what I did; but now the VLC tab is missing when I try to test the stream. Ive tried reinstalling both VLC and WebFeedEncoder. Still the missing tab.
https://mka.net/photos/Screenshots/missing-tab---[Fri-01-11-2013---8.54.12PM].jpg
wayner
01-16-2013, 12:26 PM
I am just going to take another look at this, primarily for streaming IP cameras. Does anyone have any advice on which version of VLC to start with? Should I start with 1.05 and go from there? They are now on v 2.05 or so.
mkanet
01-16-2013, 03:45 PM
I've been spending a lot of time playing with this. I still can't believe I overlooked this gem. The author left it in a way where it's pretty much futureproof. You can customize it to do practically anything.
If you're just using basic/common video/audio streams, I think 1.0.5 might be best version. I have a couple of live TV RTMP streams that seem to only work with the absolutely latest nightlys... version 2.1.0.xxxx
Im using WFE for adding a couple of live TV channels to SageTV (which are only available via embedded media players on websites. On sageTV, it looks like just any other TV channel!
BTW: I haven't found a 64bit version that works with WFE though.
Let me know if you find out anything new on it.
wayner
01-17-2013, 08:32 AM
I was playing around with this last night and getting reminded why VLC if frustrating.
I am trying to get my IP cams to stream into WFE. I have two Foscam IP cams and three Trendnet 651WI cams.
The Foscam units will stream in VLC 0.86 with the videostream.asf filename in the URL, just like larryf describes above. But they won't stream in later versions of VLC, at least I don't see any picture in VLC.
I can't get the Trendnet cams to work with any version of VLC that I have tried, which is 0.86, 0.96, 1.05,1.15 and 2.05. However the camera will stream properly to Google Chrome if you open up http://192.168.1.34/video.cgi. But it won't work in other browsers or in WMP or MPC=HC.
I tried pointing WFE to VLC0.86 but WFE is not working for me.
@Michael - Do you know if VLC 0.86 works with WFE? When you change the path to VLC in the configure plugin screens do you have to restart Sage or anything else? Is there any way to see the exact vlc call (i.e "c:\Program Files\VideoLAN\VLC0.86\vlc.exe -vvv http://192.168.1.34/video.cgi") is being used in the process? I am wondering if the wrong version of VLC is being called - note that I now have several versions of VLC installed on my Sage server but they are in different folders named by version.
Anyone else have any pointers?
WFE looks really useful, but the video streaming infrastructure you need to support it seems very flaky. Is there anything else other than VLC? At one time MS had something called Windows Media Encoder that would allow you to stream content, but they abandoned that a long time ago.
mkanet
01-17-2013, 08:46 AM
I haven't tried any vlc versions prior to 1.0.5. I'm already using 2.1.x.
Im finding out that while WFE is build very well; allowing us to do just about anything... it's weakpoint is VLC.
VLC seems to be the buggiest player I've ever used; where, when one feature gets added, another one breaks... and the contributing developers seem to leave them broken indefinitely.
Im looking into using another app to take the place of VLC for WFE. Its relatively easy to replace VLC with something else.
Potplayer seems to handle even the weirdest streams I throw at it; but, doesnt offer any command-line options to automatically stream.
Ill post here once I find a better player to replace vlc.... you would be able to use it too.
If you find any players that can playback your network asf stream, please post it here.
I was playing around with this last night and getting reminded why VLC if frustrating.
I am trying to get my IP cams to stream into WFE. I have two Foscam IP cams and three Trendnet 651WI cams.
The Foscam units will stream in VLC 0.86 with the videostream.asf filename in the URL, just like larryf describes above. But they won't stream in later versions of VLC, at least I don't see any picture in VLC.
I can't get the Trendnet cams to work with any version of VLC that I have tried, which is 0.86, 0.96, 1.05,1.15 and 2.05. However the camera will stream properly to Google Chrome if you open up http://192.168.1.34/video.cgi. But it won't work in other browsers or in WMP or MPC=HC.
I tried pointing WFE to VLC0.86 but WFE is not working for me.
@Michael - Do you know if VLC 0.86 works with WFE? When you change the path to VLC in the configure plugin screens do you have to restart Sage or anything else? Is there any way to see the exact vlc call (i.e "c:\Program Files\VideoLAN\VLC0.86\vlc.exe -vvv http://192.168.1.34/video.cgi") is being used in the process? I am wondering if the wrong version of VLC is being called - note that I now have several versions of VLC installed on my Sage server but they are in different folders named by version.
Anyone else have any pointers?
WFE looks really useful, but the video streaming infrastructure you need to support it seems very flaky. Is there anything else other than VLC? At one time MS had something called Windows Media Encoder that would allow you to stream content, but they abandoned that a long time ago.
wayner
01-17-2013, 08:53 AM
I haven't tried it but have you looked at Microsoft Expression Encoder? I imagine it is Windows only which may be an issue for some. The basic version appears to be free.
http://en.wikipedia.org/wiki/Microsoft_Expression_Encoder
mkanet
01-17-2013, 09:37 AM
Do you know if SageTV clients can handle ASF file format? If so, we may be able to do a raw file dump; and, have sageTV read it. The video quality would look much better since it wouldn't have to be re-encoded.
I'm trying to currently apply the same concept with my RTMP streams. They are actually FLV files; which SageTV handles very well.
wayner
01-17-2013, 10:16 AM
But wouldn't that then limit you to being able to use WFE for streams that are in a few specific formats which Sage can natively play? The beauty of VLC, at least theoretically, is that it can take almost any incoming stream and send it out in a standard MPEG-2 (or wahtever) stream. The problem is that it doesn't live up to its promise and every release seems to break things.
There are some similarities to stuff like Playon, Orb, etc where you are using a server to restream live video streams to clients. Maybe something like Playon is a potential solution as well since it essentially reencodes web TV content to serve up to clients and we can already get that into Sage. The advantage with Playon is that it can be used on lots of clients including game machines and mobile devices.
mkanet
01-17-2013, 10:46 AM
All those apps you mentioned, including VLC seem to be based off of opensource ffmpeg encoding. SageTV's transcoder is also ffmpeg based. EDIT; each version though seem to be tweaked to serve a certain purpose. VLC unfortunately can't provide good support for all formats; which is why Im looking for other solutions.
The live web TV and radio streams I'm playing with all seem to be media formats that SageTV can already handle already... FLV, mpeg1/2/4, h.264, MP3, WMV, etc. On SageTV PC based clients, there's even more support, since you can add directshow filters added to support just about anything, including some rare quicktime formats.
But wouldn't that then limit you to being able to use WFE for streams that are in a few specific formats which Sage can natively play? The beauty of VLC, at least theoretically, is that it can take almost any incoming stream and send it out in a standard MPEG-2 (or wahtever) stream. The problem is that it doesn't live up to its promise and every release seems to break things.
There are some similarities to stuff like Playon, Orb, etc where you are using a server to restream live video streams to clients. Maybe something like Playon is a potential solution as well since it essentially reencodes web TV content to serve up to clients and we can already get that into Sage. The advantage with Playon is that it can be used on lots of clients including game machines and mobile devices.
mkanet
01-17-2013, 04:10 PM
Wayner: Okay... Im all setup; and, can do pretty much anything using WFE. I must admit, at first I thought it was going to be a bit clunky... but now these "channels" playback just like any other live TV channel.
What I've learned... you definitely want to play native, bit-perfect video streams in sageTV, not a second-gen, blurrier video. I think you'll have have a better chance at native stream playback in sageTV than transcoded. SageTV should be able to handle just about any common video format; including asf. This method doesnt waste any CPU cycles. You would still use VLC.. but bypass VLC's transcoding feature to avoid re-encoding the video unnecessarily and introducing more problems into the mix.
Just replace the contents in C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\commands\tune.tvsilent.windows.commands
with...
Exec C:\PROGRA~2\VideoLAN\VLC\vlc.exe "%url%" --sout="#duplicate{dst=std{access=file,mux=%video.mux%,
dst='"%recording%"'},dst=nodisplay}"
and replace the contents in C:\Program Files (x86)\SageTV\SageTV\webfeedencoder\commands\detune.tvsilent.windows.commands
with...
Exec "taskkill /f /IM vlc.exe"
If you try the above, and it doesnt work, replace the text in blue color above with one of the mux options (without the percent sign).
asf
avi
mpjpeg
asfh
You can still use transcoded VLC streams using VLC; but the above is much less clunky.
I applied a similar technique, but using RTMPdump.exe for handling raw rtmp streams since VLC can't handle these stream properly.
wayner
01-17-2013, 09:34 PM
OK, I finally got WFE working, at least some of the time, with the default settings.
What version of VLC are you using and what are you using as a test stream?
The changes you suggest - are these just temporary for testing? Because you seem to be hardcoding the VLC path (which is a bit different for me as I am on 32 bit Win7 and I have VLC paths for several versions) rather than using the path from the conf file.
I will try what you suggested with alterations for my path if I get a chance later on tonight.
mkanet
01-17-2013, 10:29 PM
I'm currently use the latest nightly version built just a couple of days ago. It doesnt seem to have any problem with common media formats.
http://nightlies.videolan.org/build/win32/last/
The changes I have dont change the default behavior. It only affects the "TV-Silent" format that you can select from. I'm not sure which one you use. If you dont want to alter TV-silient, you can always make your own dedicated format for each site. So, you can have very specific, custom behavior for certain streams and a generic transcoder for weird formats that require VLC transcoding.
I wouldnt do any customizations until you get a chance to look at how the current default WFE engine works.
I've got everything working great; but still need to learn how to handle live youtube.com streams.
SnyperBob
02-08-2013, 10:54 AM
Hi everyone,
Just wondering, has anyone tried to record uStream live broadcasts with this plugin? Those with experience with WFE, is this possible? There's a channel that broadcasts live at set times. I would like to be able to schedule Sage to record automatically for playback later.
SnyperBob
02-12-2013, 12:51 PM
I've been spending a lot of time playing with this. I still can't believe I overlooked this gem. The author left it in a way where it's pretty much futureproof. You can customize it to do practically anything.
If you're just using basic/common video/audio streams, I think 1.0.5 might be best version. I have a couple of live TV RTMP streams that seem to only work with the absolutely latest nightlys... version 2.1.0.xxxx
Im using WFE for adding a couple of live TV channels to SageTV (which are only available via embedded media players on websites. On sageTV, it looks like just any other TV channel!
Hi mkanet,
I think I'm trying to accomplish what you said you already have working. I want to be able to watch/record live uStream channels right within SageTV.
I think I need to find the RTMP address for the channel I want to import into Sage, but I'm having problems doing that. After searching around the net, people suggest using WireShark to find uStream RTMP URLs.
I think I found the correct URL, but how can I test that the URL is correct? When I set it up in WFE, and select watch from the program guide, nothing shows up. First step is I need a way to confirm the RTMP is correct.
Do you think you could post up a video showing how to set up RTMP live feed channels in WFE and Sage? I'm new to all of this and am struggling.
I followed this video to get the initial setup, but after that I can't figure out how to get live streams to show up:
http://www.youtube.com/watch?v=SX3vvly-OL8
mkanet
02-12-2013, 12:59 PM
Sure, np. Can you send me a url to an example channel you would like to see in sagetv (the normal url you use in your web browser you use to watch the channel currently). Ill make the video for you when I get home tonight.
Hi mkanet,
I think I'm trying to accomplish what you said you already have working. I want to be able to watch/record live uStream channels right within SageTV.
I think I need to find the RTMP address for the channel I want to import into Sage, but I'm having problems doing that. After searching around the net, people suggest using WireShark to find uStream RTMP URLs.
I think I found the correct URL, but how can I test that the URL is correct? When I set it up in WFE, and select watch from the program guide, nothing shows up. First step is I need a way to confirm the RTMP is correct.
Do you think you could post up a video showing how to set up RTMP live feed channels in WFE and Sage? I'm new to all of this and am struggling.
I followed this video to get the initial setup, but after that I can't figure out how to get live streams to show up:
http://www.youtube.com/watch?v=SX3vvly-OL8
SnyperBob
02-13-2013, 02:48 PM
I just sent you a PM, I got what you sent working, thank you for your help, looking forward to getting the last part of it working within Sage!:goodjob:
Cortopassi
03-09-2013, 07:57 PM
It seems pretty well correlated that an update to Java that I did yesterday has now made it so WFE doesn't work. I get some sage error saying it was unable to tune the channel on the tuner or some such error.
Anyone else run into this?
Thanks,
Mike
PS this sucks, as it is a great way for us to listen to radio through sage.
Cortopassi
03-09-2013, 08:33 PM
Almost guaranteed this is tied to me updating Java. See picture.
Any thoughts? Any way WFE will be supported, or likely a lost cause?
mkanet
03-09-2013, 08:49 PM
I recently upgraded to Java jre-7u15-windows-i586.exe. I didn't notice any change in WFE or any of my Java apps. There's no incompatibility for me. It's possible that your Java install might be corrupted. Try uninstalling the newer Java version and reinstalling it again. I would download the offline version of the Java installer instead of the Web-based online version to have a more reliable install of Java. If you STILL see the same thing happen after a full reinstall of Java, you can install your older Java version to prove whether the newer Java version is incompatible or not.
Cortopassi
03-10-2013, 10:41 AM
I had some weird half complete installation of the new Java 7 release 17 download. Reinstalled that correctly, and WFE is working. Thanks!
vBulletin® v3.7.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.