This plug-in is dead, please see MediaShrink for all your encoding needs.
What this STVi can do:- Create multi-Video DVD with great looking menus
- Create Data DVD from recordings leaving metadata intact
- Insanly configurable video compression
- Cut commercials using comskip .edl files
The three different modes:- Create Video DVD’s
- Compress Videos
- Compress Videos to Data DVD’s
If you pick 1, the script will take the shows and turn them into a video DVD that you can play on any standalone DVD player without affecting any or your original recordings.
If you pick 2 or 3, by default, the script will replace the originals with the compressed versions and if you pick 3 the script will also make a data DVD that contains the compressed videos and all their metadata.
Installation:
1) Download
SageMC Video Tools STVi(
Must be opened with winRAR)(
Don't use the alpha release
), Dirmon2, and imgBurn.
2) Install Dirmon2 and imgBurn, but don't configure them, leave that for the setup script.
3)Completely shutdown SageTV and extract the STVi into your SageTV folder.
4)Run perl2dvdSetup.exe and follow its directions very carefully. The first thing it's going to ask you is what jobs that specific computer will be doing. If you only have one computer, select all 3, otherwise pick the ones that apply. Remember...
- Only one PC can transcode
- Only one PC can burn
- Unlimited PC's can scedule
5) Start SageTV, import SageMC_VideoTools_STVi.xml, and go into the
SageMC Options->Extras and enable whatever features you'd like. If you want to use my compression system instead of the stock one, you also have to go into SageMC Options->Main and disable stock compression.
6) (Optional) Download a processor optimized version of mencoder from one of these sites and replace the included one.
http://oss.netfarm.it/mplayer-win32.php
http://ffdshow.faireal.net/mirror/mplayer/
You're mileage may vary depending on the stability of the svn tree on the build dates, but I'm sure you'll be able to find one that works for you with a little trial and error.
Usage:
Creating a video/data DVD-
- In the 'Send To...' menu add the show(s) you want to the video/data DVD
- In the 'Send To...' menu select 'Process multi-Video/Data DVD' to start the creation process
- A picture with a yellow icon should appear in your Other Programs menu. This means that the qdvd file exists, but isn't processing yet.
- Once dirmon2 starts processing the qdvd file, the yellow icon will turn blue. This indicates that the qdvd file is currently being processed and the videos are transcoding.
- Once the qdvd file is finished processing the blue icon will either turn into a DVD indicating that it finished successfully and is ready to burn or red indicating that there was some type of error (more on that later).
- Whenever you're ready to burn the DVD, place a blank DVD in your drive, and click on the DVD icon in the Other Programs menu. This will start imgBurn and possibly steal focus from Sage, however, once imgBurn is done it will give it back.
Note: The DVD does not get burned automatically, you need to initiate the process via the Other Programs menu
Compressing a single show-
- In the 'Send To...' menu select 'Compressed Video'
- In the next menu, select the format you wish to compress to from the list.
- A picture with a yellow icon should appear in your Other Programs menu. This means that the qdvd file exists, but isn't processing yet.
- Once dirmon2 starts processing the qdvd file, the yellow icon will turn blue. This indicates that the qdvd file is currently being processed and the videos are transcoding.
- Once the qdvd file is finished processing the blue icon will either disappear indicating that it compressed successfully or turn [b]red[\B] indicating that there was some type of error (more on that later).
What to do if you have a problem\How to ask for help:
I've tested this plug-in as thoroughly as I possibly can, but that doesn't mean it works perfectly yet. So here are a few things to remember if you have trouble.
- Everything works fine for me and a lot of other people so if your qdvd files aren't being created, Dirmon isn't processing, or the Other Programs menu isn't displaying anything then reread the documentation/ensure you're running the latest version of everything/revert back to a fresh STV .
- If it still doesn't work and you need to ask for help on the forums please be as descriptive as possible. For instance...
Do you have multiple Sage Machines? What Sage Machine is doing transcoding? Are any of your videos on network drives? Are you burning a DVD? Are you compressing a show? Is the show HD/SD? Is there AC3 sound? What recording quality are you using? Is a qdvd file being created? Does dirmon2 start processing? What compression profile are you using? What version of mencoder are you using? Does it work when you use one of the 'dragNdrop' batch files? What type of processor are you using? etc, etc, etc...
I know that's a lot of stuff, but fortunately, if your setup is mostly working, i.e. the qdvd files start processing, then 90% of this information is in the log files generated by the script. To have the script output .zip files containing all of the relevant log files, go into perl2dvd.advanced.pref and enable
Code:
General: Save work folder log files to zip (0 means false, 1 means true) =1
So in conclusion, posting "It doesn't work" = useless, but posting "It doesn't work" and one of these .zip files = very helpful.
How to test if it's working?
There are two major parts to this plug-in: the scheduling and the transcoding. To test see if the scheduling works, pick a show and send it to a single video DVD. If it's working correctly there will it will create a .qdvd file in your qdvd folder and a shortcut and a jpg in your sageOthers folder. If dirmon2 is working properly it should see the new qdvd file and start processing it, however, if it doesn't then there's either a problem with dirmon's setup or perl2dvd's setup. To test if perl2dvd is working, drag n' drop a sage recording on the "single_dvd_dragNdrop.bat" in your sageTV directory. If everything is setup correctly that should make a DVD image right next to the original video. If you can burn that image and it plays properly, then the problem is with dirmon. In that case I recommend rereading the dirmon setup instructions below to see if you missed something.
Links:Notes:
- Sage v6 and SageMC v6.3+ required
- Installing this plug-in has no effect on the stock compression. It will still work just fine.
- Both SA and comskp are capable of outputting .edl files
- To use my plug-in for video compression you need to disable the Stock compression in SageMC Options->Main
- If I haven't documented something good enough, let me know and i'll give it a once over
Thanks to...- Flachbar for helping out a TON with my STV code. It was some ugly stuff before he got a hold of it.
- Mlbdude for his fantastic STV, without which I never would have bothered with any of this.
- All of the great images used in for menus are from the Media Portal project. They are already included in the SageMC 16x9 download.
Donations...
I work on this in my free time (what little there is lately) and enjoy it quite a bit so, while I appreciate it, I don't need any kind of donations. On the other hand, if you're so moved by the wonderful DVD's that this plug-in produces and can't fight the urge to show your appreciation I recommend
sending a few dollars to the good people at SourceForge who provide me with such great free hosting.
Change List:
11/17/06 v2.0 - Initial Revision
11/20/06 v2.0a -
- Bugfix: (SageMC) Mencoder was crashing on some people’s computers. I swapped out mencoder with the new official build. If you want to try and use some optimized versions, you can download them here… http://ffdshow.faireal.net/mirror/mplayer/ or http://oss.netfarm.it/mplayer-win32.php
- Bugfix: (SageMC) Audio size was being incorrectly estimated.
- Bugfix: (SageMC) Enabling/disabling features wasn’t working on SageTV Client or SageTV running as a service. This was a STVi issue so you’ll have to re-import.
- Bugfix: (SageMC) The hardcoded default encoding profile had some incorrect parameters.
- Bugfix: (SageMC) The 2-Pass Xvid profile included had some incorrect parameters.
- Bugfix: Wasn’t detecting invalid parameters soon enough.
- Bugfix: Removed old preference that enabled dirmon-less operation, this is no longer supported.
- Bugfix: DVD menu generation would always fail when you were using UNC paths for videos
- Enhancement: Added the option to use a centralized work folder rather than using the recording drives.
- Enhancement: Removed perl2dvd.pref and perl2dvd.advanced.pref from the download. These will automatically be generated by perl2dvdsetup.exe
- Enhancement: perl2dvdsetup.exe now makes a backup of your old pref files instead of just ovewritting them
- Enhancement: perl2dvdsetup.exe specifically asks you about a few important advanced preference items
- Known Issue – UNC paths break the iso creation for DVD’s
11/21/06 v2.0b -
- Bugfix: Fixed two more UNC issues
11/21/06 v2.0c -
- Bugfix: Fixed an issue where a file overwrite warning was hanging the process
- Enhancement: Added easy single video DVD creation, check out the single_video_dvd.batch for an example.
12/05/06 v2.0d -
- Bugfix: Fixed an issue where a file overwrite warning was hanging the process
- Bugfix: Fixed some lazy code when looking for the preference file
- Bugfix: Removed some unnecessary file deletes
- Bugfix: If video bitrate is to high, force it to transcoded
- Bugfix: Estimated encode size is now more accurate
- Bugfix: Detect if DVD image is unexpectedly small
- Bugfix: Fixed thumbnail generation
- Bugfix: Deleting logfile wasn’t working properly
- Bugfix: dvdList.log is overwritten instead of appended to prevent it from getting too big
- Enhancement: Added easy mutlti video DVD creation and improved easy single video DVD creation. See included example batch files for details.
- Enhancement: In case of error, all relevant batch files will be zipped and placed next to the .qdvd file. This way, when you have a problem, just post the zip file on the forum.
- Enhancement: Added profile option to specify an output folder for compressed videos. When you use this the originals will not be deleted
- Enhancement: Added option to specify qdvd folder in perl2dvdsetup
1/27/07 v2.0f -
- Bugfix: Updated STVi to work with SageMC 6.3.1 (sorry it took so long!)
1/28/07 v2.0g -
- Bugfix: Updated STVi again to fix auto compress bug (thanks JREkiwi!)
1/29/07 v2.0h -
- Bugfix: I'm a idiot, but since fixing that is out of my power I've updated the STVi... again.
2/02/07 v2.0.1a -
- Bugfix: Updated to match SageMC 6.3.2a from this post. Fixes issue with burning DVD's from non-mpegs.