Site Tools


documentation:development:opera:pf25:tktfldr:dsrfldr:03dsr016

Weaver

MPW tool that creates a stream.

Synopsis

weaver [options] -o output_file < script_file

Description

The Weaver tool takes as input a script file that references one or more chunked files and writes one stream that consists of interleaved chunks from all input files. The weaver script determines how weaving is done (See Weaver Script Commands. Weaver script files consists of commands and comments:

  • Commands start with a Weaver command followed by command arguments.
  • Comments are lines starting with a #.

Arguments

  • -iobs <size> Buffer size (default is 32,768 bytes).
  • -b <time> Output stream start time
  • -s <size> Output stream block size
  • -m <size> Output stream media block size
  • -o <file> Output stream file name
  • -mm <num> Max markers to allow
  • -v Toggle verbose diagnostic output

Examples

The following example weaves a sound file created with sftostream:

Weaver -v -o MySoundTestWeave < MySoundScript

The script file contains the following lines:

streamblocksize 32768
streamstarttime 0
file Tree:Sounds:MySoundTest 1 0

The Weaver does the following:

  • Finds the MySoundScript file, defined in the MySoundScript file.
  • Uses the option -v for verbose.
  • Uses the option -o to create the output file MySoundTestWeave.

Note: Make sure to quote file or folder names that contain spaces.

See Also

documentation/development/opera/pf25/tktfldr/dsrfldr/03dsr016.txt · Last modified: 2022/10/10 16:54 by 127.0.0.1