Skip to content

Enhance HEVC Decoding Compatibility of Intel VPL 2.15.0 on Ubuntu 22.04 #191

@lion117

Description

@lion117

Background

  1. Hardware: Intel I7-10500, 16GB Memory
  2. Operating System: Ubuntu 22.04
  3. Library Version: Intel VPL 2.15.0

Problem Description

When I attempted to decode HEVC videos using the legacy-decode mode of Intel VPL, the decoding failed with an error code of -15.
The same HEVC videos can be decoded successfully via FFmpeg software decoding, and can also be played normally in mainstream media players.
Root Cause Analysis
Through log printing and debugging, I inferred that the decoding failure might be caused by the VPL decoder's inability to properly parse and process the HEVC sequence header of the original video stream.
A workaround was tested and verified as follows:
Use FFmpeg to remux the original HEVC stream into an MP4 container with the command: ffmpeg -i input.hevc -vcodec copy output.mp4
Extract the HEVC stream from the remuxed MP4 file again with: ffmpeg -i output.mp4 -vcodec copy extracted.hevc
The extracted HEVC stream can then be decoded normally by the VPL legacy-decode mode.

cam_1080p-test.zip

Question

What configurations or modifications can be made to improve the robustness of the Intel VPL decoder, enabling it to decode the original HEVC streams correctly without the need for pre-remuxing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions