oneVPL-intel-gpu icon indicating copy to clipboard operation
oneVPL-intel-gpu copied to clipboard

[VP] Fix missing entries in PicStruct validation

Open nyanmisaka opened this issue 8 months ago • 1 comments

Add the missing PicStruct entries as per https://github.com/intel/vpl-gpu-rt/blob/996a71895d3edf202d0395765eeda49ae3a41a31/_studio/mfx_lib/vpp/src/mfx_vpp_utils.cpp#L208


[Parsed_scale_qsv_1 @ 0000025f3c335400] Error querying VPP params: unsupported (-3)
[vf#0:0 @ 0000025f310747c0] Error while filtering: Function not implemented
[vf#0:0 @ 0000025f310747c0] Task finished with error code: -40 (Function not implemented)
[vf#0:0 @ 0000025f310747c0] Terminating thread with return code -40 (Function not implemented)

Can be reproduced since FFmpeg 6.1 (https://github.com/FFmpeg/FFmpeg/commit/88b3841149b9f41d6c5ec7930dcd5c6caf28b198) using vaapi/d3d11va/software decoder + vpp filter.

ffmpeg -hwaccel d3d11va -hwaccel_output_format d3d11 -i clip.mkv -an -sn -vf hwmap=derive_device=qsv,scale_qsv=format=nv12 -f null -

ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i clip.mkv -an -sn -vf hwmap=derive_device=qsv,scale_qsv=format=nv12 -f null -

ffmpeg -init_hw_device qsv -i clip.mkv -an -sn -vf vpp_qsv=format=nv12 -f null -

Sample clip clip.zip

nyanmisaka avatar Mar 24 '25 10:03 nyanmisaka

cc @xhaihao @Jexu

nyanmisaka avatar Mar 24 '25 10:03 nyanmisaka