ToDvrms is a command line utility that converts video files to dvr-ms or wtv.
syntax:
todvrms.exe filetoconvert.xxx newdvrms.dvr-ms [-m -g
<pathtogrfstub.grf> -v -d -t "The Title" -r "10/30/2008" -y
"10/30/2008" -w 60 -as 1 -vs 1 -allstreams -subtitles]
developed for mpg/vob, but other formats may work. ToDVRMS includes two DirectShow filters, they must be registered by
running registertodvrmsfilters.cmd prior to use. After they are
registered ToDVRMS can stream h.264/AC-3 files from mkv/m2ts into WTV
files.
-m: optional, write WM/MediaIsMovie tag to output file
-g: optional, path to a grf file that contains encoder (or other filters) that should be used for the conversion process
-v: optional, enable verbose mode
-d: optional, enable debug mode
-t: optional, add Title attribute with the specified value
-r: optional, add WM/OriginalReleaseTime attribute with the specified date value.
-y: optional, add WM/Year attribute with the specified date value.
-w: optional, how long to wait for writes before considering the conversion finished. Default is 30
-as: optional, index of audio stream to copy; requires Haali splitter.
-vs: optional, index of video stream to copy; requires Haali splitter.
-allstreams: optional, copies all the streams; requires Haali Simple Splitter.
-subtitles: optional, copies line21 subtitles into the output file; requires Haali Video Sink.
-getpic: optional, exports WM/Picture to output path (2nd arg).
-setpic: optional, not recommended, sets WM/Picture to the jpg specified in output path (2nd arg).
-wtv: optional, create a wtv file
-c: optional, path to edl or dtb xml file for commercial removal
Please post support/enhancement requests in the transcoding forum.
1.0.0.0
- Inital release
1.0.0.1
- added m arg optional, write WM/MediaIsMovie tag to output file
-
added g arg optional, path to a grf file that contains encoder (or
other filters) that should be used for the conversion process
1.0.0.2
- added v arg. optional, enables verbose output
- added d arg, optional, enables debug mode
- some structural changes
1.0.0.3
- added a GUI tool
- added WTV support
- added t, r, y args
1.0.0.4
- fixed GUI
- some GUI enhancements
- added w
1.0.0.5
- files can be viewed as they convert if both processes are run as an admin (disable UAC)
- experimental -> wtv conversion
- read sage xml files to create dvr-ms metadata
1.0.0.6
- added stream selection options (-as/-vs); requires Haali Splitter source filter
- added allstreams option; requires Haali Simple Splitter
1.0.0.7
- added subtitle persistance option (vob); requires Haali Video Sink
1.0.0.8
- can write non-mpeg2 wtv files on Win7
1.0.0.9
- uses FakeTransform.ax (regsvr32 prior to use) filter to make files w/ h264 video work with WTV container on Win7 Beta1
- added getpic and setpic
- if the category = movie in the sage.xml WM/MediaIsMovie will be set to true
- WM/OriginalReleaseTime will be set to originalAirDate
- xml: optional, path to sage xml metadata file.
1.0.1.0
- force todvrms to run as x86
- explicitly load haali source for mkv
- explicitly load MPC-HC Mpeg source for ts, m2ts, and mpeg
- added c, path to edl or dtb xml file for commercial skipping (experimental; requires DSCutter filter included in DTB 1.2.1.8)
- change -w to 45 for wtv files since the SBEv2 allocates in 500MB chunks
-
replace FakeTransform with AVC1toH264 (thanks Jere) filter for streaming H.264 into
WTV (mkv supported with Haali source; ts,m2ts suppported with MPC-HC
Mpeg source)
- add AAC as an allowed audio type