- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I would like to decode an MPEG-4 stream and render it to an RGB24 buffer. The buffer pointer comes from an outer source. Can anyone explain the correct way of doing this with UMC 5.3? I have some problems with understanding the steps of the process.
First I initialize the decoder, and I specify a VideoProcessing instance as pPostProcessing. The VideoProcessing instance has been inited with a VideoProcessingParams instane (InterpolationMethod = IPPI_INTER_LINEAR, m_DeinterlacingMethod = UMC::NO_DEINTERLACING and source crop area set to the whole picture).
I get MPEG-4 data from an outer source as a pointer and length parameter. I set the input MediaData's buffer pointer to this data. I also have a pointer to an output buffer and I set the output VideoData's pointer to this pointer . I specify the resolution and thecolor format(RGB24) for the VideoData buffer, before decode. Can I use this code without renderer?If yes, can you specify exactly how to do this? If not can you explain how can I use the renderer for this purpose?
Best Regards,
Miki
I would like to decode an MPEG-4 stream and render it to an RGB24 buffer. The buffer pointer comes from an outer source. Can anyone explain the correct way of doing this with UMC 5.3? I have some problems with understanding the steps of the process.
First I initialize the decoder, and I specify a VideoProcessing instance as pPostProcessing. The VideoProcessing instance has been inited with a VideoProcessingParams instane (InterpolationMethod = IPPI_INTER_LINEAR, m_DeinterlacingMethod = UMC::NO_DEINTERLACING and source crop area set to the whole picture).
I get MPEG-4 data from an outer source as a pointer and length parameter. I set the input MediaData's buffer pointer to this data. I also have a pointer to an output buffer and I set the output VideoData's pointer to this pointer . I specify the resolution and thecolor format(RGB24) for the VideoData buffer, before decode. Can I use this code without renderer?If yes, can you specify exactly how to do this? If not can you explain how can I use the renderer for this purpose?
Best Regards,
Miki
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found FrankNatoli's solution for this case. It works well.
Regards,
Miki
Regards,
Miki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Care to post a link to this information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page