-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Background
- Hardware: Intel I7-10500, 16GB Memory
- Operating System: Ubuntu 22.04
- 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.
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?