inputstream.ffmpegdirect icon indicating copy to clipboard operation
inputstream.ffmpegdirect copied to clipboard

Can't compile addon - for 21.1.0-Omega

Open Freeboiing opened this issue 1 year ago • 8 comments

I am following the process in readme page and it worked like a cham for pvr , rtmp ... but I fail with ffmpegdirect.

I type the command: inputstream.ffmpegdirect/build$ cmake -DADDONS_TO_BUILD=inputstream.ffmpegdirect -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/build/addons -DPACKAGE_ZIP=1 ../../kodi/cmake/addons/

and get the cmake error : CMake Error at CMakeLists.txt:510 (message): inputstream.ffmpegdirect did not match any of the supported addons. A list of supported addons can be viewed by building the 'supported_addons' target. Addon definitions are loaded from ADDONS_DEFINITION_DIR (/home/tpgre/.kodi/kodibuild/kodi/cmake/addons/addons).

I would be glad if I could get some help to sort out this.

Freeboiing avatar Dec 23 '24 16:12 Freeboiing

Are you using the Omega branch ffmpegdirect?

You don’t mention what platform you are building on?

phunkyfish avatar Dec 23 '24 19:12 phunkyfish

I am building for debian - bookworm, from Github sources. Kodi compiles well, inputstream.rtmp, inputstrea.adaptative, also git checkout 21.1.0-omega ....

inputstream.ffmpegdirect/build$ git branch

  • (HEAD detached at 21.1.0-Omega) Piers

Freeboiing avatar Dec 23 '24 19:12 Freeboiing

I don’t think you need to build for Debian, that should be available.

@basilgello can advise.

phunkyfish avatar Dec 23 '24 21:12 phunkyfish

I have an issue with the KODI package in debian, It just doen't connect to my iptv provider. VLC connects very well with the credentials.

So I tried my own way and It got no cnxion to the provider. If i do not succeed, I may be consider something else.

Freeboiing avatar Dec 23 '24 22:12 Freeboiing

Try setting the user agent to vlc or a browser user agent in the addon settings

phunkyfish avatar Dec 23 '24 23:12 phunkyfish

@Freeboiing Please enable debug logging and paste the redacted Kodi log of the failing playback attempt to to https://paste.kodi.tv Also paste verbose VLC log. I think phunkyfish is right about headers / cookies

basilgello avatar Dec 24 '24 06:12 basilgello

vlc logs

VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8) [000055d43c81a790] main libvlc debug: VLC media player - 3.0.21 Vetinari [000055d43c81a790] main libvlc debug: Copyright © 1996-2024 the VideoLAN team [000055d43c81a790] main libvlc debug: revision 3.0.21-0-gdd8bfdbabe8 [000055d43c81a790] main libvlc debug: configured with ./configure '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-option-checking' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--runstatedir=/run' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-debug' '--config-cache' '--disable-update-check' '--enable-fast-install' '--docdir=/usr/share/doc/vlc' '--with-binary-version=3.0.21-0+deb12u1' '--enable-a52' '--enable-aa' '--enable-aribsub' '--enable-avahi' '--enable-bluray' '--enable-caca' '--enable-chromaprint' '--enable-chromecast' '--enable-dav1d' '--enable-dbus' '--enable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gles2' '--enable-gnutls' '--enable-harfbuzz' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-mad' '--enable-matroska' '--enable-mod' '--enable-mpc' '--enable-mpg123' '--enable-mtp' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-sdl-image' '--enable-sftp' '--enable-shine' '--enable-shout' '--enable-skins2' '--enable-soxr' '--enable-spatialaudio' '--enable-speex' '--enable-srt' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vdpau' '--enable-vnc' '--enable-vorbis' '--enable-x264' '--enable-x265' '--enable-zvbi' '--with-kde-solid=/usr/share/solid/actions/' '--disable-aom' '--disable-crystalhd' '--disable-d3d11va' '--disable-decklink' '--disable-directx' '--disable-dsm' '--disable-dxva2' '--disable-fdkaac' '--disable-fluidlite' '--disable-freerdp' '--disable-goom' '--disable-gst-decode' '--disable-libtar' '--disable-live555' '--disable-macosx' '--disable-macosx-avfoundation' '--disable-macosx-qtkit' '--disable-mfx' '--disable-microdns' '--disable-opencv' '--disable-projectm' '--disable-schroedinger' '--disable-sndio' '--disable-sparkle' '--disable-telx' '--disable-vpx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-dc1394' '--enable-dv1394' '--enable-libplacebo' '--enable-linsys' '--enable-nfs' '--enable-udev' '--enable-v4l2' '--enable-wayland' '--enable-vcd' '--enable-smbclient' '--disable-oss' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' '--disable-omxil' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/vlc-3.0.21=. -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/vlc-3.0.21=. -fstack-protector-strong -Wformat -Werror=format-security ' 'OBJCFLAGS=-g -O2 -ffile-prefix-map=/build/reproducible-path/vlc-3.0.21=. -fstack-protector-strong -Wformat -Werror=format-security' [000055d43c81a790] main libvlc debug: searching plug-in modules [000055d43c81a790] main libvlc debug: loading plugins cache file /usr/lib/x86_64-linux-gnu/vlc/plugins/plugins.dat [000055d43c81a790] main libvlc debug: recursively browsing /usr/lib/x86_64-linux-gnu/vlc/plugins' [000055d43c81a790] main libvlc debug: plug-ins loaded: 519 modules [000055d43c81a790] main libvlc debug: opening config file (/home/tpgre/.config/vlc/vlcrc) [000055d43c81aa20] main logger debug: looking for logger module matching "any": 4 candidates [000055d43c81aa20] main logger debug: using logger module "console" [000055d43c81a790] main libvlc debug: translation test: code is "C" [000055d43c8b4210] main keystore debug: looking for keystore module matching "memory": 4 candidates [000055d43c8b4210] main keystore debug: using keystore module "memory" [000055d43c81a790] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 SSE4A AVX AVX2 FPU [000055d43c8b91b0] main input debug: Creating an input for 'Media Library' [000055d43c8b91b0] main input debug: Input is a meta file: disabling unneeded options [000055d43c8b91b0] main input debug: using timeshift granularity of 50 MiB [000055d43c8b91b0] main input debug: using default timeshift path [000055d43c8b91b0] main input debug: file/directory:///home/tpgre/.local/share/vlc/ml.xspf' gives access file' demux directory' path /home/tpgre/.local/share/vlc/ml.xspf' [000055d43c8b4540] main input source debug: creating demux: access='file' demux='directory' location='/home/tpgre/.local/share/vlc/ml.xspf' file='/home/tpgre/.local/share/vlc/ml.xspf' [000055d43c8b4990] main demux debug: looking for access_demux module matching "file": 18 candidates [000055d43c8b4990] main demux debug: no access_demux modules matched [000055d43c8de290] main stream debug: creating access: file:///home/tpgre/.local/share/vlc/ml.xspf [000055d43c8de290] main stream debug: (path: /home/tpgre/.local/share/vlc/ml.xspf) [000055d43c8de290] main stream debug: looking for access module matching "file": 30 candidates [000055d43c8de290] main stream debug: using access module "filesystem" [000055d43c8df3c0] main stream debug: looking for stream_filter module matching "prefetch,cache_read": 26 candidates [000055d43c8df3c0] cache_read stream debug: Using stream method for AStream* [000055d43c8df3c0] cache_read stream debug: starting pre-buffering [000055d43c8df3c0] cache_read stream debug: received first data after 0 ms [000055d43c8df3c0] cache_read stream debug: pre-buffering done 296 bytes in 0s - 15213 KiB/s [000055d43c8df3c0] main stream debug: using stream_filter module "cache_read" [000055d43c8e04a0] main stream debug: looking for stream_filter module matching "any": 26 candidates [000055d43c8e04a0] playlist stream debug: using XSPF playlist reader [000055d43c8e04a0] main stream debug: using stream_filter module "playlist" [000055d43c8e04a0] main stream debug: stream filter added to 0x55d43c8df3c0 [000055d43c8e3ab0] main stream debug: looking for stream_filter module matching "any": 26 candidates [000055d43c8e3ab0] main stream debug: no stream_filter modules matched [000055d43c8bc180] main stream_directory debug: looking for stream_directory module matching "any": 1 candidates [000055d43c8bc180] main stream_directory debug: no stream_directory modules matched [000055d43c8b4540] main input source debug: attachment of directory-extractor failed for file:///home/tpgre/.local/share/vlc/ml.xspf [000055d43c8e3ab0] main stream debug: looking for stream_filter module matching "record": 26 candidates [000055d43c8e3ab0] main stream debug: using stream_filter module "record" [000055d43c8b4540] main input source debug: creating demux: access='file' demux='directory' location='/home/tpgre/.local/share/vlc/ml.xspf' file='/home/tpgre/.local/share/vlc/ml.xspf' [000055d43c8b4990] main demux debug: looking for demux module matching "directory": 54 candidates [000055d43c8b4990] main demux debug: using demux module "directory" [000055d43c8b4020] main demux meta debug: looking for meta reader module matching "any": 2 candidates [000055d43c8b4020] lua demux meta debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/meta/reader [000055d43c8b4020] lua demux meta debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader [000055d43c8b4020] lua demux meta debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/reader/filename.luac [000055d43c8b4020] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [000055d43c8b4020] main demux meta debug: no meta reader modules matched [000055d43c8b91b0] main input debug: file/directory:///home/tpgre/.local/share/vlc/ml.xspf' successfully opened [000055d43c8f32f0] main xml reader debug: looking for xml reader module matching "any": 1 candidates [000055d43c8f32f0] main xml reader debug: using xml reader module "xml" [000055d43c8b91b0] main input debug: EOF reached [000055d43c8b4990] main demux debug: removing module "directory" [000055d43c8e3ab0] main stream debug: removing module "record" [000055d43c8e04a0] main stream debug: removing module "playlist" [000055d43c8df3c0] main stream debug: removing module "cache_read" [000055d43c8de290] main stream debug: removing module "filesystem" [000055d43c8b69e0] main playlist debug: creating audio output [000055d43c8ec0a0] main audio output debug: looking for audio output module matching "any": 5 candidates [000055d43c8ec0a0] vlcpulse audio output debug: using library version 16.1.0 [000055d43c8ec0a0] vlcpulse audio output debug: (compiled with version 16.1.0, protocol 35) [000055d43c8ec0a0] vlcpulse audio output debug: connected locally to /run/user/1000/pulse/native as client #231 [000055d43c8ec0a0] vlcpulse audio output debug: using protocol 35, server protocol 35 [000055d43c8ec0a0] pulse audio output debug: adding sink 50: alsa_output.pci-0000_06_00.6.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo) [000055d43c8ec0a0] main audio output debug: using audio output module "pulse" [000055d43c8b69e0] main playlist debug: keeping audio output [000055d43c8bdef0] main interface debug: looking for interface module matching "dbus,none": 19 candidates [000055d43c8bdef0] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc [000055d43c8bdef0] main interface debug: using interface module "dbus" [000055d43c8bb8b0] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates [000055d43c8bb8b0] main interface debug: using interface module "hotkeys" [000055d43c9013d0] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [000055d43c8bdef0] dbus interface debug: Getting All properties [000055d43c9013d0] main interface debug: using interface module "xcb_hotkeys" [000055d43c81a790] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [000055d43c9025c0] main interface debug: looking for interface module matching "any": 19 candidates [000055d43c8bdef0] dbus interface debug: Getting All properties [000055d43c8bdef0] dbus interface debug: Getting All properties [000055d43c8bdef0] dbus interface debug: Getting property CanSeek

(process:12418): Gtk-WARNING **: 15:40:29.681: Locale not supported by C library. Using the fallback 'C' locale. [00007f282c630180] main generic debug: looking for extension module matching "any": 1 candidates [00007f282c630180] lua generic debug: Opening Lua Extension module [00007f282c630180] lua generic debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/extensions [00007f282c630180] lua generic debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/extensions [00007f282c630180] lua generic debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac [00007f282c630180] lua generic debug: Scanning Lua script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac [00007f282c630180] lua generic debug: Script /usr/lib/x86_64-linux-gnu/vlc/lua/extensions/VLSub.luac has the following capability flags: 0x5 [00007f282c630180] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [00007f282c630180] main generic debug: using extension module "lua" [000055d43c9025c0] main interface debug: using interface module "qt" [000055d43c8b69e0] main playlist: playlist is empty [000055d43c8b69e0] main playlist debug: nothing to play [000055d43c8b69e0] main playlist debug: processing request item: get.php?username=userY&password=pass&output=ts&type=m3u_plus, node: Playlist, skip: 0 [000055d43c8b69e0] main playlist debug: rebuilding array of current - root Playlist [000055d43c8b69e0] main playlist debug: rebuild done - 1 items, index 0 [000055d43c8b69e0] main playlist debug: starting playback of new item [000055d43c8b69e0] main playlist debug: resyncing on get.php?username=userY&password=pass&output=ts&type=m3u_plus [000055d43c8b69e0] main playlist debug: get.php?username=userY&password=pass&output=ts&type=m3u_plus is at 0 [000055d43c8b69e0] main playlist debug: creating new input thread [00007f27f0000c90] main input debug: Creating an input for 'get.php?username=userY&password=pass&output=ts&type=m3u_plus' [000055d43c8b69e0] main playlist debug: requesting art for new input thread [00007f27f0000c90] main input debug: using timeshift granularity of 50 MiB [00007f27f0000c90] main input debug: using default timeshift path [00007f27f0000c90] main input debug: http://***provider***/get.php?username=***user***Y&password=***pass***&output=ts&type=m3u_plus' gives access http' demux any' path provider/get.php?username=userY&password=pass&output=ts&type=m3u_plus' [00007f27e8000fb0] main input source debug: creating demux: access='http' demux='any' location='provider/get.php?username=userY&password=pass&output=ts&type=m3u_plus' file='(null)' [00007f27e8001180] main demux debug: looking for access_demux module matching "http": 18 candidates [00007f27e8001180] main demux debug: no access_demux modules matched [00007f27e8001660] main stream debug: creating access: http://provider/get.php?username=userY&password=pass&output=ts&type=m3u_plus [00007f27e8001660] main stream debug: looking for access module matching "http": 30 candidates [00007f27dc000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f27dc000c30] lua meta fetcher debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/meta/fetcher [00007f27dc000c30] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher [00007f27dc000c30] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f27dc000c30] main meta fetcher debug: no meta fetcher modules matched [00007f27dc000c30] main art finder debug: looking for art finder module matching "any": 2 candidates [000055d43c9025c0] qt interface debug: IM: Setting an input [00007f27dc000c30] lua art finder debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/meta/art [00007f27dc000c30] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art [00007f27dc000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac [00007f27dc000c30] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac [00007f27dc000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac [00007f27dc000c30] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac [00007f27dc000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac [00007f27dc000c30] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac [00007f27dc000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac [00007f27dc000c30] lua art finder debug: skipping script (unmatched scope) /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac [00007f27dc000c30] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f27dc000c30] main art finder debug: no art finder modules matched [00007f27d8000c30] main meta fetcher debug: looking for meta fetcher module matching "any": 1 candidates [00007f27d8000c30] lua meta fetcher debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/meta/fetcher [00007f27d8000c30] lua meta fetcher debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/fetcher [00007f27d8000c30] lua meta fetcher debug: Trying Lua scripts in /usr/share/vlc/lua/meta/fetcher [00007f27d8000c30] main meta fetcher debug: no meta fetcher modules matched [00007f27d8000c30] main art finder debug: looking for art finder module matching "any": 2 candidates [00007f27d8000c30] lua art finder debug: Trying Lua scripts in /home/tpgre/.local/share/vlc/lua/meta/art [00007f27d8000c30] lua art finder debug: Trying Lua scripts in /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art [00007f27d8000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/00_musicbrainz.luac [00007f27d8000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/01_googleimage.luac [00007f27d8000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/02_frenchtv.luac [00007f27d8000c30] lua art finder debug: Trying Lua playlist script /usr/lib/x86_64-linux-gnu/vlc/lua/meta/art/03_lastfm.luac [00007f27d8000c30] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [00007f27d8000c30] main art finder debug: no art finder modules matched [00007f27e8001660] http stream debug: resolving provider ... [00007f27e8001660] http stream debug: outgoing request: GET /get.php?username=userY&password=pass&output=ts&type=m3u_plus HTTP/1.1 Host: provider Accept: / Accept-Language: en_US User-Agent: VLC/3.0.21 LibVLC/3.0.21 Range: bytes=0-

[000055d43c8bdef0] dbus interface debug: Getting property CanSeek [000055d43c8bdef0] dbus interface debug: Getting property Position [000055d43c8bdef0] dbus interface debug: Getting property Position [000055d43c8ec0a0] pulse audio output debug: changing sink 50: alsa_output.pci-0000_06_00.6.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo) [000055d43c8ec0a0] pulse audio output debug: changing sink 50: alsa_output.pci-0000_06_00.6.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo) [000055d43c8ec0a0] pulse audio output debug: changing sink 50: alsa_output.pci-0000_06_00.6.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo) [000055d43c8bdef0] dbus interface debug: Getting property Position [000055d43c8ec0a0] pulse audio output debug: changing sink 50: alsa_output.pci-0000_06_00.6.analog-stereo (Family 17h/19h HD Audio Controller Analog Stereo) [000055d43c8bdef0] dbus interface debug: Getting property Position [000055d43c8bdef0] dbus interface debug: Getting property Position

Freeboiing avatar Dec 24 '24 14:12 Freeboiing

@Freeboiing Please enable debug logging and paste the redacted Kodi log of the failing playback attempt to to https://paste.kodi.tv Also paste verbose VLC log. I think phunkyfish is right about headers / cookies

copied and saved the kodi.log

Freeboiing avatar Dec 24 '24 15:12 Freeboiing

I am having the same issue in 21.3 Omega which I built from source in Ubuntu 24.04.

I need the inputstream.ffmpegdirect addon to install IPTV Manager but I am unable to compile inputstream.ffmpegdirect from source (git clone --branch Omega https://github.com/xbmc/inputstream.ffmpegdirect.git).

When I try to install the IPTV Manager add-on I get: "The dependency on inputstream.ffmpegdirect version 0.0.0 could not be satisfied".

When I try to compile with:

make   -DADDONS_TO_BUILD=inputstream.ffmpegdirect   -DADDON_SRC_PREFIX=../..   -DCMAKE_BUILD_TYPE=Release   -DCMAKE_INSTALL_PREFIX=/opt/kodi   ../../cmake/addons

I get the same error:

CMake Error at CMakeLists.txt:510 (message):
  inputstream.ffmpegdirect did not match any of the supported addons.  A list
  of supported addons can be viewed by building the 'supported_addons'
  target.  Addon definitions are loaded from ADDONS_DEFINITION_DIR
  (/home/kodi/kodi/cmake/addons/addons).

I could successfully compile inputstream.adaptive and the pvr.iptvsimple addons.

CorentinWicht avatar Nov 19 '25 13:11 CorentinWicht