Thanks, but I'm not sure I understand how the MfVideoThumbNail sample can help me? It creates bitmaps from a video file, whereas I want to do the opposite. My app renders animated graphics to a TBitmap canvas and I'd like to compile the frames into a video file.
Thanks. That's solved the bug for me. It now creates the new wmv file. However, the videos are black and have a tiny file size, although they are the correct length and dimensions. I've tried transcoding an uncompressed AVI, an MP4 and a MOV file with the same result.
Thanks. That's solved the bug for me. It now creates the new wmv file. However, the videos are black, although they are the correct length and dimensions. I've tried transcoding an uncompressed AVI, an MP4 and a MOV file with the same result.
Thanks. That's solved the bug for me. It now creates the new wmv file. However, the videos are black. I've tried transcoding an uncompressed AVI, an MP4 and a MOV file with the same result.
The error occurs at hr := pUnkAudioType.QueryInterface(IID_IMFMediaType, pAudioType);. That's line 271 of Transcoder.pas. The value of hr is 0 just before this call.
My aim is to export video in wmv or mp4 format from a Delphi application. The frames will be rendered in the application to TBitmap objects and then need to be added to the video. This is similar to the transcode sample but with no source video. The source frames are rendered in the application. Is this possible using MFPack? I'd prefer to do this without first saving the frames as image files.
My aim is to export video in wmv or mp4 format from a Delphi application. The frames will be rendered in the application to TBitmap objects and then need to be added to the video. This is similar to the transcode sample but with no source video. The source frames are rendered in the application. Is this possible using MFPack? I'd prefer to do this without first saving the frames to file.
I am able to build the sample application, but it gives an error when clicking the transcode button after selecting the input and output. The error occurs at hr := transcoder.ConfigureAudioOutput(); in frmTranscode. I've tried with various input video formats with the same result. I'm running Windows 10 and am using Delphi 10.4 Sydney. I see that MfPack supports up to Delphi 10.3.3. Could that be the cause of the issue? Other samples such as MfPlayer I work without issue.