Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

How to convert the data decoded by MJPEG Decoder MFT into RGB32

$
0
0

I try to play .avi file(Motion JPEG) with MJPEG Decoder MFT and
My ColorConverter MFT to convert into RGB32 by using the Media Foundation.

The output format of MJPEG Decoder MFT is YUY2.
So, I implemented My ColorConverter MFT to convert YUY2 into RGB32.

I set the  topology to play .avi file and  to convert into RGB32.

But I got a MEError event with ME_ARITHMETIC_OVERFLOW in

IMFMediaEvent->GetStatus(&hrStatus)); after the event MESessionTopologyStatus.

So,the file isn't started to play.


The created topology is follow.

  Source-> MJPEG Decoder MFT -> My ColorConverter MFT -> EVR
           Format:                    YUY2                                          RGB32

Why do the error occur in processing to convert the data decoded by MJPEG Decoder MFT
into RGB32?

Please tell me a appropriate way to convert the data decoded by MJPEG Decoder MFT
into RGB32.


Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>