Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

3072x2048 video compression into H.264

David_H_9
Beginner
326 Views

Hello I have a very specific task to achieve, and wanted to know if it's possible.

I have 3072x2048 blocks of raw RGB data (24 bit) that I want to make an H.264 video with, there is no audio.

Is that possible with this SDK? I have noticed that many software packages crash with that resolution, and I wondered whether it was because of the algorithm itself?

Once completed, I later need to grab and decode individual frames from that video stream, it doesn't have to be quick, but I do need the exact frame. For example, let's say I just wanted frame 1287 from the video. I'm guessing it'll have go back to the nearest IDR frame then move forward from there or something? 

Is all this possible?

Thanks,

Dave

0 Kudos
1 Reply
Petter_L_Intel
Employee
326 Views

Hi Dave,

Yes, Intel Media SDK can encode content with such resolution into H.264. However, current generation of Intel Core platforms does not have capability to encode content with such resolution using HW acceleration so instead the Intel Media SDK SW encoder will be used. Next generation Intel Core platform, due this year, will supportHWencode of up to 4K resolution.

Regarding RGB24 support. Intel Media SDK only supports RGB32 color pace format. RGB format must first be converted to NV12 before fed to the encoder. For RGB32, this can be achieved using the Media SDK VPP component. For RGB24 you will have to resort to other components such as Intel IPP. For an example on how to perform color conversion from RG24 together with Media SDK please refer to the Intel Media SDK tutorial: http://software.intel.com/en-us/articles/intel-media-sdk-tutorial 

If you encode the stream with frequently recurring I-frames (controlled by GopPicSize) then quick search to specific frame will be fast.

Regards,
Petter 

0 Kudos
Reply