in

andy vt's tools & blog

Flexibility isn't free

zip DVRMStoWMVHD - 1.0.0.5

Downloads: 15 File Size:
Posted By: babgvant Views: 602
Date Added: 04-30-2008

 

DVRMStoWMVHD.exe is a command line utility that converts dvr-ms files to WMV files.  It is designed to work with ATSC files with HD video and AC3 audio streams, but will also convert NTSC and PAL recordings.  Other file formats, like mpg and vob, will work but will not be supported.

By default (no custom profile is specified) to will convert the dvr-ms file to a WMV file with VC-1 video and WMA Pro 5.1 audio with a programmatically built profile based on the attributes of the source file.  A custom profile can be passed using the -p argument if more control is desired over the target format. 

AC3Filter is preferred, and needs to be configured to deliver 5.1 audio for AC3 streams for WMA Pro to work properly.  Other AC3 decoders should work if properly configured, but will not be supported. 

While the application should work on XP if WMF11 is installed, it was developed and tested on Vista. 

syntax:

dvrmstowmvhd -i "in.dvr-ms" -o "out.wmv" [-p "wmv.prx" -a "preferred audio guid" -v "preferred video guid" -m -pp -s -pm]

-i : The path to the file that should be converted.  If spaces are included in the path, it should be enclosed in quotes.

-o :  The path to the file that will be output.  If spaces are included in the path, it should be enclosed in quotes.

-p : Optional path to the WMF Profile (prx) file that will be used to convert the file.  If spaces are included in the path, it should be enclosed in quotes.  If unspecified, the application will generate a profile based on the input file.

-a : Optional guid of the audio decoder that should be loaded into the graph.  There is no guarentee that it will be used, but it should if input and output types match.

-v : Optional guid of the video decoder that should be loaded into the graph.  There is no guarentee that it will be used, but it should if input and output types match.

-m: Optional, load and connect MatrixMixer filter.  Useful for audio gain on non-AC3 streams.

-pp: Optional, PRIORITY_CLASS value as integer. 32768 = ABOVE_NORMAL_PRIORITY_CLASS for e.g.

-s: Optional, if present writer filter will try to synchronize stream writes, may cause filter deadlocks

-pm: Optional, processor affinity mask. 3 on a dual core system will use both cores(1+2=3) 

-c: Optional, path to dvrmstoolbox commercial xml file 

More information can be found in the wiki.  This is an open source application, source can be downloaded here.

1.0.0.4

  • Changed DVR-MS to report write time instead of %   
  • Added -c, supports DVRMSToolbox commercial xml files for creating output

1.0.0.5

  • Fixed -c support 

Comments

No comments exist for this file.
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems