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.

Encode problem with 1920x1080 resolution

Guilherme_L_2
Beginner
375 Views

Hi,

I have developed a ((Camera capture in YV12) -> VPP to NV12 -> Encode -> Record) application and it's works fine with 1280x720 and 320x240 resolutions but the colors don't fit with the luminance frame in 1920x1080 resolution.

i'm using ffmpeg to muxing the encoded frames in a .mp4 file

I am applying the MSDK_ALIGN16 macro to the mfxVideoParam::mfx.FrameInfo.Height, mfxVideoParam::vpp.In.Height and mfxVideoParam::vpp.out.Height

I don't know if the problem is in the ffmpeg mux or in the encoder.

Someone have any idea?

I will attach a sample of the output file

regards, and sorry for the poor english

0 Kudos
1 Reply
Petter_L_Intel
Employee
375 Views

Hi,

It's hard to say what is going on exactly based on the content you provided.

Most likely the issue is related to surface memory alignment or using wrong pitch when copying data into input YV12 surface buffer  (please check and compare to Media SDK sample code).

Regards,
Petter 

0 Kudos
Reply