Referring to a post on https://forum.videohelp.com/topic310993-120.html (Jan 19, 2009 00:20). I have written a PowerShell form for those interested in multiplexing more than 3 subtitles into a video, it works as a helper to GfD. I don’t know if it will work for any subtitles that are not in "srt" format, I haven't tested that and my knowledge is limited in that area. The script creates all the necessary spu*.xml files, overwrites "batchrun0.bat" and modifies "Author.xml". It is a basic script and only prompts for the 5 inputs that are likely to be changed for different languages. If other values need to be changed (margins, alignment, etc) they can be edited in the ‘Default values’ region of the script (which are subsequently placed in the "$SpuSubTemp" here string). Also, the character encoding box allows for manual entry (due to the vast amount of supported encodings for spumux - http://www.gnu.org/software/libiconv/ - and the fact that I could not readily find an existing list on the web from which to parse), the rest of the choices are not editable as of now.
Here is the process in simplified form:
-Open existing GFD project (choose project output path in GfD settings)
-Click "Create Batch" to generate config files in temp directory
-Copy GFD project file to temp directory
-Copy "Add-Subtitles.ps1" powershell script (or exe) to temp directory
-Execute powershell script
-Add single or multiple language streams to each film title as needed
After clicking “Create DVD”, GFD's "MainBatch.bat" takes over and displays the output. You may also find the application to be more expedient for adding subtitles even when adding only one stream.
*Notes:
-Application only works with single titlesets for now
-When using this program, do not add any subtitles through the Gfd interface
-If subtitle xml config file already exists in temp directory, then it is assumed you want to edit the existing config to make modifications, otherwise
GFD project file is assumed to be in the temporary directory, if a project does not exist in the directory, script will error and will not load until a .gfd file exists
-Subtitle config is automatically saved and updated in temp folder upon clicking "Create DVD", adding or removing subtitles, or on application exit, it has the naming convention of "GFDProjectName_Subtitles.xml"
-This program does not modify anything besides what has been noted
Your system of course will need the ability to execute Powershell scripts and access to .NET Framework 3.5. You can follow the steps here http://technet.microsoft.com/en-us/library/ee176949.aspx. The Powershell download is also linked on this technet page.
I suggest the following 4 steps to get started with running ps scripts:
-Install SP2 (Vista) or SP3 (XP)
-Install .NET Framework 3.5 SP2 (already installed on Windows 7)
-Install Windows Management Framework Core for your OS (already installed on Windows 7) http://support.microsoft.com/kb/968929
-Open a Powershell command prompt and run "Set-ExecutionPolicy RemoteSigned"
-Associate the "ps1" extension with Powershell (rather than right clicking and doing "open with")
I have attached the ‘exe’ and ‘ps1’ versions of the script (Remove the “.txt” extensions after downloading). I also attached the .pff file for those who want to edit the GUI. The form was created using Primal Forms 2009. The Community Edition is also available for free - http://www.primalscript.com/downloads/communitytools/signup.asp?tool=pforms
+ Reply to Thread
Results 1 to 2 of 2
-
-
The post from Jan 19, 2009 is here - https://forum.videohelp.com/threads/251390-GfD-development-version?p=1837246&viewfull=1#post1837246
Similar Threads
-
Can Projectx rip text subtitles from TS without demuxing the other streams?
By Talayero in forum SubtitleReplies: 2Last Post: 31st May 2011, 14:29 -
How do I strip and get rid of Audio Streams and Subtitles in MKV x264 files
By whachano in forum Video ConversionReplies: 1Last Post: 8th Aug 2010, 00:44 -
demux m2ts streams and remux them together with srt subtitles
By TwilightMatt in forum Video ConversionReplies: 5Last Post: 9th Dec 2009, 11:10 -
MaestroSBT, GfD subtitles don't sync with video
By lienny in forum SubtitleReplies: 23Last Post: 15th Feb 2009, 12:57 -
Removing certain audio streams/subtitles from a DVD
By SiM99 in forum DVD RippingReplies: 18Last Post: 7th Feb 2009, 01:46