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
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

Upscaling PAL to FullHD

Maximilian_W_
Beginner
94 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
94 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

 

 

Reply