MJPEG Compressor Filter

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This filter compresses an uncompressed video stream, using motion JPEG compression.

Label Value
Filter Interfaces IBaseFilter, IPersistStream
Input Pin Media Types MEDIATYPE_VIDEO, MEDIASUBTYPE_NULL
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media Types MEDIATYPE_Video, MEDIASUBTYPE_MJPG
Output Pin Interfaces IAMStreamConfig, IAMVideoCompression, IMediaPosition, IMediaSeeking, IPin, IQualityControl
Filter CLSID CLSID_MJPGEnc
Property Page CLSID No property page
Executable quartz.dll
Merit MERIT_DO_NOT_USE
Filter Category CLSID_VideoCompressorCategory

 

Remarks

This filter encodes using the media subtype MEDIASUBTYPE_MJPG, which corresponds to the FOURCC code 'MJPG'.

DirectShow Filters