xbmc / inputstream.ffmpegdirect

Supports streams opened by FFmpeg's libavformat or Kodi's cURL such as plain TS, HLS and DASH (non-DRM) as well as many others. There is support for Archive/Catchup services where there is a replay window and can timeshift across that span. Also provides timeshift for live streams where rewind/pause and fast-forward would not have been available.
GNU General Public License v2.0
57 stars 40 forks source link

Compilation error with ffmpeg 7.0. #300

Open 68foxboris opened 4 weeks ago

68foxboris commented 4 weeks ago

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 commented 4 weeks ago

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: https://github.com/xbmc/xbmc/pull/24972