HyperWorks Desktop

*Recompress()

Converts AMF files using JPEG-based frame compression to a faster playing internal video format.

*Recompress()

Converts AMF files using JPEG-based frame compression to a faster playing internal video format.

Previous topic Next topic No expanding text in this topic  

*Recompress()

Converts AMF files using JPEG-based frame compression to a faster playing internal video format.

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Syntax

*Recompress(0/1/2)

Arguments

Names

Description

 

0/1/2

Switch indicating whether recompression should occur and what level of compression should be used.

0 - Do not recompress

1 - Recompress using Lempel_Ziv 1X (faster)

2 - Recompress using Lempel_Ziv 999X (smaller)

Example

*BeginVideoDefaults()

• • •

  *Recompress(1)

   *CachePalette(1)

• • •

*EndVideoDefaults()

Application

MotionView, HyperView, and HyperGraph.

Context

*BeginVideoDefaults()

Comments

JPEG decompression is CPU intensive and therefore very slow. *Recompress() converts JPEG AMF videos into LZ videos using an 8-bit palette.  This format plays back four to five times faster than JPEG and occupies only about twice as much memory as a JPEG file (depending on the JPEG compression level).  Generally, the *Recompress(1) setting is preferred, since the *Recompress(2) setting delivers only a 0% to 15% saving in memory usage and takes several times longer to convert videos. *Recompress(2) should only be used if maximum memory saving is demanded.

See also

 

*BeginVideoDefaults()

*CachePalette()

*EndVideoDefaults()

List of Preference Statements