Posts: 69
Joined: Apr 2018
Reputation:
5
Looking for some advice. Compiled manually successfully. But when it tries to start it errors with "could not find suitable input format: image/jpg". The code in KODI there uses ffmpeg, and I've confirmed that the ffmpeg package is built and installed with the correct demuxer to support jpeg pipe.
Interestingly, these same build flags for both KODI and ffmpeg work perfect together without an issue on the buildroot toolchain.
Can someone offer some suggestions?
Posts: 69
Joined: Apr 2018
Reputation:
5
Thanks! I can confirm Ffmpeg has enable-mjpeg in its flags.
When I'm back at the build env i will grab the log and pastebin it.
To enable the "debug" part of the log, can I just execute with --debug or do I need to update an XML settings file somewhere before running? Obviously I can't use the GUI to enable it, since it won't start. Or is the normal log sufficient, since it shows the image format error.
Posts: 23,313
Joined: Aug 2011
Reputation:
1,078
fritsch
Team-Kodi Developer
Posts: 23,313
Just post how you build kodi - one will see the issue right away.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,313
Joined: Aug 2011
Reputation:
1,078
fritsch
Team-Kodi Developer
Posts: 23,313
Reason is clear.
You build against a non supported old ffmpeg version that is not supported by kodi anymore. Means all the earlier register_all() calls are not there anymore.
For v18 use ffmpeg 4.0.x
For v17 use ffmpeg 3.1
everything else is unsupported.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 69
Joined: Apr 2018
Reputation:
5
I'm not sure where it's finding that version it lists in the log, because I'm compiling version 4.0.1 of ffmpeg. Again, same source and same flags work together on buildroot toolchain. Hmm I've never installed the older ffmpeg version the log shows. Where's it looking that up? I've checked and there is no ffmpeg Debian package installed.
Posts: 23,313
Joined: Aug 2011
Reputation:
1,078
fritsch
Team-Kodi Developer
Posts: 23,313
Whatever you do - the log above is clear.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 69
Joined: Apr 2018
Reputation:
5
So I looked it up myself. Looks like application.cpp calls "av_version_info". So clearly there's another ffmpeg version buried somewhere in my Debian install, even if ffmpeg was installed over it. I'll do some more digging and see what I can find.
Posts: 7,650
Joined: Jun 2011
Reputation:
287
if it still happens, provide the cmake configure stage output and CMakeCache.txt