Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Encode problem with 1920x1080 resolution

Guilherme_L_2
Beginner
145 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
145 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 

Reply