Rendering Errors

[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.]

Note

[Deprecated. This API may be removed from future releases of Windows.]

Microsoft® DirectShow® Editing Services (DES) defines various error codes used to log rendering errors. If a project does not render correctly, the render engine calls the IAMErrorLog::LogError method. The following table summarizes the parameters given to LogError:

Note

The error codes described here are not HRESULT values. For a list of HRESULT return values specific to DES, see Error and Success Codes.

SymbolicCodeDescription
DEX_IDS_BAD_SOURCE_NAMEFile name doesn't exist, or DirectShow doesn't recognize the file extension.
DEX_IDS_BAD_SOURCE_NAME2File type does not match the file extension or the file is corrupt.
DEX_IDS_MISSING_SOURCE_NAMEFile name was required, but wasn't given.
DEX_IDS_UNKNOWN_SOURCECannot parse data source provided by this source.
DEX_IDS_INSTALL_PROBLEMUnexpected error. Some DirectShow component is not installed properly.
DEX_IDS_NO_SOURCE_NAMESSource filter does not accept file names.
DEX_IDS_BAD_MEDIATYPEGroup's media type is not supported.
DEX_IDS_STREAM_NUMBERInvalid stream number for this source.
DEX_IDS_OUTOFMEMORYOut of memory.
DEX_IDS_DIBSEQ_NOTALLSAMEOne bitmap in the sequence was not the same type as the others.
DEX_IDS_CLIPTOOSHORTClip's media times are invalid, or the device-independent bitmap (DIB) sequence is too short. Note: If other rendering errors occur, this error might occur even though the media times are valid.
DEX_IDS_INVALID_DXTClass identifier (CLSID) of the effect or transition is not valid.
DEX_IDS_INVALID_DEFAULT_DXTThe CLSID of the default effect or transition is not valid.
DEX_IDS_NO_3DYour version of DirectX does not support three-dimensional transitions.
DEX_IDS_BROKEN_DXTThis effect is not the right kind, or is broken.
DEX_IDS_NO_SUCH_PROPERTYNo such property exists on the object.
DEX_IDS_ILLEGAL_PROPERTY_VALIllegal value for this property.
DEX_IDS_INVALID_XMLSyntax error in XML file.
DEX_IDS_CANT_FIND_FILTERCannot find filter specified in XML by category and instance.
DEX_IDS_DISK_WRITE_ERRORError writing XML file to disk.
DEX_IDS_INVALID_AUDIO_FXCLSID not a valid DirectShow audio effect filter.
DEX_IDS_CANT_FIND_COMPRESSORCannot find a compressor to produce the specified compression format.
DEX_IDS_TIMELINE_PARSEUnexpected error parsing the timeline.
DEX_IDS_GRAPH_ERRORUnexpected error building the filter graph.
DEX_IDS_GRID_ERRORUnexpected error with the internal grid.
DEX_IDS_INTERFACE_ERRORUnexpected error getting an interface.
26 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.