2023-01-26, 23:20
Hi,
I'm looking through the code to handle an STRM and am ending up in CUrlFile.cpp
Am i correct in assuming that KODI handled http/https url's through Curl?
I'm guessing that the (buffer)data it gets through curl is then passed onto ffmpeg, right?
I'm curious what the technical reason is for this approach - if my assumptions are correct! - as ffmpeg can handle URLs perfectly fine too.
And with that i'm curious if a patch would be considered that rewrites the CurlFile to be handled through ffmpeg instead?
The core reason i'm asking this is because i want to add IPFS support to KODI. This support landed in ffmpeg 5.1.
My thinking is that adding "ipfs://bafybeigagd5nmnn2iys2f3doro7ydrevyr2mzarwidgadawmamiteydbzi" to a .strm file should happily play that data from the IPFS network (this particular example is big buck bunny).
Looking forward to your thoughts!
I'm looking through the code to handle an STRM and am ending up in CUrlFile.cpp
Am i correct in assuming that KODI handled http/https url's through Curl?
I'm guessing that the (buffer)data it gets through curl is then passed onto ffmpeg, right?
I'm curious what the technical reason is for this approach - if my assumptions are correct! - as ffmpeg can handle URLs perfectly fine too.
And with that i'm curious if a patch would be considered that rewrites the CurlFile to be handled through ffmpeg instead?
The core reason i'm asking this is because i want to add IPFS support to KODI. This support landed in ffmpeg 5.1.
My thinking is that adding "ipfs://bafybeigagd5nmnn2iys2f3doro7ydrevyr2mzarwidgadawmamiteydbzi" to a .strm file should happily play that data from the IPFS network (this particular example is big buck bunny).
Looking forward to your thoughts!