Encode problem with 1920x1080 resolution

Encode problem with 1920x1080 resolution

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

AttachmentSize
Downloadvideo/mp4 08-08-13-16-21-03.mp41.13 MB
2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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 

Leave a Comment

Please sign in to add a comment. Not a member? Join today