|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#101
|
|||
|
|||
Quote:
They end up being about 120megs give or take. (EDIT) here it is! Last edited by Dorien; 04-29-2005 at 06:14 PM. |
#102
|
||||
|
||||
Just released v1.4 of the changes to Neilm's webserver. This makes my changes compatible with his latest server changes (also v1.4).
|
#103
|
|||
|
|||
I'm not quite getting it, I've read the setup instructions several times but I can't get it to work right. I want to encode only files that are selected from the Nielms Web server page. I have it installed and I see the checkboxes on the recordings page. I select one and I see that it generates the mpg.wse file like it should. But when SageEncoder runs it starts encoding all files in my sage directory, not just the one with the .wse. How should I set up SageEncoder to NOT encode all my mpgs? I do have "Enable Web Triggers" enabled, and "Job Triggers" is turned off. Can anybody help me out?
Thanks, Greg
__________________
SageTV 6.44, Windows XP Pro,ASUS A7N266, AMD Athlon XP1900+, 768 MB Ram, Avermedia A180, FusionHDTV 5 lite, HDHomeRun. SageTV 6.44,Windows XP Pro,Chaintech 7NJL6 AMD Athlon XP3000+, 1 gig Ram, SPDIF via on-board audio to Sony STR-DE575 surround sound, BFG 6600GT OC to a Sony KF42WE610 TV, 2 x Hauppauge 250,1 x Hauppauge 150 SageTV Client 6.44,Windows XP Pro, MSI K7T Pro, AMD Duron CPU 1 GHz, 512 Mb Ram, , Linksys WMP54GS, ATI 9600SE |
#104
|
||||
|
||||
Quote:
|
#105
|
|||
|
|||
But if I turn Job Triggers on it will still encode all my files. If I understand correctly wth job triggers turned on it will use the .xml files as triggers? I'm using Cayars so every one of all my files has an .xml files. So with or without Job Triggers it's encoding all my files. I think I'm still missing something.
Thanks, Greg
__________________
SageTV 6.44, Windows XP Pro,ASUS A7N266, AMD Athlon XP1900+, 768 MB Ram, Avermedia A180, FusionHDTV 5 lite, HDHomeRun. SageTV 6.44,Windows XP Pro,Chaintech 7NJL6 AMD Athlon XP3000+, 1 gig Ram, SPDIF via on-board audio to Sony STR-DE575 surround sound, BFG 6600GT OC to a Sony KF42WE610 TV, 2 x Hauppauge 250,1 x Hauppauge 150 SageTV Client 6.44,Windows XP Pro, MSI K7T Pro, AMD Duron CPU 1 GHz, 512 Mb Ram, , Linksys WMP54GS, ATI 9600SE |
#106
|
||||
|
||||
Quote:
|
#107
|
||||
|
||||
When reviewing my code I noticed a bug I introduced - if you're using the 2nd and 3rd input directories the web trigger probably isn't working in those dirs. I'll try to fix this tonight and get it released.
|
#108
|
|||
|
|||
The jobs folder was the part I was missing. If I point the job folders to a different folder from my Sage Recordings then it works right. Thanks for your help and your patience.
Thanks, Greg
__________________
SageTV 6.44, Windows XP Pro,ASUS A7N266, AMD Athlon XP1900+, 768 MB Ram, Avermedia A180, FusionHDTV 5 lite, HDHomeRun. SageTV 6.44,Windows XP Pro,Chaintech 7NJL6 AMD Athlon XP3000+, 1 gig Ram, SPDIF via on-board audio to Sony STR-DE575 surround sound, BFG 6600GT OC to a Sony KF42WE610 TV, 2 x Hauppauge 250,1 x Hauppauge 150 SageTV Client 6.44,Windows XP Pro, MSI K7T Pro, AMD Duron CPU 1 GHz, 512 Mb Ram, , Linksys WMP54GS, ATI 9600SE |
#109
|
|||
|
|||
It looks like I am having a similar problem as buzzerbee posted on 04-18-2005, 01:52 PM. I have read through all the posts in this thread and if a solution was mentioned, I am sorry that I missed it. The problem is that I get an error saying my log file is being used by another process and no encoding happens:
Quote:
Here are all the steps I have taken to install SageEncoder that I can remember (I have windows XP Pro SP1. All installations, drives and folders mentioned are local to the computer that is running SageTV): I installed Windows encoder. I extracted "Sage Encoder - Core Files v2.zip" into my windows media "encoder" directory. I also extracted "Sage Encoder b0.2.3 exe only.zip" into the "encoder" directory. I extracted "Neilm's Web Server changes v1.4.zip" into my SageTV directory and it overwrote the two files (I have had the web server installed for a while and have updated it previously.) I stop and start sagetv through the service control. I double-click SageEncoder.exe. Click Setup : Input Directory "X:\SageTV". Output Directory "X:\TVArchive". Job Folder "X:\TVArchive\jobs". Log file "X:" All other directories are left at default. I save settings and close setup. I have the following checked: Autorun on start, Run at intervals, Allow Web Triggers, Sort by Show. The webserver seems to have been updated. My Recordings page has the box, and when I check a box and click the "Set Encode Flag" button, it does create a .wse file. I do not have any STVs or other enhancements for SageTV installed other than the webserver and now SageEncoder. All I want is to use the webserver to choose which files I want to enocode to wmv. Thank you very much for any help, and sorry for such a long post, but I figured I might as well be as detailed as possible. -lebedev |
#110
|
||||
|
||||
Quote:
Edit: Out of curiousity, why don't you try changing all the directories from their defaults to something you have, like c: |
#111
|
|||
|
|||
Quote:
I changed the other directories to "X:" These are all the optional directories (Input 2, Input 3, and Output 2.) For WME location, I am keeping the default because it is correct: C:\Program Files\Windows Media Components\Encoder\WMCmd.vbs For VideoRedo Location, I kept the default even though I don't have it installed: C:\Program Files\VideoReDo\vp.vbs Here is what happens: Quote:
I am a bit confused about something. Must I have "Job Files" if I am using the web interface to choose the programs to encode? If so, how do I get these Job Files. I now have the following checked "Autorun at Start", "Run at intervals", "Use Job File Trigger", "Allow Web Triggers", "Sort By Show". For Some reason, I now cannot checkmark "Allow Web Triggers" unless I have "Use Job File Trigger" checked (unchecking the "Job File Trigger" causes the "Web Triggers" to become disabled/greyed out.) I could have sworn that before I had "Use Job File Trigger" unchecked and had "Allow Web Triggers" checked. Thanks for the quick reply, -lebedev |
#112
|
||||
|
||||
Quote:
A couple things you might try - 1) Try to run it without job file triggers and see if it starts encoding anything. 2) you might try 1 with and without the run at intervals option. 3) Make sure videoredo is unchecked. 4) This might be the first thing you'll want to check - make sure that there's at least 1 .mpg.wse file that EXACTLY matches a .mpg file up to the '.' or it won't encode with the flags. I'm puzzled by the log file still, but I'll definatley take a look this weekend. Trying to get a new server up (running linux, which is a somewhat new experiance for me) so I'm slightly distracted |
#113
|
|||
|
|||
Quote:
"5/6/2005 4:48:12 PM: No files to process. 5/6/2005 4:48:12 PM: Loop completed...waiting 5 minutes" 2) Ran without job file triggers and without run at intervals and nothing was encoded. "5/6/2005 4:48:28 PM: No files processed. 5/6/2005 4:48:28 PM: Done!" 3) has been unchecked 4) .wse exists that matches a .mpg: The following is a copy and paste from windows explorer: "TriggerHappyTV-315440-0.mpg" "TriggerHappyTV-315440-0.mpg.wse" The .wse file is 0 bytes, and my log file remains 0 bytes. Do I need to have an actual job file on my hard drive somewhere? How do I create job files? I use SageTV purely as a PVR and not as my player, so a way to create job files without having to use the SageTV interface to choose each program that needs a job file would be preferable. I don't mind using the web interface to manually choose what files to encode, but having to start the sagetv interface each time would be a bit too much of a hastle. To go back to my original problem with the locked log file that has since fixed itself... I am almost positive that when I first installed SageEncoder I had job triggers unchecked and Web triggers was checked (it was not disabled.) Is it possible that your code to disable web triggers if job files is unchecked is not executed at startup and that web triggers is not disabled at startup, and the user is able to check it as long as they do not touch the job triggers checkbox? Perhaps this is what caused the logfile lockup and may explain why I can't repeat the problem. thanks, -lebedev |
#114
|
||||
|
||||
Debug version
I added a print statement that'll hopefully help track this problem down. Run this version and let me know what happens.
|
#115
|
|||
|
|||
I ran the debug file and there was no change at all that I could see. Nothing encoded, and nothing generated in the logfile.
I've included screenshots of running SageEncoder debug with and without job files checked. -lebedev |
#116
|
||||
|
||||
Quote:
|
#117
|
|||
|
|||
Quote:
-lebedev |
#118
|
||||
|
||||
Ok....how about "tvshows.prx" in your encoder directory? Attached is another debug version that may or may not be useful...
|
#119
|
|||
|
|||
I'm having a similar problem where nothing is written to the log. It seems like the ecoding starts OK via the autorun. It finds a VPJ file and says "encoding" and I even get some audio stutter suggesting a process load, but that's where the party ends . . .
I then get a error dialog window popup which says "Console Based Script Host has encountered and error and need to close." I click close, and then it moves to the next file shows that it's trying to encode. 15-20 seconds and the error happens again with the next file and it keeps moving through all my files in the input directory 1 by 1. Any ideas why my script host would keep closing and not complete the encode or write to the log? One feature request; if users could to dynamically specify the number of input directorys and then it would add or subtract input text fields to accomdate, that would be nice. I've got 4 currently. Sage 2.2.7, Original STV2, Xp Pro, Celeron 2.2, 1Gig of ram |
#120
|
||||
|
||||
Quote:
As for the dynamic input dirs...I'll see what I can do Just give me some time as I've got 3 or 4 other things going on too. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|