SageTV Community  

Go Back   SageTV Community > SageTV Customizations > SageTV Customizations

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
Prev Previous Post   Next Post Next
  #1  
Old 12-15-2009, 06:28 PM
mikep mikep is offline
Sage User
 
Join Date: Nov 2009
Location: Canada, QC
Posts: 65
Utility: SAGEAudioConvert, DTS to AC-3

SAGEAudioConvert v0.1.16

Purpose: Create an AC-3 audio track for every mkv movie that has a DTS track without a corresponding AC-3 in the same language.

If you don't have a DTS receiver this tool is for you. It is able to take a .mkv, look and see if the only audio is dts for a language, encode a new ac3 track from the dts one and add the new ac3 to the original mkv preserving both the original dts and adding the new ac3.


Previous Version

Lastest version available here


Installation: simply unrar the archive while keeping it directory structure.

For some documentation, look at readme.txt file included.


Syntax: SAGEAudioConvert [options] source

Options:
-inplace . . . . . . . . . . replace the original video when complete.
-outputdir=<value> . . .directory to place final video if not using inplace option.
-workdir=<value> . . . . temporary working directory. Default is OS temp directory.
-language=<value> . . .convert this language (ISO639-1) only. Default to every languages.
-stereo . . . . . . . . . . .downmix multi channel audio to stereo (Dolby Pro Logic II).
-kbps=<value> . . . . . .kbps for AC3 encoding. Possible values are "192", "448" or "640".
-priority=<value> . . . . process priority. Possible values are "low" or "normal".
-recursive . . . . . . . . .process every mkv file recursively from source directory.
-listISO639 . . . . . . . . display a list of valid language code to use with -language option.
-markdone . . . . . . . . .create a .dtsDone file beside the movie file. Useful will SJQ.
-force . . . . . . . . . . . .replace existing AC3 track with new one. Replace only if language and #channels match, otherwise append.
-defAc3Lang=<value>. .set this new language Ac3 Track as default.
-test . . . . . . . . . . . . do not convert anything, just simulate. Use to preview what will be done.
-debug . . . . . . . . . . .create a verbose debug log beside the executable.

Defaults:
-inplace -kbps=640 -priority=normal -language=all

Defaults:
-inplace -kbps=640 -priority=normal -language=all


Examples:

Find and proceed every mkv files in z:\movies directory recursively. The originals movies will be overwritten.

SAGEAudioConvert -recursive z:\movies

Find and proceed every mkv files in z:\movies directory, using 448 kbps for ac-3 encoding. New mkv files written to z:\moviesConverted.

SAGEAudioConvert -outputdir=z:\moviesConverted -kbps=448 z:\movies

Requirements:
Microsoft Windows XP or higher.
Microsoft .Net Framework 2.0 or higher.
Tools included: madshi eac3to, mkvtoolnix and mediainfo dll.

Change Log
v0.1.16
Fix exception under SageJob Queue

v0.1.15
* removed beta notice
* add -defAc3Lang switch. set this new language Ac3 Track as default.

Example: -defAc3Lang=en
will set the new english generated track as the default one. Any good mkv player should prefer the track that has his 'default' flag set.

v0.1.14 beta
* removed expiration date (march 1st 2010)

v0.1.13 beta
* fix undetected ac-3 [und] track. If a DTS [und] track was found, a new ac-3 track will always be generated even if it was already present. Other languages were fines.

v0.1.12 beta
* fix Language [und] Error: No language specified in '--language 0:'

v0.1.11 beta
* add -test switch.. . . . . Test mode only, do not create new tracks, just simulate. Use to preview what will be done.
* add -force switch. . . . . Replace existing AC3 track with new one. Replace only if language and #channels match, otherwise append.
* add -markdone switch. . Create a .dtsDone file beside the movie file. Useful will SJQ.

v0.1.10 beta
* initial release

Last edited by mikep; 01-31-2011 at 09:11 AM. Reason: new version
Reply With Quote
 


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

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Utility: SageMCEDisplay Jere_Jones SageTV Customizations 37 04-13-2009 03:53 PM
Srt2Smi utility alon24 SageTV Customizations 4 12-08-2008 01:31 PM
Burn in utility mattdcknsn The SageTV Community 2 07-20-2007 01:38 PM
Which compression utility is the best? davephan General Discussion 7 01-03-2007 05:57 AM


All times are GMT -6. The time now is 02:28 AM.


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