Hello,
I can successfully encode H264 to avi file, using a IMFSinkWriter, by submitting YUV420 frames.
Now, I would like to use the SinkWriter not as an encoder, but as a simple AVI writer. I encode the YUV420 frames with another encoder (Cuda NVENC), I get H264 samples, and I would like to send the H264 samples to SinkWriter so that the H264 stream is properly encapsulated in the AVI file.
But I fail at finding the way to configure the input and output media types of the sinkwriter. None of the configurations I tried worked.
Is it possible to use the sinkwriter that way ?
I also tried to write the H264 samples directly to the imfbytestream behind the sinkwriter, but the resulting file does not work.
Regards
Pierre Chatelier