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.

h264 : restrictions on resolution

renorm2
Beginner
285 Views

Are their any restriction imposed on encoder input/output resolution?

I was using DirectShow  encoder filter that is included into Media SDK installer. Looks like hardware encoder doesn't work when picture height isn't a multiple of 32. This means that I can't encode 720x1280 video without rescaling. Input to encoder is in RGB32 format and comes from a screen capture filter.

I did run tests on Ivy bridge i5 PC with Quick Sync enabled.

 

 

Thank you.

0 Kudos
1 Reply
Jeffrey_M_Intel1
Employee
285 Views

I'm not an expert on the DirectShow filters so others may be able to help more with getting this working.  Just passing on the limited info I have in case it might help.

The Media SDK encoder itself requires width and height to be a multiple of 16 for progressive.  For interlaced/field encoding width must be a multiple of 16 but height must be a multiple of 32.  There may be additional simplifications/limitations for the directshow samples.  As you' may have already seen, the directshow filters included with Media SDK are intended as samples to help you get started, not as production-ready components.  

Regards,

Jeff 

0 Kudos
Reply