Morgan M-JPEG codec V3 developer pages

Codec features ...

Codec specifications ...

Codec settings ...

DirectShow Decompressor specifications ...

  DirectShow Compressor specifications ...
Sample source code ...  
Developer forum ...  

MJPEG2000 codec: visit our MJPEG2000 LIB SDK page.

 

1. M3JPEG.INI settings :

 

Codec and DirectShow filters settings are stored in the file M3JPEG.INI located in the Windows diretory (C:\Windows or C:\WinNT).

 

Sections and keys

Default value

Other values

Description

 

 

 

[Codec]

 

 

Section about the codec (compressorr/decompressor)

Enabled

1

0 = Disabled
1 = Enabled

Enable/Disable the codec

SysFourCC

mjpg

 

System FourCC of the codec

 

 

 

 

[Compress]

 

 

Section about the compressor

Mode

0

0 = Integer
1 = Fast Integer
2 = Float

Precision used for DCT processing

MMXAllowed

1

0 = Disabled
1 = Enabled

Allow the use of MMX instruction set (valid only if MMX is detected)

3DNowAllowed

1

0 = Disabled
1 = Enabled

Allow the use of 3DNow! instruction set (valid only if 3DNow! is detected)

SSEAllowed 1 0 = Disabled
1 = Enabled
Allow the use of SSE instruction set (valid only if SSE is detected)
SSE2Allowed 1 0 = Disabled
1 = Enabled
Allow the use of SSE2 instruction set (valid only if SSE2 is detected)
3DNow2Allowed 1 0 = Disabled
1 = Enabled
Allow the use of 3DNow!+ instruction set (valid only if 3DNow!+ is detected)
SMPAllowed 1 0 = Disabled
1 = Enabled
Enable/Disable use of the SMP optimized mode. If enabled, compress the first field with the first processor while compressing the second field with the second processor. (valid only if a SMP capable system is detected)

SupportInterleave

1

0 = Disabled
1 = Enabled

If enabled, decompress and display 2 interleaced fields per frame.

If disabled, decompress and display only 1 field per frame.

(Frame height need to be more than 288)

InvertFieldOrder

0

0 = Disabled
1 = Enabled

Odd lines become even lines and even lines becomes odd lines. (Frame height need to be more than 288, SupportInterleave need to be set)

Enabled

1

0 = Disabled
1 = Enabled

Enable/Disable the compressor

UserFourCCVal

dmb1

FourCC value

User defined FourCC

UserFourCC

0

0 = Disabled
1 = Enabled

Enable/Disable use of User defined FourCC.

EmitAPP0_AVI1_14

0

0 = Disabled
1 = Enabled

Enable/Disable the output of a 14 bytes lenght APP0_AV1 marker  (This is a non-standard length used by some M-JPEG hardware encoders)

SubSampling 422 422
420
Define the subsampling mode to be used.

CheckDataRate

1

0 = Disabled
1 = Enabled

Enable/Disable data rate checking.

If disabled, ignore the dwFrameSize parameter of ICCompres function, only uses dwQuality parameter.

StrongCheckDataRate 0 0 = Disabled
1 = Enabled
Enable/Disable strong data rate checking (CheckDataRate need to be enabled)

If enabled, perform a more accurate but slower data rate checking.

ForcedQuality 0 0 = Disabled
1 = Enabled
Enable/Disable forced quality.

If enabled, ignore the dwFrameSize and thedwQuality parameters of ICCompres function, uses ForcedQualityValue  instead.

ForcedQualityValue 75 0-100 Define forced quality. (ForcedQuality need to be enabled to use this setting).
WaterMark A valid path to a 16x16 24bits bitmap file.
(C:\watermark.bmp, C:\my.wmk, ...)
If set, add a watermark on the top left corner of each frame.

[Decompress]

 

 

Section about the decompressor

Mode

0

0 = Integer
1 = Fast Integer
2 = Float

Precision used for DCT processing

FancyUpsampling

0

0 = Disabled
1 = Enabled

If enabled, do careful upsampling of chroma components. If disabled, a faster but sloppier method is used.  The visual impact of the sloppier method is very very small.

MMXAllowed

1

0 = Disabled
1 = Enabled

Allow the use of MMX instruction set (valid only if MMX is detected)

3DNowAllowed

1

0 = Disabled
1 = Enabled

Allow the use of 3DNow! instruction set (valid only if 3DNow! is detected)

SSEAllowed 1 0 = Disabled
1 = Enabled
Allow the use of SSE instruction set (valid only if SSE is detected)
SSE2Allowed 1 0 = Disabled
1 = Enabled
Allow the use of SSE2 instruction set (valid only if SSE2 is detected)
3DNow2Allowed 1 0 = Disabled
1 = Enabled
Allow the use of 3DNow!+ instruction set (valid only if 3DNow!+ is detected)

SMPAllowed

1

0 = Disabled
1 = Enabled

Enable/Disable use of the SMP optimized mode. If enabled, decompress the first field with the first processor while decompressing the second field with the second processor. (valid only if a SMP capable system is detected)

SupportInterleave

1

0 = Disabled
1 = Enabled

If enabled, compress 2 fields per frame (2 JPEG images are stored, one per field, for each frame).

If disabled compress and srore only the first field.

(Frame height need to be more than 288)

InvertFieldOrder

0

0 = Disabled
1 = Enabled

Odd lines become even lines and even lines becomes odd lines. (Frame height need to be more than 288, SupportInterleave need to be set)

Enabled

1

0 = Disabled
1 = Enabled

Enable/Disable the decompressor

FixSOF0

1

0 = Disabled
1 = Enabled

Enable/Disable dymanic fix of invalid SOF0 markers (produced by some non-standard M-JPEG hardware encoders)

FixSOS

1

0 = Disabled
1 = Enabled

Enable/Disable dymanic fix of invalid SOS markers (produced by some non-standard M-JPEG hardware encoders)

FixDQT

1

0 = Disabled
1 = Enabled

Enable/Disable dymanic fix of invalid DQT markers (produced by some non-standard M-JPEG hardware encoders)

IF09

0

0 = Disabled
1 = Enabled

Enable/Disable IF09 output mode support (Disabled because color subsampling of this mode is too destructive)

DoubleWidthIf43

0

0 = Disabled
1 = Enabled

Enable/Disable width doubling mode if resulting aspect ratio is near from 4:3

FixDRI

0

0 = Disabled
1 = Enabled

Enable/Disable dymanic fix of invalid DRI markers (produced by some non-standard M-JPEG hardware encoders)

FixMarkerLen

0

Length of DRI

Define the length of the restart interval, bypass the DRI marker (FixDRI need to be enabled)

DS_Mode

1009

1009 = Normal
1010 = Full2CIF

Enable/Disable internal Full to CIF mode (DirectShow only)

DS_CIFWidth16

1

0 = Disabled
1 = Enabled

Enable/Disable alignment of width on 16 bytes (DirectShow only, DS_Mode need to be enabled)

DS_CIFHeight16

1

0 = Disabled
1 = Enabled

Enable/Disable alignment of height on 16 bytes (DirectShow only, DS_Mode need to be enabled)

DS_ForceYUY2

1

0 = Disabled
1 = Enabled

If enabled, force the output format to be YUY2. (DirectShow only)

DS_NoSkip

1

0 = Disabled
1 = Enabled

If enabled, the decompressor won't skip any frame even if it is out of sync. (DirectShow only)

IJGCore 0 0 = Disabled
1 = Enabled
IJG core is the IJG based optimized V1 core, it is located in MMIJG32.dll and is there for compatibility purpose only. If the new V3 core failed to play an "exotic" M-JPEG stream, it tries to use the IJG core.

If enabled, force the use of V1 core instead V3 core.

(IJG : Independent JPEG Group).

 

2. Configure dialog box Property Pages settings  :

 

 

morgan.gif (5620 octets)