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.

Upscaling PAL to FullHD

Maximilian_W_
Beginner
442 Views

Hello There!

I'm trying to upscale the PAL (720x576@50i) signal to a progressive FullHD (1920x1080) at same fps rate, while cutting equal parts from the top and the bottom of the source picture, to gain the correct "picture aspect ratio".  

My parameters look quite right for me, but i get "MFX_ERR_UNDEFINED_BEHAVIOR" error on the "MFXVideoSession::SyncOperation" call.

What i'm doing wrong? Thanks in advance!

"Intel API Implementation: MFX_IMPL_SOFTWARE Version: 1.13"

"-------VPP Parameter-------"
"AsyncDepth: 0"
"NumExtParam: 0"
"IOPattern: MFX_IOPATTERN_IN_SYSTEM_MEMORY,MFX_IOPATTERN_OUT_SYSTEM_MEMORY"

"-------VPP INPUT-------"
"BitDepthLuma: 8"
"BitDepthChroma: 8"
"Shift: 0"
"FourCC: YUY2"
"Width: 720"
"Height: 576"
"CropX: 0"
"CropY: 85"
"CropW: 720"
"CropH: 405"
"FrameRateExtN: 25000"
"FrameRateExtD: 1000"
"AspectRatioW: 0"
"AspectRatioH: 0"
"PicStruct: MFX_PICSTRUCT_FIELD_TFF"
"ChromaFormat: MFX_CHROMAFORMAT_YUV422"


"-------VPP OUTPUT-------"
"BitDepthLuma: 8"
"BitDepthChroma: 8"
"Shift: 0"
"FourCC: RGB4"
"Width: 1920"
"Height: 1088"
"CropX: 0"
"CropY: 0"
"CropW: 1920"
"CropH: 1080"
"FrameRateExtN: 25000"
"FrameRateExtD: 1000"
"AspectRatioW: 0"
"AspectRatioH: 0"
"PicStruct: MFX_PICSTRUCT_PROGRESSIVE"
"ChromaFormat: MFX_CHROMAFORMAT_YUV444"

Kind regards,
Max

0 Kudos
1 Reply
Maximilian_W_
Beginner
442 Views

I solved the Problem by myself. The configurtation of input paramter was the issue:

"Width: 720"
"Height: 576"
"CropX: 0"
"CropY: 85"
"CropW: 720"
"CropH: 405"

405+2*85=575 and not 576 as supposed.

"CropH" should be changed to 406.

Nevertheless i would expect "MFX_ERR_INVALID_VIDEO_PARAM" as error.

 

regards,

Max

 

 

0 Kudos
Reply