2021-10-01, 15:39
Hello,
i would like to use ffmpeg/ffprobe in order to get video information such as codec and resolution. Video file could be a remote http url or a local file.
I tried to use ffmpeg with subprocess but on Android 10+ it is not possibile because of "permission denied" .
So I'm trying to compile package named "PyAV" with cython, that has ffmpeg C functions binding. In this case, I think, ffmpeg will be executed inside python process so Android should not block my script.
Unfortunately, after compiling package for arm7 and trying to import package in my addon, it has not correctly imported. No errors, but none of module's function are available
I wander is it possibile to import a compiled module in kodi addon?
How can I correctly compile my package in order to use it in my addon?
thanks in advance
i would like to use ffmpeg/ffprobe in order to get video information such as codec and resolution. Video file could be a remote http url or a local file.
I tried to use ffmpeg with subprocess but on Android 10+ it is not possibile because of "permission denied" .
So I'm trying to compile package named "PyAV" with cython, that has ffmpeg C functions binding. In this case, I think, ffmpeg will be executed inside python process so Android should not block my script.
Unfortunately, after compiling package for arm7 and trying to import package in my addon, it has not correctly imported. No errors, but none of module's function are available
I wander is it possibile to import a compiled module in kodi addon?
How can I correctly compile my package in order to use it in my addon?
thanks in advance