用Helix Producer Plus的RealMediaEditor编辑的话总是有out of memory的错误,看到了不少人好像也有这个问题。在RealMediaEditor的目录里发现了一个叫rmeditor的dos工具,经过测试可以顺利编辑rmvb格式文件(就算是加密的也可以)!
参数如下:
Usage:
rmeditor -i <input> -o <output> [-t <title>] [-a <author>]
[-c <copyright>] [-C <comment>]
[-s <start time>] [-e <end time>] [-l <log file>] [-d <dump file>]
[-q <description>] [-n <keywords>] [-R <content rating>]
Where:
input - the path to the input file.
output - the path to the output file that will contain the edited file.
title - title text.
author - author text.
copyright - copyright text.
comment - comment text.
start time - days:hours:minutes:seconds.milliseconds.
end time - days:hours:minutes:seconds.milliseconds.
log file - the path to the log file.
dump file - the path to the dump file.
description - a description of the contents of the file.
keywords - a list of keywords for the file.
content rating - 1 = All Ages, 2 = Older Children,
3 = Younger Teens, 4 = Older Teens,
5 = Adult Supervision Recommended,
6 - Adults Only, 0 - No Rating
再举个例子:
将名为a.rmvb的文件减去片头的2分15秒零90微秒,再减去片尾的5分3秒,更改标题为TLw Studio,作者为taile并输出为b.rmvb。格式为
rmeditor -i a.rmvb -o b.rmvb -t "TLw Studio" -a taile -s 2:15.90 -e 5:3.0
回车即可!
需要注意的是,如果名字或路径中包含空格,需要用""括起来;时间最后的秒与微秒之间使用.来分割的。