SnapStream Forums

Go Back   SnapStream Forums > SnapStream Developer Network > Beyond TV Downloads
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 36 votes, 4.81 average. Display Modes
  #31 (permalink)  
Old 08-21-2005, 08:13 AM
Registered User
 
Join Date: Mar 2004
Posts: 101
Re: [addon] AutoXvid (Aug 18 Update)

Lee -- Like neekap, I am receiving an installation error. The image below shows the 3 screens I get and what my answers were to the first two:



A windows notification baloon pops up as soon as this error occurs. It says something like "Detecting BTV paths". Not sure if it's related or not.

Notes:

BTV is installed in the default directory.
AutoGK 1.9x is installed in te default directory.
I'm running InstallAutoXvid.exe from a folder on the desktop.

Thanks,

~P45
Reply With Quote
  #32 (permalink)  
Old 08-21-2005, 08:28 AM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Quote:
Originally Posted by portal45
Lee -- Like neekap, I am receiving an installation error. The image below shows the 3 screens I get and what my answers were to the first two:



A windows notification baloon pops up as soon as this error occurs. It says something like "Detecting BTV paths". Not sure if it's related or not.

Notes:

BTV is installed in the default directory.
AutoGK 1.9x is installed in te default directory.
I'm running InstallAutoXvid.exe from a folder on the desktop.

Thanks,

~P45
That is perfect. Thanks, I am sure I will be able to locate the error now.
Lee Cole
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits
Reply With Quote
  #33 (permalink)  
Old 08-21-2005, 09:24 AM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Portal45 or Neekap,
Please replace the InstallAutoXvid.exe that you are currently using with this one. Test and let me know as soon as possible, if it fixes your problem or not.
Lee Cole
Changed attachment after testing 3:17PM
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits

Last edited by leecole; 12-06-2007 at 07:09 AM.
Reply With Quote
  #34 (permalink)  
Old 08-21-2005, 06:56 PM
Registered User
 
Join Date: Dec 2003
Posts: 45
Re: [addon] AutoXvid (Aug 18 Update)

Can you give me an idiot-proof explanation about howe this is suppose to work (yes, I'm the idiot)? I executed the latest file, recorded something as a test, but don't see anything happening. Thanks.
Reply With Quote
  #35 (permalink)  
Old 08-21-2005, 07:06 PM
Registered User
 
Join Date: Mar 2004
Posts: 101
Re: [addon] AutoXvid (Aug 18 Update)

Lee -- The install completed, but I have not tested anything. I have a question. When I initially downloaded the plugin I saved it to the desktop, and I just now ran the install from that folder located on my desktop. If I move the folder to another location (i.e. c:\program files\...) will it mess anything up? If so, you might want to think about wrapping this plugin up in an installer that puts it in a recommended directory.

Thanks,

P45
Reply With Quote
  #36 (permalink)  
Old 08-21-2005, 07:51 PM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Quote:
Originally Posted by The Newest Newb
Can you give me an idiot-proof explanation about howe this is suppose to work (yes, I'm the idiot)? I executed the latest file, recorded something as a test, but don't see anything happening. Thanks.
I'll try, but first what version do you have? The original Ver. 1 did not include a BTV DLL that is required for the application to be posted when a recording is done. The current version that is now on this thread's first entry is V1.01.1 and will install the required DLL.
Now for the explanation. BTV records something. When the recording is complete BTV executes CustomPostProcessing.XML which InstallAutoXvid installed. That
XML calls AutoXvid with the recording. AutoXvid reads AutoXvid.ini to determine
1) Do you want the EpisodeData to be forwarded? If yes it runs EpisodeData.exe
2) Do you want subtitles? If so it runs SubTitles.exe.
3) Do you want the AVI output to be put in a MakeSubDir whose name is Genre (sitcom, Science Fiction, Reality, etc.) or named from Title (usually same as series, Sienfeld, Battlestar Galatica, etc..) or a combinarion Genre\Title? If so it creates the MakeSubDir in one of BTV's Recurse Folders, indexed by the MakeSubDir value (I have 3 BTV Recurse Folders so my MakeSubDir might equal 0, 1, 2, 3, or Yes or No) Yes and 1 are equal, No and 0 are equal.
3) AutoXvid then executes AutoGK and fills in parameters according to AutoXvid.ini. I usually use OutPutSize=Quality 80%, MakeSubDir=Yes, and
SubDirFornat=Genre\Title. After filling in all these parms, it ADD's the recording to AutoGK's queue, but doesn't Start AutoGK. If MakeSubDir=No or 0 then the destination folder for the new AVI will be what was in OutPutFolder=
4) AutoXvid then writes the job to a disk Queue.
5) AutoXvid then runs ScheduledRun and exits.

While AutoXvid has been doing all this EpisodeData has retrieved the episode info from BTV into a XML file. This file has the same name as the recording but a filetype of xml. If you doubleclick the xml file IE will load it and you can view the contents. Also SubTitles.exe has been reading the MPEG2 file to see if it has subtitles embedded in it or not. The only files that will have subtitles are
recordings done by Hauppauge PVR recorded at a DVD quality. In BTV that is a output quality that contains DVD in it's title. Not Best but DVD BEST, Not Medium but DVD Medium.

ScheduledRun reads your AutoXvid.INI AGKExecutionHours and if it is not currently an execution hour it calulates how long before first execution hour, and goes to sleep for that long. If it is an execution hour or when it wakes up, it STARTS AutoGK encoding. It then goes to sleep for 5 minutes. Every time it awakes it checks to see if AutoGK is finished. If it is finished it checks if you said wait on SmartChapters. If you are having BTV do SmartChapters and you told it to wait on them, it waits until BTV creates FILENAME.MPG.CHAPTERS.XML (the smartchapter info) . It then copies that info to the target destibation folder renaming the new file FILENAME.AVI.CHAPTERS.XML so your new AVI file will have the smart chapters available to it. It then cleans up AutoGK work files, deletes AutoGK work dir AGK_TMP. If your AutoXvid,ini said you wanted the source file deleted, it deletes the mpg file. If Quite was not asked for it plays the wav file named AGKDone.wav, If the Queue is empty, it removes AutoGK.exe process
and exits.
There you have the big picture.
Lee Cole
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits

Last edited by leecole; 08-22-2005 at 07:40 AM.
Reply With Quote
  #37 (permalink)  
Old 08-21-2005, 08:03 PM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Quote:
Originally Posted by portal45
Lee -- The install completed, but I have not tested anything. I have a question. When I initially downloaded the plugin I saved it to the desktop, and I just now ran the install from that folder located on my desktop. If I move the folder to another location (i.e. c:\program files\...) will it mess anything up? If so, you might want to think about wrapping this plugin up in an installer that puts it in a recommended directory.

Thanks,

P45
Yes, the Install created a CustomPostProcessing.XML which contains the path to AutoXvid.exe so that Beyond TV knows how to kick AutoXvid off. Delete the
CustomPostProcessing.xml that is located at
C:\Documents and Settings\All Users\Application Data\Snapstream\Beyond TV
then move the files to a folder, then execute InstallAutoXvid again so it will replace the Drag and Drop shortcuts and create a new CustomPostProcessing
XML. After you have done that doubleclick the CustomPostProcessing.xml to cause Internet Exployer to load it and verify the center line has the correct path to AutoXvid.exe.
Lee Cole
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits
Reply With Quote
  #38 (permalink)  
Old 08-21-2005, 10:03 PM
Registered User
 
Join Date: Mar 2004
Posts: 101
Re: [addon] AutoXvid (Aug 18 Update)

I've set this in my .ini file: AGKExecutionHours= immediate. When BTV finishes recording something, various windows (autogk, virtualdub, etc.) will appear onscreen briefly. This causes focus to be taken away from BTV. Is there anyway to stop this so I don't have to keep clicking on BTV to regain focus?

Thanks,

~Portal45
Reply With Quote
  #39 (permalink)  
Old 08-21-2005, 10:17 PM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Quote:
Originally Posted by portal45
I've set this in my .ini file: AGKExecutionHours= immediate. When BTV finishes recording something, various windows (autogk, virtualdub, etc.) will appear onscreen briefly. This causes focus to be taken away from BTV. Is there anyway to stop this so I don't have to keep clicking on BTV to regain focus?

Thanks,

~Portal45
When AutoXvid get posted with a finished recording it executes AutoGK and must give AutoGK window the focus long enough to fill in the patameters for encoding. It then immediatly hides AutoGK. Since AutoGK provides no Command Line input, this is the only way to start the encoding job. AutoGK runs VirtualDub, but I have never noticed VirtualDub taking focus. I would love it if there was a way of passing parameters to AutoGk without stealing focus.
Sorry, but the short answer is no.
Lee Cole
The next BTV release will have Divx encoding, I hear, but no word yet on what they will charge us to upgrade.
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits

Last edited by leecole; 08-21-2005 at 10:19 PM.
Reply With Quote
  #40 (permalink)  
Old 08-22-2005, 08:31 AM
Registered User
 
Join Date: Sep 2004
Posts: 21
Re: [addon] AutoXvid

Quote:
Originally Posted by leecole
OK, I obviously need to find a way to insure ScheduledRun gets the job started. Maybe I hit start, sleep for 60 seconds check if agk_tmp subdir built, if not hit Start ,etc.... Potential for a enfinite loop, but off the top of my head, it may work. Maybe only try a certain number of times. I will look at it.
Lee Cole
Lee

Just got back to my test htpc and ran the latest update for AutoXvid and all works great for me. The moment I dropped an mpeg to the icon, I can see it being queued up and is now processing immediately.

Thanks

aris
Reply With Quote
  #41 (permalink)  
Old 08-23-2005, 01:20 AM
Registered User
 
Join Date: Aug 2005
Posts: 1
Re: [addon] AutoXvid (Aug 18 Update)

Ok, I have installed AutoXvid without any errors and I can drag a file to the shortcut and AutoGK pops up, but none of the fields get filled in and nothing happens. But AutoXvid.exe takes up 100% of my cpu, but creates no avi file. I just get the episode data file in my BTV dir. I am using AutoGK 1.96 (latest). Log files show no errors. What's going on?
Reply With Quote
  #42 (permalink)  
Old 08-23-2005, 06:47 AM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

Quote:
Originally Posted by SQUID_warrior
Ok, I have installed AutoXvid without any errors and I can drag a file to the shortcut and AutoGK pops up, but none of the fields get filled in and nothing happens. But AutoXvid.exe takes up 100% of my cpu, but creates no avi file. I just get the episode data file in my BTV dir. I am using AutoGK 1.96 (latest). Log files show no errors. What's going on?
Was a install.log created? If so could you post it along with the AutoXvid.ini that was created? Thanks for trying AutoXvid.
Lee Cole
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits
Reply With Quote
  #43 (permalink)  
Old 08-23-2005, 01:04 PM
Registered User
 
Join Date: Jun 2004
Location: New York's Mid Hudson Valley
Posts: 146
Re: [addon] AutoXvid (Aug 18 Update)

Hi Lee,
Still trying to get it working...here's my latest experience. I manually uninstalled everything by deleting the directory w/the AutoXvid files in it and the CustomPostProcessing.xml file.

1) Install error

Used the 1.0.2.0 verson of InstallAutoXvid and here's my install log:

2005-08-22 19:41:00 : Install: Installing for XP or Win_NT
2005-08-22 19:41:00 : Install: AutoGK.exe verified
2005-08-22 19:41:00 : Install: Has set registry for AutoXvid application InstallDir
2005-08-22 19:41:00 : HKEY_LOCAL_MACHINE\Software\AutoXvid\InstallDir=RE G_SZ:C:\Program Files\AutoXvid
2005-08-22 19:41:00 : Install: Has set registry for AutoXvid application Version:
2005-08-22 19:41:00 : HKEY_LOCAL_MACHINE\Software\AutoXvid\Version=REG_S Z:1.0.2.1
2005-08-22 19:41:04 : Install: User has chosen to have SubTitle support installed.
2005-08-22 19:41:04 : Install: Hauppauge registry is already set up for including CC in MPEG2 recordings
2005-08-22 19:41:04 : Install: Hauppauge registry is already set up for WinTV32 CC
2005-08-22 19:41:04 : Install: Hauppauge registry is already set up for WinTV2000 CC
2005-08-22 19:41:16 : Install: C:\WINDOWS\system32\VSFilter.dll already exists. It is Version 1.0.1.2
2005-08-22 19:41:16 : Install: C:\WINDOWS\system32\VSFilter.dll is up to date
2005-08-22 19:41:16 : Install: Registering the VSFilter.dll
2005-08-22 19:41:35 : Added C:\SubTitles to DirectVobSub
2005-08-22 19:41:48 : Install: User has chosen to install Episode Data forwarding
2005-08-22 19:41:48 : AutoXvid.ini has been created for this system
2005-08-22 19:41:48 : Shortcuts have been created on the desktop for DRAG and DROP support
2005-08-22 19:41:48 : Install has created a shortcut for ReQue.exe in the Startup Dir: C:\Documents and Settings\Don\Start Menu\Programs\Startup
2005-08-22 19:41:53 : Install: User has chosen to have BeYondTV CC support installed.
2005-08-22 19:41:53 : Closing Beyond TV
2005-08-22 19:42:57 : Install found Closed Captioning was already on for BTV Live TV
2005-08-22 19:42:57 : Beyond TV should execute C:\Program Files\AutoXvid\AutoXvid.exe for every new recording created

Very early into the installation I received an error about running a DLL as an App, so I've attached a screenshot of it and the screen that comes up when you click the link for more info. It got stuck at the point where it's trying to close BTV (which was open when I started this), so I closed BTV and then saw a message that AutoXvid was installed.

2) Running latest AutoXvid.exe version 1.0.0.1

This is my AutoXvid.ini:

[AutoXVID]
AutoGKPath= C:\Program Files\AutoGK\AutoGK.exe
BTVRecordFolders= D:\Temp, D:\Video\MP4, D:\Video\MP2, D:\Video\WMV
BTVRecurseFolders= D:\Video\MP4, D:\Video\MP2, D:\Video\WMV
OutPutSize= Quality 75%
Priority= Normal
MakeSubDir= No
SubDirFormat= Genre\Title
Logging= Yes
Quite= Yes
OutPutFolder= D:\Video\MP4

[Episode]
EpisodeData= Yes

[SubTitles]
SubTitlesDesired= Yes
BurnSubTitles= No
CCPath= C:\SubTitles


[ScheduledRun]
AGKExecutionHours= Immediate
WaitForSmartChapters= No
DeleteSource= No
ShutDown= No


Scheduled a recording and AutoXvid kicked off ok, but subtitles failed with a mismatch in the filename, in the log you can see something put a comma (,) in the filename between "Van" and "Go" instead of the underscore (_) that was there in the original .mpg's filename:

2005-08-22 20:30:04 : __________________________________________________ __________________________________________________ ___________
2005-08-22 20:30:04 : AutoXvid: D:\Video\MP2\The King of Queens-(Van, Go)-2005-08-22-0.mpg
2005-08-22 20:30:04 : OutPutSize SB Quality 75%
2005-08-22 20:30:05 : SubTitles asked to create subtitles for D:\Video\MP2\The King of Queens-(Van, Go)-2005-08-22-0.mpg
2005-08-22 20:30:05 : SubTitles D:\Video\MP2\The King of Queens-(Van, Go)-2005-08-22-0.mpg does not exist = no subtitles created!
2005-08-22 20:30:05 : EpisodeData exported episode data into D:\Video\MP2\The King of Queens-(Van_ Go)-2005-08-22-0.xml

Everything stopped at this point, AutoGK never started, and I had to kill AutoXvid using the Exit option in the tray icon.

3) Manual execution
I changed my .ini to No for both EpisodeData and Subtitles, deleted the episode data .xml that was left behind, and then did a drag/drop of the original .mpg onto the desktop icon. AutoGK runs and creates the .avi , but it ignored my choice of "OutputFolder" instead it put the .avi into the root directory of my D:\ drive. It also left behind an AutoGK tmp directory off the root with the working files, and the "Encode1" icon left in the system tray. Attached is a screenshot of AutoGK showing how the filnames looked.

That's where I am now, hopefully this will help.
Attached Images
   
__________________
Thickhead
_____________________________________________
ASUS M3N78-VM, AMD Phenom 9650, 2GB nVidia SLI RAM, onboard VIA HD audio and nVidia 8200, 2-PVR250MCE, Dvico Fusion5 USB, 1.3TB (2-500G 1-320G), LG Blu-Ray DVD, Antec NSK2400 case, nmediapc RF kybd & remote, USB-UIRT, Mitsubishi 31" TV, Win XP Pro SP3, BTV 4.9.1 w/DVD Plugin
Reply With Quote
  #44 (permalink)  
Old 08-23-2005, 02:36 PM
leecole's Avatar
Registered User
 
Join Date: Nov 2002
Location: Cary, NC
Posts: 2,406
Re: [addon] AutoXvid (Aug 18 Update)

ThickHead,
You should get employment as a software tester! The error you posted about Run DLL as a
app, is MS's or DirectVobSub, don't know which. If you click on START->All Programs scroll until you find VobSUB->DirectVobSub Configure then the DirectVobSub configure screen will come up. As soon as you exit by clicking OK, you will see the same error. I believe this is a MS error. However DirectVobSub did configure, the error occurs because a DLL is executing as an application. I don't know when this started occuring, I think probably with SK2.
AutoXvid changes the name, because AutoGK cannot handle a filename that contains a comma or a period. If you look at the log, AutXvid logged the input file as the first line of code. There you will see the filename contained a comma, it was the very same episode, when it was a new episode, that I first had a problem with AutoGK. You point out a legitimate problem in AutoXvid, though. I am calling SubTitles with the CMDLINE
instead of the changed name. I will fix that right away.

AutoXvid has AutoGK build the AVI in the root of the final destination directory. This is done so ScheduledRun can cleanup. If AutoGK is given the real Directory to build in, then Beyond TV "sees" the workfiles, and if that directory happens to have the Recurse option, then ScheduledRun cannot delete the agk_tmp direcory because Beyond TV has it opened. Even AutoGK could not delete it then, It stays there until every program that
has it opened, shuts down. ScheduledRun (You called it encode 1, its hover message is limited to 64 chars, so I change its Hover message to "Encode #Number of jobs its waiting on followed by remaining space in the hover message, (64-8), then I clip the filenames of the jobs to fit. ) It sounds like ScheduledRun is stopped. The only way that can happen is if you click it's icon, it stops running, it is waiting to read EXIT, etc.
ScheduledRun Sleeps for 5 min. wakes up, checks the root drive waiting for the AutoGK log file to appear, if it is not there it goes back to sleep for 5 min. If it is there, it moves
the AVI to it's destination folder (because it is on the same drive, no move takes place, Windows just moves the filename from one dir to another). Then ScheduledRun starts the cleanup, imports EpisodeData to Beyond TV, etc.
Is the AVI still there in the root? If so just start ScheduledRun by doubleclickig it's icon in the dir where you installed AutoXvid package. I would expect you to hear "Files Done" message right away. Unless you manually cleaned away AutoGK's log message or the AVI from the root.
I must change AutoXvid to NOT use the CMDLINE for SubTitles.
Lee Cole
__________________
Lee L. Cole
Sometimes I sits and thinks
and sometimes, I just sits
Reply With Quote
  #45 (permalink)  
Old 08-23-2005, 03:38 PM
Registered User
 
Join Date: Jun 2004
Location: New York's Mid Hudson Valley
Posts: 146
Re: [addon] AutoXvid (Aug 18 Update)

Lee,
OK Thanks! I'll consider a career move if I ever lose my present job as an Electrical Engineer. So I can ignore that DLL error, I'll try setting Subtitles to "No" in .ini and see what happens. I should have realized your placing the AutoGK .avi file in the root directory was by design... I ran into that BTV recursed folders conflict with AutoGK when I used Mr. X's utility.

Yes, in this case the .avi file is still sitting in the root directory, and I think (not at my HTPC right now) there's an AutoGK .log file in the agk_tmp directory, is that supposed to show up in the root, too?

So apparently ScheduledRun didn't finish up for some reason. The AutoGK encode finished at ~12:30am and AutoXvid remained right at that state until I checked again at 7am this morning, so that's when I hit Exit on ScheduledRun.
__________________
Thickhead
_____________________________________________
ASUS M3N78-VM, AMD Phenom 9650, 2GB nVidia SLI RAM, onboard VIA HD audio and nVidia 8200, 2-PVR250MCE, Dvico Fusion5 USB, 1.3TB (2-500G 1-320G), LG Blu-Ray DVD, Antec NSK2400 case, nmediapc RF kybd & remote, USB-UIRT, Mitsubishi 31" TV, Win XP Pro SP3, BTV 4.9.1 w/DVD Plugin
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[plugin] POP3/SSL Email (November 5 Update) SSDNAdmin Beyond Media Downloads 148 10-09-2008 12:11 AM
[plugin] Web Videos (November 27 Update) SSDNAdmin Beyond Media Downloads 111 11-01-2007 08:30 AM
[plugin] BTV Status (ON HOME SCREEN!) (November 9 Update) SSDNAdmin Beyond Media Downloads 41 01-25-2006 02:11 AM
BTV4 Skin Development Templates (November 28 Update) SSDNAdmin Beyond TV Downloads 7 11-28-2005 10:17 AM


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


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0 RC1
©2004-2006 Snapstream Media
You Rated this Thread: