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

Issue with Decoding H.264 Video Encoded in macOS Safari

enm10k
Beginner
259 Views

Our team is developing a program to process WebRTC video using libvpl.
Currently, we are encountering an issue with the decoding process.
Is this a bug? If not, we would like to know how to avoid it.

 

## Issue


When trying to decode H.264 video encoded in macOS Safari using libvpl, the decoder sometimes continues to return MFX_ERR_MORE_DATA.

 

## What We Checked

 

- This issue does not occur with H.264 video encoded in Chrome.
- The problematic data could be decoded correctly with libavcodec.

 

## Minimal Reproducible Example

 

We prepared the code and data to reproduce the issue in the following repository.
https://github.com/melpon/libvpl-more-data-issue

 

## What We Found

 

With the data in the above repository, the value of max_num_ref_frames changes from 5 to 9 when the frame size changes, and we suspect this may be the cause of the issue.
Starting processing from bin/frame_0076.h264, where max_num_ref_frames is 9, does not cause the issue.

 

## Environment

 

The issue reproduces in the following environment.

 

OS: Ubuntu 22.04
libvpl: v2.10.1
CPU: 12th Gen Intel® Core™ i5-1240P, Intel® Processor N100

 

Additionally, here are the versions of the browsers and OS used for testing:

 

OS: macOS 14.4.1 (23E224)
Safari: 17.4.1 (19618.1.15.11.14)
Chrome: 123.0.6312.107 (Official Build) (arm64)

0 Kudos
0 Replies
Reply