You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
running install_lib
running build_py
running build_ext
building 'butterflow.avinfo' extension
gcc -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c /home/stablediffusion/butterflow/butterflow/avinfo.c -o build/temp.linux-x86_64-2.7/home/stablediffusion/butterflow/butterflow/avinfo.o -std=c11 -Wno-unused-variable -Wno-unused-function -Wno-cpp
/home/stablediffusion/butterflow/butterflow/avinfo.c: In function ‘get_av_info’:
/home/stablediffusion/butterflow/butterflow/avinfo.c:32:5: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
32 | av_register_all();
| ^~~~~~~~~~~~~~~
/home/stablediffusion/butterflow/butterflow/avinfo.c:103:72: error: ‘AVStream’ has no member named ‘codec’
103 | AVCodecContext *v_codec_ctx = format_ctx->streams[v_stream_idx]->codec;
| ^~
error: command 'gcc' failed with exit status 1
This is ffmpeg 5.0.2.
(Another minor issue came up in that it was looking for its include directories in <dirname/filename.h> but on my system they're in <ffmpeg/dirname/filename.h>... easily fixed by symlinks)
The text was updated successfully, but these errors were encountered:
enn-nafnlaus
changed the title
No longer builds on new versions of ffmpeg.
No longer builds on new versions of ffmpeg: 'AVStream' has no member 'codec'
Feb 28, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
running install_lib
running build_py
running build_ext
building 'butterflow.avinfo' extension
gcc -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c /home/stablediffusion/butterflow/butterflow/avinfo.c -o build/temp.linux-x86_64-2.7/home/stablediffusion/butterflow/butterflow/avinfo.o -std=c11 -Wno-unused-variable -Wno-unused-function -Wno-cpp
/home/stablediffusion/butterflow/butterflow/avinfo.c: In function ‘get_av_info’:
/home/stablediffusion/butterflow/butterflow/avinfo.c:32:5: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration]
32 | av_register_all();
| ^~~~~~~~~~~~~~~
/home/stablediffusion/butterflow/butterflow/avinfo.c:103:72: error: ‘AVStream’ has no member named ‘codec’
103 | AVCodecContext *v_codec_ctx = format_ctx->streams[v_stream_idx]->codec;
| ^~
error: command 'gcc' failed with exit status 1
This is ffmpeg 5.0.2.
(Another minor issue came up in that it was looking for its include directories in <dirname/filename.h> but on my system they're in <ffmpeg/dirname/filename.h>... easily fixed by symlinks)
The text was updated successfully, but these errors were encountered: