Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with ffmpeg 7.0. #300

Open
68foxboris opened this issue Jun 5, 2024 · 1 comment
Open

Compilation error with ffmpeg 7.0. #300

68foxboris opened this issue Jun 5, 2024 · 1 comment

Comments

@68foxboris
Copy link

Compilation error after changing to ffmpeg 7.0:

/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1060:35: error: 'const AVInputFormat' {aka 'const struct AVInputFormat'} has no member named 'read_probe'
1060 | if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
| ^~~~~~~~~~
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1069:37: error: 'const AVInputFormat' {aka 'const struct AVInputFormat'} has no member named 'read_probe'
1069 | if (iformat2 && iformat2->read_probe(&pd) > AVPROBE_SCORE_MAX / 4)
| ^~~~~~~~~~
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp: In member function 'bool ffmpegdirect::FFmpegStream::SeekTime(double, bool, double*)':
/home/foxbob/test1/openpli-oe-core/build/tmp/work/cortexa15hf-neon-vfpv4-oe-linux-gnueabi/kodi-addon-inputstream-ffmpegdirect-omega/21.3.5+git/git/src/stream/FFmpegStream.cpp:1538:38: error: 'const struct AVInputFormat' has no member named 'read_seek'

@phunkyfish
Copy link
Collaborator

phunkyfish commented Jun 5, 2024

Kodi does not support ffmpeg 7 yet. We keep the version's used between ffmpegdirect and Kodi the same. Once kodi upgrades, ffmpegdirect will follow.

You can follow progress on the Kodi upgrade to ffmpeg 7 here: xbmc/xbmc#24972

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants