SageTV Community  

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

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 04-11-2005, 07:53 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Quote:
Originally Posted by gotuitdan
Also, note that orb.com requires an uplink fast enough for the file being streamed... *Most* of us don't have 2.5-3Mbit *up*links, which causes the need for compression prior to streaming in any case...

Actually I was under the impression that it does the streaming on the fly regardless of connection speed on either side. It actually checks to see what your transfer rate is from my box to yours and adjusts the compression on the fly. I do have this on my box and if I had a cell phone with some sort of media player on it and net access I could log on and view vids I have recorded or get on a laptop and view the same vid but better quality because of the faster speed of the link.

All in all I just dont like have to go threw them. I guess its not so bad. But I also don't like not having control of the vid compression. I jack mine up pretty high.

PS I have a limit of 45k upload and have no problems uploading from either orb or from this project.
Reply With Quote
  #22  
Old 04-11-2005, 09:14 PM
gotuitdan gotuitdan is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 105
So I now have the remote computer giving me the same error as the local computer did... I had to change the input directory to the proper network path, instead of the mapped disk drive letter...

The error occurs right after I press start and it lists the first .Vprj and writes "encoding file" to the screen.

The error is: "An unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. The system cannot find the file specified." The details are:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at WME.wme.EncodeWmv(String inputFile, String outputFile, String encoderPath, String logPath, String filename)
at WME.wme.RunProgram()
at WME.wme.btnStart_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///h:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
SageEncoder
Assembly Version: 1.0.1927.32634
Win32 Version: 1.0.1927.32634
CodeBase: file:///C:/Program%20Files/Windows%20Media%20Components/Encoder/SageEncoder.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///h:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///h:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///h:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///h:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.

---
I hope this helps! Thanks again!

Last edited by gotuitdan; 04-11-2005 at 09:18 PM.
Reply With Quote
  #23  
Old 04-11-2005, 09:24 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
The spot you describe is when it calls "wmcmd.vbs" using "c:\windows\system32\cscript.exe" - ah, that explains it okay, I'll have to fix that tomorrow night... I'm out of gas tonight.
Reply With Quote
  #24  
Old 04-12-2005, 05:33 AM
buzzerbee's Avatar
buzzerbee buzzerbee is offline
Sage Advanced User
 
Join Date: Apr 2004
Location: Ohio
Posts: 201
what's the difference between the core files and the 0.1.4? Which do we need if we're already got a version installed?
__________________
---------------
The Antec = AMD Barton 2500+, 1 GB RAM, Epox 8rda+, WinXP Pro, PVR-250, ATI Radeon 9600XT, SageTV 2.2.8
Reply With Quote
  #25  
Old 04-12-2005, 05:39 AM
gotuitdan gotuitdan is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 105
no problem! hopefully, we just figured it out...

If I recall, there is a mechanism to replace "c:\windows" with the system path, but my programming days are a bit behind me at this point...

thanks!

Quote:
Originally Posted by ajuhawk
The spot you describe is when it calls "wmcmd.vbs" using "c:\windows\system32\cscript.exe" - ah, that explains it okay, I'll have to fix that tomorrow night... I'm out of gas tonight.
Reply With Quote
  #26  
Old 04-12-2005, 10:40 AM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Quote:
Originally Posted by gotuitdan
no problem! hopefully, we just figured it out...

If I recall, there is a mechanism to replace "c:\windows" with the system path, but my programming days are a bit behind me at this point...

thanks!

Yeah isnt it %system%\ or %systempath%\
Reply With Quote
  #27  
Old 04-12-2005, 10:44 AM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Quote:
Originally Posted by buzzerbee
what's the difference between the core files and the 0.1.4? Which do we need if we're already got a version installed?

In my case I only needed the txt files and the .exe file. My problem was with the html so I couldnt say for sure which one had his fix in it. I never replace the tvshows.whatever. Because that has the settings in that I use to encrypt. And should have no bearing on the app. The encode.cmd you can look to see whats different. Not much but minor changes here and there to keep it minimized. So after this latest batchs. 0.1.4 I would only replace the exe. As I like to modify the html code (different colors) and I know that the encode.cmd isnt going to change anytime soon.

Last edited by Dorien; 04-12-2005 at 10:56 AM.
Reply With Quote
  #28  
Old 04-12-2005, 05:47 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by buzzerbee
what's the difference between the core files and the 0.1.4? Which do we need if we're already got a version installed?
Core files only need to be downloaded the first time, I will make it known if I change anything significant in those making it so that they should be downloaded again. Just figured it would be easier for people, like Dorien, who want to customize the html. 0.1.4, etc will always hold the latest .exe file.

Last edited by ajuhawk; 04-12-2005 at 06:31 PM.
Reply With Quote
  #29  
Old 04-12-2005, 05:59 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by Dorien
Yeah isnt it %system%\ or %systempath%\
little different in c#, but basically
Reply With Quote
  #30  
Old 04-12-2005, 06:30 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by gotuitdan
no problem! hopefully, we just figured it out...

If I recall, there is a mechanism to replace "c:\windows" with the system path, but my programming days are a bit behind me at this point...

thanks!
Okay, just released v0.1.5 that (hopefully) fixes this problem. That's basically all that's changed so if you didn't have this problem there's probably no reason to update to this version.

If there's any other bugs that I've overlooked, please let me know. I'm currently thinking about adding the ability to use divx encoding as an option, but I'm not sure if that's helpful to people or not. Also, judging by early Poll results, I may be looking into a way to add that functionallity.
Reply With Quote
  #31  
Old 04-12-2005, 07:28 PM
gotuitdan gotuitdan is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 105
Well, it's clearly running cscript now... Cscript is running at about 85-90% of my CPU and 49MB of memory according to Task Manager. It's been running for about 10 minutes with no update from the Sage Encoder UI... I think something is wrong, unless it just takes a *long* time to hit it's stride. I'll let it go for a while longer, but I'll stop it before I go to sleep...

thanks for the update so quickly, though!
Reply With Quote
  #32  
Old 04-12-2005, 07:37 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by gotuitdan
Well, it's clearly running cscript now... Cscript is running at about 85-90% of my CPU and 49MB of memory according to Task Manager. It's been running for about 10 minutes with no update from the Sage Encoder UI... I think something is wrong, unless it just takes a *long* time to hit it's stride. I'll let it go for a while longer, but I'll stop it before I go to sleep...

thanks for the update so quickly, though!
Due to the fact that I wait for the encoding to finish (takes as long as 1.5 hours on my machine (a 3.0GHz machine) with the settings included in my "core files.zip"), SageEncoder does not update until the encoding process is completed. Usually not a problem unless you're anxious to see what's happening...
Reply With Quote
  #33  
Old 04-12-2005, 08:01 PM
gotuitdan gotuitdan is offline
Sage Advanced User
 
Join Date: Apr 2004
Posts: 105
So SageEncoder will say "not responding" in the window, and the log file will remain empty until the first encode is completed?

If so, I may be all set... At least, I'll let it run while I sleep and see what happens...
Reply With Quote
  #34  
Old 04-12-2005, 08:05 PM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
Quote:
Originally Posted by gotuitdan
So SageEncoder will say "not responding" in the window, and the log file will remain empty until the first encode is completed?
Yupper...that's the way it works for now.
Reply With Quote
  #35  
Old 04-13-2005, 02:38 AM
marneb17's Avatar
marneb17 marneb17 is offline
Sage Advanced User
 
Join Date: Jan 2005
Location: Germany
Posts: 154
Aloha,
i really like your project.
For me it would be perfect if it would be possible to select via web which files are encoded. So now that you even have a vote on it, i would like to encourage you to implent it
The reason for this is, that my parents move to the US next month for about a year. And for them it is really nice to see some/few German TV-shows (soccer/news/some other German stuff). When they were in the US 3 years ago i had to record those shows and burn them on cd and send them over. Now with SageTV the webserver and possible your encoder, they could decide what is recorded, and after that just click a button to encode it to wmv and than stream the file. That would really be perfect.
Otherwise i have to see what they want and start the encode myself. Don't get me wrong, this is still so much less work, but the "perfect" solution is so close.

Anyways thanks for your efforts.
Marne
Reply With Quote
  #36  
Old 04-13-2005, 04:47 AM
ajuhawk's Avatar
ajuhawk ajuhawk is offline
Sage Aficionado
 
Join Date: Sep 2004
Posts: 330
As it's looking like I will be trying to develop a web interface (nothing like learning something new ) for this program, I need to know what webserver people would most likely run it on. This could GREATLY impact the direction I have to take in the development of this.

Thanks
Reply With Quote
  #37  
Old 04-13-2005, 05:47 AM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
I like the Java Web server that Cayars uses. Would two of these running on the same machine cause a problem?

Quote:
Originally Posted by ajuhawk
As it's looking like I will be trying to develop a web interface (nothing like learning something new ) for this program, I need to know what webserver people would most likely run it on. This could GREATLY impact the direction I have to take in the development of this.

Thanks
Reply With Quote
  #38  
Old 04-13-2005, 12:25 PM
marneb17's Avatar
marneb17 marneb17 is offline
Sage Advanced User
 
Join Date: Jan 2005
Location: Germany
Posts: 154
Quote:
Originally Posted by ajuhawk
for this program, I need to know what webserver people would most likely run it on.
Aloha,
as most, i guess, i am using nielms server. Support for this would, of course, be superb. Otherwise i would setup a wamp system. Then i could use php for some other stuff aswell.

Marne
Reply With Quote
  #39  
Old 04-13-2005, 12:25 PM
buzzerbee's Avatar
buzzerbee buzzerbee is offline
Sage Advanced User
 
Join Date: Apr 2004
Location: Ohio
Posts: 201
just tried running b0.1.5 adn am getting this error can't find mscorwks.dll in in c:\windows\microsoft.net\framework\v1.1.4322, but it is in c:\windows\microsoft.net\framework\v1.0.3705

coming from v 0.1.2, which suddenly started giving me errors! I didn't save them.-- edit: see attached.

also do we delete the old wme.exe and place sageencoder.exe in its location?

do you mind sharing which compression settings you're using in wm encoder?

edit.
rebooted. re-ran 0.1.5- same error as above. reinstalled (unzipped) b.0.1.2. + copied the encode.cmd to the cayers/external folder.

still getting the errors - attached. sage itself is ok.
what happened!?

these errors are when I try to run wme.exe or sageencoder.exe directly to set the setings..
Attached Images
File Type: jpg error1.jpg (30.9 KB, 313 views)
File Type: jpg error2.jpg (41.1 KB, 301 views)
__________________
---------------
The Antec = AMD Barton 2500+, 1 GB RAM, Epox 8rda+, WinXP Pro, PVR-250, ATI Radeon 9600XT, SageTV 2.2.8

Last edited by buzzerbee; 04-13-2005 at 03:19 PM.
Reply With Quote
  #40  
Old 04-13-2005, 04:11 PM
Dorien Dorien is offline
Sage User
 
Join Date: Mar 2005
Posts: 59
Quote:
Originally Posted by marneb17
Aloha,
as most, i guess, i am using nielms server. Support for this would, of course, be superb. Otherwise i would setup a wamp system. Then i could use php for some other stuff aswell.

Marne

Oops think I have been credit in the wrong place. Nielms server is the Java servlet right?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:51 AM.


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