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.
2946 Discussions

Media SDK decoder fails to decode h264 video with motion_vectors_over_pic_boundaries_flag

Danil_S_
Beginner
170 Views

As described in subject field, the h264 feed, that has motion_vectors_over_pic_boundaries_flag set to 1 in sps header sequence is decoded to huge artefacted green screen. Both in my project and provided decode_sample example.

Feed used is received from Microsoft Media Foundation encoder on WIndows 8 and 10 or from ffmpeg with default 264 presets.

All the returns are MFX_ERR_NONE and no warnings are being received throughout initialization, header decoding and frame decoding processes.

0 Kudos
3 Replies
Anna_B_Intel
Employee
170 Views

Hi Danil,

Could you please provide encoded stream to reproduce the problem? Is it decoded well by other decoders (ffmpeg)?

Best wishes,

Anna

Danil_S_
Beginner
170 Views

Greeetings, Anna.

Encoded feed could be found here: cdn.livestream.com/LivestreamStudio/Intel/media_foundation_feed.264

VSoft decoder seems to do it just fine. Also, Media Player Classic is able to play this file as is.

This data are encoded by Media Foundation encoder on Windows 8.1 Pro.

Looking forward to your responce.

Anna_B_Intel
Employee
170 Views

Hi Danil,

I reproduced the issue. I'll keep you in touch about further investigations.

Best wishes,

Anna

Reply