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
  #41  
Old 12-18-2006, 01:25 PM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Three things you should do:

1) Set the Sage service as an above normal process prioirity
In the windows task manager, right-click the Sage Service and bump its prioirity up. By default now, Sage should use more cpu cycles. You only need to do that once while Sage is always running.


2) Follow Technaz's advice. Look for all lines in the batch file with %VDUB% and use
Start /low /wait

IE: %VDUB% /r
Change to
Start /low /wait %VDUB% /r

You can do the same for Lame and besweet processes but they're less important.

3)Launch VirtualDub.exe and update its processing prioirity to below normal or low. See prefereneces menu option. In Dub Defaults.





That should work for you. Please post back with your results.

Last edited by roxy99; 12-18-2006 at 02:22 PM.
Reply With Quote
  #42  
Old 12-22-2006, 09:01 AM
jan smit jan smit is offline
Sage Advanced User
 
Join Date: Jul 2003
Location: Haarlem Netherlands
Posts: 159
Got it working!

The program needs only one change:
%VDUB% /r becomes
start "Virtualdub" /low /wait %VDUB% /r

The "Virtualdub" is the title you give to the task, which should not be left out otherwise the conversion will crash before it is finished saying that the switch "- /r " is not allowed.

Thank you (and Technazz) for all the help.

To improve the program further I think it woould be nice if it were possible to abort a conversion in an easy and correct way. Sometimes a batch takes more time than expected and the system may be needed for other purposes.
It would be nice if in case of the abort the sourcefile has not been deleted.
I don't understand anyway why all the sourcefiles are deleted; is there a way to prevent that? (I realise that it is just a copy and the original still exists)

jan
Reply With Quote
  #43  
Old 12-22-2006, 09:47 AM
jan smit jan smit is offline
Sage Advanced User
 
Join Date: Jul 2003
Location: Haarlem Netherlands
Posts: 159
I may have been to early: I think that also DGIndex and Besweet must be set to low priority.
I'll investigate (probably tomorrow) and let you know.

jan
Reply With Quote
  #44  
Old 12-22-2006, 11:28 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by jan smit
I may have been to early: I think that also DGIndex and Besweet must be set to low priority.
I'll investigate (probably tomorrow) and let you know.

jan
Thanks for your help in all this and merry xmas!
Reply With Quote
  #45  
Old 12-24-2006, 04:53 AM
jan smit jan smit is offline
Sage Advanced User
 
Join Date: Jul 2003
Location: Haarlem Netherlands
Posts: 159
I have serious problems which have nothing to do with priorities.
So far I had been testing with relatively small mpegfiles. The resulting avi's were about one third the size of the mpegs.

I have now compressed some larger files (> 4GB) and the resulting avi's are more than half the size of the mpegs.
Looking at the avifile properties I found that the audio in them is PCM and not mp3; in other words the audio is not compressed causing the large filesize.

I have tried your old and new batchprograms with the same results!

All users please check your files; am I the only one having these problems?

jan
Reply With Quote
  #46  
Old 12-24-2006, 08:27 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by jan smit
I have serious problems which have nothing to do with priorities.
So far I had been testing with relatively small mpegfiles. The resulting avi's were about one third the size of the mpegs.

I have now compressed some larger files (> 4GB) and the resulting avi's are more than half the size of the mpegs.
Looking at the avifile properties I found that the audio in them is PCM and not mp3; in other words the audio is not compressed causing the large filesize.

I have tried your old and new batchprograms with the same results!

All users please check your files; am I the only one having these problems?

jan
I've noticed that too. With larger files, something happens at some point in the audio extraction that makes the mp3 process fail. My theory (unconfirmed) is that its failing in the mp3wav step which gives the mp3 a wav header so that virtualdub can use the psuedo-wav-mp3 file. Virtualdub doesn't accept mp3 streams so we have to trick it with mp3wav. Apperently, that may be the problem. So when Vdub looks for the sound file to re-dub, it finds only the uncompressed PCM stream and not the pseudo-mp3/wav file.

I will test a version with Virtualdubmod instead. this will permit mp3 streams.


EDIT: New Multiple Drives version- bug fixed http://forums.sage.tv/forums/showthr...607#post195607

Last edited by roxy99; 12-26-2006 at 07:37 AM.
Reply With Quote
  #47  
Old 12-28-2006, 11:32 PM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
The one pass version is working on my main SageTV computer. Now I am trying to install the two-pass version on my secondary computer to offload the hight CPU load. When I ran the two-pass process, I think it got close to the end, then it had an error that said that the 'input was too long'.

I tried the processing several files, and had the same error.

A screenshot of the error is attached.


Dave
Attached Images
File Type: bmp input_too_long_error.bmp (31.8 KB, 331 views)
Reply With Quote
  #48  
Old 12-29-2006, 09:40 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
I can't reproduce the error as I am not at home now to test. But try http://forums.sagetv.com/forums/show...7&postcount=37

This version enables you to set up different drive paths for your source mpg while leaving the exe files on your C:\Project folder.

By any chance are you using it on Windows 2000? Windows 2000 imposes a maximum line limit that may be your problem.

You must change all references to U:\ to your proper source capture drive.

Last edited by roxy99; 12-29-2006 at 09:57 AM.
Reply With Quote
  #49  
Old 12-29-2006, 01:17 PM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
Quote:
Originally Posted by roxy99
I can't reproduce the error as I am not at home now to test. But try http://forums.sagetv.com/forums/show...7&postcount=37

This version enables you to set up different drive paths for your source mpg while leaving the exe files on your C:\Project folder.

By any chance are you using it on Windows 2000? Windows 2000 imposes a maximum line limit that may be your problem.

You must change all references to U:\ to your proper source capture drive.
Yes, I am using Windows 2000 on that older computer. Is there any way around that limitation, besides using Windows XP? Does Windows 98 have that limitiation too, I have an old copy of Windows 98.

Dave
Reply With Quote
  #50  
Old 12-29-2006, 01:18 PM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by davephan
Yes, I am using Windows 2000 on that older computer. Is there any way around that limitation, besides using Windows XP? Does Windows 98 have that limitiation too, I have an old copy of Windows 98.

Dave
On computers running Microsoft Windows XP or later, the maximum length of the string that you can use at the command prompt is 8191 characters. On computers running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of the string that you can use at the command prompt is 2047 characters.

Fixed in Version 1.2 See first post in thread

Last edited by roxy99; 12-30-2006 at 12:44 PM.
Reply With Quote
  #51  
Old 12-29-2006, 07:50 PM
gman4nj gman4nj is offline
Sage User
 
Join Date: Dec 2006
Posts: 42
For some reason I can't get the HQ version to work. It seems as if after the movie image pops up on my screen the conversion fails. I have no problems with the 800 bit version though.
Reply With Quote
  #52  
Old 12-30-2006, 06:20 AM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
I was not able to get the program to work successfully yet on my older secondary Windows 2000 computer. I did not test the two-pass version on my main SageTV XP Pro computer, but the one pass version does work on the XP Pro computer, but I would rather off load the job to the secondary computer.

On the secondary Windows 2000 computer, either the program ends with the string too long message or it ends and seems to finish, but there isn't a converted AVI file at the end of the process. It seems to depend on the source file that is used. I haven't tracked down the differences between the source files yet. I have some files that were processed with the VideoReDo quickfix and some files that are raw mpeg2. All of my mpeg2 files are recorded using the standard DVD quality level, about 3 gigs per hour.

One of the programs had an option during the installation to select association to "associate AVS files with Notepad (open)" and "associate AVS files with Media Player 6.4 (play)". I selected both checkboxes. I will try installing that program with the default unchecked condition with both checkboxes.

Before the first test run, there seems to be several files in the C:\Project folder from your previous shows that were processed when after first unzipping the files into C:\Project. There seemed to be a lot of files in the root of C:\Project in version 1.2 compared to the first version. Maybe it would be easier to manage if there were more sub-directories under the C:\Project directory.

I started the process with a clean, patched installaton of Windows 2000 Pro. I took an image of the computer at that point, so I can roll it back easily. I will restore the secondary computer back to just the base Windows 2000 operating system, and try installing it again.


Dave
Reply With Quote
  #53  
Old 12-30-2006, 07:37 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Download the Ver 1.2 of HQ2pass again on post 17. I made a goof. It should work now.

RE- subdirectories: everything is already in subdirectories and is fairly tidy. The C:\Project folder contains all the guts any subdivision would be more confusing. Virtuardub has its own folder, avisynth and besweet. Its all pretty good now.

Last edited by roxy99; 12-30-2006 at 07:51 AM.
Reply With Quote
  #54  
Old 12-30-2006, 09:27 AM
jan smit jan smit is offline
Sage Advanced User
 
Join Date: Jul 2003
Location: Haarlem Netherlands
Posts: 159
You have lost me with several edits to old posts together with new versions!

I want to make a clean re-install for the High Quality 2 pass version, using multiple drives.
What should I download and install?

jan
Reply With Quote
  #55  
Old 12-30-2006, 10:28 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by jan smit
You have lost me with several edits to old posts together with new versions!

I want to make a clean re-install for the High Quality 2 pass version, using multiple drives.
What should I download and install?

jan
HQConvertVer 1.2 is all you need. See first post in thread.

Last edited by roxy99; 12-30-2006 at 12:44 PM.
Reply With Quote
  #56  
Old 12-30-2006, 11:04 AM
gman4nj gman4nj is offline
Sage User
 
Join Date: Dec 2006
Posts: 42
Quote:
Originally Posted by roxy99
HQConvertVer 1.2 is all you need

Still a no go...
\

HQConvert2Pass.zip (2.1 KB, 24 views)
HQConvertVer1_2.zip (2.9 KB, 6 views)

HQ Convert2Pass contains a file that is in HQConver1_2

Which one is the correct one?
Reply With Quote
  #57  
Old 12-30-2006, 11:10 AM
gman4nj gman4nj is offline
Sage User
 
Join Date: Dec 2006
Posts: 42
I also just deleted the Project folder, redownloaded, extracted and loaded only the HQConvertVer1_2.zip file and was still unsuccessful on the conversion.

Basically, it's running up to the point where the video pops up on screen, shortly after that it fails...
Reply With Quote
  #58  
Old 12-30-2006, 11:51 AM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Quote:
Originally Posted by gman4nj
I also just deleted the Project folder, redownloaded, extracted and loaded only the HQConvertVer1_2.zip file and was still unsuccessful on the conversion.

Basically, it's running up to the point where the video pops up on screen, shortly after that it fails...
That verion 1.2 has additional files in that zip and its normal to replace the files in the project folder for the recent ones. Everything in that zip file must go to c:\Project.

Check all SET statements in the batch file and make sure you have the directories its looking for.

To execute the HQConvert, you click HQProcessmpg.bat.

If you've redownloaded virtualdub, then you may have to start up virtualdub.exe by itself to make sure its set up for you.

Last edited by roxy99; 12-30-2006 at 11:57 AM.
Reply With Quote
  #59  
Old 12-30-2006, 12:15 PM
roxy99 roxy99 is offline
Sage Expert
 
Join Date: Mar 2006
Posts: 516
Once you get it running, it will be easy to experiment with different codec settings. I will upload revised pass1.vcf and pass2.vcf scripts.

From now on there will be no need to change the batch file each time for new settings. So once your paths are set up to your liking, it will work. For example, try these pass1.vcf and pass2.vcf files attached.

Download to your project folder. I am using the profile setup for 'highdef' in these vcf files. The attached vcf file is already included in Ver 1.2 and Ver 1.3
Attached Files
File Type: zip HQPass.zip (1.0 KB, 326 views)

Last edited by roxy99; 01-03-2007 at 10:36 AM.
Reply With Quote
  #60  
Old 12-30-2006, 12:16 PM
jan smit jan smit is offline
Sage Advanced User
 
Join Date: Jul 2003
Location: Haarlem Netherlands
Posts: 159
Roxy, with all respect: I think it is still unclear.
The link you lead us to has two attachments:
1. HQConvert2Pass.zip, which has in a file HQConvert2Pass.bat dated 16 december 2006.
2. HQConvertver1.2.zip, which has two files in it:
2a HQConvert2Pass.zip, with in it HQConvert2Pass.bat dated 16 december and
2b HQConvertver1.2 with in it 4 files, one being HQConvert2Pass.bat dated 29 december.

Looking at the dates this last one is the one to use.

However, as I mentioned, I want to use multiple drives (source and destination on partition different from programming partition). Some time ago you gave me a Multiple Drive attachment.
Isn't that the one I should use? And if so, has that one been modified with the changes which you found were necessary for the other HQConvert2Pass.bat?

Wouldn't it be easier to combine the two and only have one version of HQConvert2Pass in which everybody has to set his own source and detination drive?

jan
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 06:24 PM.


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