RealProducer Pro allows you to use the command line to create and modify streaming media files (.rm files). You run these utilities through the MS-DOS prompt.
The following programs are available to you:
This executable allows you to create media files by typing commands at a DOS prompt. The command interface can be a useful tool for quickly generating and testing intermediate versions of media files or for automating production.
The default main directory is c:\Program Files\Real\RealProducer Pro.
realprodpro <switches> where <switches> are the recording switches you specify to generate the output media. See the tables below for more details on all necessary switches and their values.
The following table shows different switches you can use on a command line.
For names of settings files to use, look in the RealProducer Pro Settings folder. Usually this will be:
c:\Program Files\Real\RealProducer Pro\settings\
The following example records foo.avi into a RealVideo file using compression settings from Video Voice -- High Bitrates.fcs, "Dark and Stormy Night" as the title of the clip, "Fritz" as the author, and no copyright. The output file defaults to foo.rm.
realprodpro -i foo.avi -c "Video Voice -- High Bitrates.fcs" -t "Dark and Stormy Night" -a "Fritz"
The next example uses the same settings as above, but only records from frame 5 to frame 320.
realprodpro -i foo.avi -c "Video Voice -- High Bitrates.fcs" -t "Dark and Stormy Night" -a "Fritz" -b 5 -e 320
You can automate the process of movie generation by creating a batch file and adding a command line for each movie you want to generate. To avoid invoking multiple instances of realprodpro (RealProducer Pro) precede each command line with:
start /w
The following example shows the text of a batch file that will generate three media files. If you want to suppress display of the command lines as the batch file executes, begin the file with the @echo off command.
@echo off
start /w "c:\Program Files\Real\RealProducer Pro\realprodro" -i c:\movies\sun.avi -o c:\myvivs\sun.rm -s 288ModemVoice.fcs -t "My First Movie" -a "Ann S." -c Copyright "My Software, Inc., 1999"
start /w "c:\Program Files\Real\RealProducer Pro\realprodpro" -i c:\projects\moon.avi -o c:\myvivs\moon.rm -s T1FM240x180.fcs -t "My First Movie" -a "Ann S." -c Copyright "My Software, Inc., 1999"
start /w "c:\Program Files\Real\RealProducer Pro\realprodpro" -i c:\media\stars.avi -o c:\myvivs\stars.rm -s ISDNVoice160x120.fcs -t "My First Movie" -a "Ann S." -c Copyright "My Software, Inc., 1999"
This executable allows you to modify a previously created .rm file by changing clip information, recording and downloading options, and clip length.
The default main directory is c:\Program Files\Real\RealProducer Pro\.
input.rm is the name of the input file, output.rm is the name of the output file, and <switches> are the editing switches you specify. See the table below for more details on all necessary switches.
The following table describes each switch that you can use on the command line.
The following example allows you to view the current title, author, copyright, comments, mobile playback and selective record settings:
rmeditor -i input.rm
The following example changes the title of input.rm to "New Title" and saves the file as output.rm:
rmeditor -i input.rm -t "New Title" -o output.rm
The following example disables the selective record option and saves the file as output.rm:
rmeditor -i input.rm -r 0 output.rm
The following example trims both the beginning and end of input.rm and saves the result as output.rm:
rmeditor -i input.rm -s 0:0:3:2.20 -e 0:0:4:2.20 -o output.rm
|
|
Note |
|---|
| The start and end times will be adjusted in video clips so that the clip starts and ends on keyframes. |
The following example pastes several .rm files together into one output file:
rmeditor -i input1.rm -i input2.rm -i input3.rm -o output.rm
|
|
Note |
|---|
| If more than one input file is specified, any start and end time arguments will be ignored. |
This executable allows you to merge events and image map text files to an .rm file. Events and image map text files are created using a text editor. Refer to the RealSystem G2 Production Guide for more information. It also allows the user to extract events and image maps from a .rm file into a text file, so they may be edited using any text editor.
The default main directory is c:\Program Files\Real\RealProducer Pro\.
input.rm is the name of the input file, output.rm is the name of the output file, and <switches> are the events switches you specify. See the table below for more details on all necessary switches.
The following table describes each switch that you can use on the command line.
The following example merges an event text file with a .rm file:
rmevents -i input.rm -e events.txt -o output.rm
The following example merges an image map text file with a .rm file:
rmevents -i input.rm -m image.txt -o output.rm
The following example dumps image maps and events from the input file into files named input_imap.txt and input_evt.txt, respectively:
rmevents -i input.rm -d input