FastFlix
FastFlix copied to clipboard
[REQ] Haiku port
Since FF is already available for Windows, Linux and MacOS it would be interesting to have a port for the open source Haiku OS (aka the Media OS) too.
I am aware that it is certainly not a priority, but in my opinion it would be a good opportunity for "get a foot in the door" into a growing community.
Hope that inspires !
Interesting OS, have not heard of it.
Downloaded it today and trying it to see what can be installed / built on it.
Requirements for running:
- [ ] FFmpeg 4.3+
- [X] Python 3.8+
- [X] Support for packages: appdirs, colorama, coloredlogs, iso639-lang, mistune, pydantic, python-box, qtpy, requests, reusables, ruamel.yaml
- [ ] Support for PyQT5
- [ ] Support for psutil
Requirement for static build:
I only seen Python 2.7 in their package manager (really??) and FFmpeg says it's installed (4.2), but can't seem to run it from command line?
So first looks I don't have high hopes it will be something reasonable soon
Let's open an "help req 3ad" @ Haiku forum (it may help both projects evolve) !
https://discuss.haiku-os.org/t/help-req-fastflix-porting-issues/10275
I only seen Python 2.7 in their package manager (really??) and FFmpeg says it's installed (4.2), but can't seem to run it from command line?
FFmpeg CLI tools may be in a _tools subpackage. We definitely have Python 3... You may want to try an x86_64 build if you are on a 32-bit one, as there are more packages available there, anyway.
@waddlesplash thanks for the fast reply!
I think the problem was that I didn't do a update before searching pkgman for python.
Looks like the hard blocker right now is PyQT5 does not look to build (will try to get dump off the VM). psutil is also not supported, but that is something possible to code around by disabling a few options.
How would you run said _tools ffmpeg subpackage?
You just install it, and then the ffmpeg command et al. should be available. We already have pyqt and pyqt_python3 in the package repositories, you should just be able to install them.
not sure what I'm missing
That is very nice you guys already have so much included btw! I just seem to be unlucky that need the bindings for Python3.8 or 3.9 and looks to only include for 2.7 or 3.7
However after installing those as well as qt_devel it looks to be building now, but has been taking half an hour at least, so hopefully works just takes a while.
Try pkgman install cmd:ffmpeg, this will locate the correct package automatically (probably ffmpeg_tools) and ask to install it.
3.8 is not compatible with 3.7, and most Python applications are not all updated for 3.8+ support, so we are still on 3.7.
pkgman install cmd:ffmpeg did fix it!
I would ague the point about Python not being updated, as now that it's a yearly release and forwards code compatible there is very few things not automatically supported with newest versions. Generally only those with external dependencies that need custom builds, like PyQT5 sadly. It finally did error out again trying to build.
When I have some free time I will look at the effort needed to revert the code back to 3.7 compatibility for testing and seeing how that works on Haiku. Thanks again for all the help!