Windows error 0xC00D36B4, -1072875852

Detailed Error Information

MF_E_INVALIDMEDIATYPE[1]

MessageThe data specified for the media type is invalid, inconsistent, or not supported by this object.%0
Declared inMferror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode13 (0x00d)
NameFACILITY_MEDIASERVER[2][3]
DescriptionThe source of the error code is the Windows Media Server.[2][3]
Error Code14004 (0x36b4)

Questions

7votes
1answer

Media Foundation - How to change frame-size in MFT (Media Foundation Transform)

I am trying to implement an MFT which is able to rotate a video. The rotation itself would be done inside a transform function. For that i need to change the output frame size but i donĀ“t know how to do that. As a starting point, i used the MFT_Grayscale [...] read more
c++
windows
video-processing
ms-media-foundation
mft
3votes
2answers

Exception from HRESULT: 0xC00D36B4

i am getting this exception message Exception from HRESULT: 0xC00D36B4 while using MediaCapture object from Windows.Media.Capture namespace. The exception occurs when i try to start recording the audio using the method StartRecordToStreamAsync. Here is my complete code MediaCapture mediaCapture = new MediaCapture(); var capturesettings = new MediaCaptureInitializationSettings(); capturesettings.StreamingCaptureMode = StreamingCaptureMode.Audio; [...] read more
c#
exception
audio
windows-store-apps
media
2votes
3answers

Capturing video when screen resolution is above 1920x1080

I am trying to write a Win32 c++ program which uses Media Foundation, for capturing mp4 videos of the desktop. I found that on a PC with screen resolution of over 1920x1080, capturing fails. The failure is following a call to SetInputMediaType() which returns error 0xc00d36b4 (The data specified for [...] read more
c++
windows
video
ms-media-foundation
2votes
0answers

is there a frame size limitation in opencv VideoWriter?

When using opencv to save a bunch of pictures to a video file the file won't open unless I resize the image: (Windows error - "This item is in a format we don't support. 0xc00d36b4") My code looks like this: import cv2 import os input_path = "input_images_folder_path" imgs_lst = os.listdir(r"C:\Users\...\input_path") [...] read more
python
opencv
video-capture
1vote
2answers

Can't play most media files on brand new Windows 10

I built a new PC, installed 64-bit Windows 10 Pro, applied updates, and copied a bunch of my media from my old 64-bit Windows 7 PC. Most of the media does not play on the new machine. Groove M&TV Photos WMP AVI N/A OK OK OK MID N/A N/A N/A [...] read more
windows-10
audio
video
windows-media-player
1vote
1answer

IMFTransform SetInputType()/SetOutputType() fails

I'm trying to playback MP3 (and similar audio files) using WASAPI shared mode and a media foundation IMFSourceReader on Windows 7. From what I understand I have to use an IMFTransform between the IMFSourceReader decoding and the WASAPI playback. Everything seems fine apart from when I call SetInputType()/SetOutputType() on the [...] read more
audio
ms-media-foundation
wasapi
1vote
1answer

Windows video player cannot play cropped video from ffmpeg

I am trying to crop video with ffmpeg, I have encountered three problems. First, I used the following code to crop a 1080p video. ffmpeg -i 1080vid.avi -vf "crop=1920:1080:0:0" -c:v libx264 -crf 1 -c:a copy output.mp4 However, in the compression rate argument, it only works if I set -crf to [...] read more
python
windows
ffmpeg
video-editing
1vote
2answers

How do I encode raw 48khz/32bits PCM to FLAC using Microsoft Media Foundation?

I created a SinkWriter that is able to encode video and audio using Microsoft's Media Foundation Platform. Video is working fine so far but I have some troubles with audio only. My PCM source has a sample rate of 48828hz, 32 bits per sample and is mono. Everything is working [...] read more
c++
audio
ms-media-foundation
flac
1vote
1answer

Media Foundation multiple audio stream file decode error

I got an mp4 file which has 1 video and 2 audio streams. I want to decode the audio stream (after selecting one of them) using Media Foundation. Here is the code I have (I took it from MFAudio example of the MediaFoundation SDK samples). Error checking is omitted for [...] read more
c++
audio
ms-media-foundation
1vote
1answer

Resolution Issue when creating an MPEG4 video from images (Windows Media Foundation)

Currently I am using the Media Foundation SDK to convert Images to a H.264 video using the following example from Microsoft. https://msdn.microsoft.com/en-us/library/windows/desktop/ff819477(v=vs.85).aspx I have encountered an issue when adjusting the MF_MT_FRAME_SIZE of the media type object used for input, it would seem that if the resolution is higher then monitor [...] read more
c++
ms-media-foundation
1vote
2answers

How to get a SourceReader to decompress frames and send them to a Direct3D9 texture?

I am trying to get a MediaFoundation SourceReader to read an H.264 video file, and render the frames to some Direct3D textures so I can them render them as I wish with Direct3D. I'm using SharpDX, but the principles are of course the same as native code. As I understand [...] read more
video
direct3d
ms-media-foundation
sharpdx
1vote
0answers

Exception appeared after Windows 8.1 update

I have a Windows Store app that was running fine for the last 6 months with no exceptions and a 50 minutes average app usage for day (dashboard statistics). Bad ratings will ruin my 4.5 average rating and I need to solve this fast so I will give a bounty [...] read more
c#
xaml
windows-runtime
windows-store-apps
winrt-xaml
0votes
0answers

MediaComposition GetThumbnailAsync crashes

I try to extract thumbnail from StorageFile using Windows Media Editing API with the following code: public async Task<IInputStream> GetThumbnailAsync(StorageFile file) { var mediaClip = await MediaClip.CreateFromFileAsync(file); var mediaComposition = new MediaComposition(); mediaComposition.Clips.Add(mediaClip); return await mediaComposition.GetThumbnailAsync( TimeSpan.Zero, 0, 0, VideoFramePrecision.NearestFrame); } But I always get the error below. The data [...] read more
uwp
windows-10-universal
0votes
0answers

Microsoft Media Player Platform with AVC encoded MP4 on Win8

I have an AVC encoded MP4 file that I would like to play in the app. But it always failed to play and the error message is "MF_MEDIA_ENGINE_ERR_SRC_NOT_SUPPORTED : HRESULT - 0xC00D36B4". How should I resolve the problem? BTW, the url is here: http://coursecast2.nus.edu.sg/Panopto/Content/Sessions/1290e053-9cd0-4cda-812a-01a8bcd9a13d/91d06ea8-aaf8-463b-b8f3-1771109ff56e-e746270b-0142-413e-8587-48080a4c1c16.mp4 Thanks EDIT 1: I am using [...] read more
windows-8
media-player

Comments

Leave a comment

(plain text only)

Sources

  1. Mferror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0