I have a question I would love input on people that have already worked with 
intel QSV.
When trying to use ffmpegs API inside my code, it crashes while creating the 
hardware device context (segfault).

AVDictionary* options = nullptr;
av_dict_set(&options, "child_device_type", QSV_CHILD_DEVICE_TYPE, 0);
av_hwdevice_ctx_create(&hw_device_ctx, AV_HWDEVICE_TYPE_QSV, QSV_DEVICE_STRING, 
options, 0);

And I noticed that it happened when using ffmpeg with libvpl on version 8, 
while using version 6 fixes this issue and runs flawlessly. I presume its the 
libavcodec.so version (60 on version 6 and 62 on version 8). Is there any 
workaround to get it to work on version 8? Is this a known issue and I should 
stick to 6? Thank you!

OS Version:
Ubuntu 24.04

Packages:
Intel-media-va-driver-non-free (installed through apt)

Ffmpeg (compiled against libvpl version 2.15.0 and version 6.1.1 of ffmpeg)
Flags:
--enable-vaapi
--enable-libvpl

libmfx-gen1.2

_______________________________________________
Libav-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to