Closed jedypod closed 2 months ago
heya, thanks for reporting. this is ffmpeg 5 vs 6 (i have 6). not sure simply fixing up things in this one place will make the rest of the video code compatible with the older ffmpeg. there are some more deprecated symbols that i removed from the vkdt code. if you don't depend on video input/output it's probably better to disable this in config.mk
, something like:
VKDT_USE_FFMPEG=0
export VKDT_USE_FFMPEG
i should probably look into a way of checking the version here.
Hello! I've been having a lot of fun playing around with vkdt the last 6 months or so, thanks for all the great work!
I just wanted to report a small compile issue I consistently run into:
The error goes something like this:
I think it might be related to the version of ffmpeg / libavcodec I have installed on my Rocky Linux 9 installation: I have ffmpeg 5.1.6 installed:
And in that header, the property seems to be called
frame_number
notframe_num
: see this excerpt from avcodec.h starting at line 1028:To resolve the compile error I open the file
src/pipe/modules/i-vid/main.c
and change line 472 fromif(mod->graph->frame + 1 != d->vctx->frame_num) // zero vs 1 based
toif(mod->graph->frame + 1 != d->vctx->frame_number) // zero vs 1 based
and then it compiles successfully.
Just thought I would report this and see if there was a way to get it fixed or maybe support multiple libavcodec versions if there has been a change in that property name.
Hope it helps!