I run a website focused on CapCut templates, video editing tutorials, and resources. Recently, I migrated my website to a self-hosted openSUSE server, but I’m facing several technical issues:
FFmpeg Integration for Video Processing
My site relies on FFmpeg for processing CapCut template previews, but I’m running into codec compatibility issues on openSUSE. Are there specific FFmpeg packages or configurations I should use?
Performance Issues with Nginx & PHP
The site is built with PHP and served via Nginx. Since moving to openSUSE, I’ve noticed slow response times when loading video-heavy pages. Could there be a missing optimization for handling media files?
File Permission Problems with CapCut Template Uploads
Users can upload CapCut project files (.capcut, .mp4, .json), but some uploads fail due to permission errors. What’s the best way to configure user/group permissions to avoid this?
Potential Firewall & SELinux Conflicts
Some API calls used for fetching CapCut-related resources fail intermittently. I suspect firewall or SELinux policies are blocking requests. Any recommendations for debugging and resolving this?
I’d appreciate any advice from fellow openSUSE users who have dealt with similar hosting challenges!
I do not know anything about this particular application you use. But
Normally any codecs problems on openSUSE are solved when one does the vendor switch to the Pcakman repo. Is that done on your system?
"Some"is not very enlightening on what the problem might be. But I assume that the files are stored by the web-server software and thus the user that owns the process (with Apache it is e.g. wwwrun) decides what is allowed by the settiings (user:group and permissions) of the place to store it. So check that and see if they differ for the different uploads.
I haven’t done the vendor switch to the Packman repo yet. I’ll give that a try and see if it resolves the codec issues with FFmpeg. Are there any specific commands or steps you recommend to ensure a smooth transition?
Regarding file permissions, my web server (Nginx) runs under the www-data user. I’ve set up the upload directory with www-data:www-data ownership and 755 permissions, but some CapCut project files still fail to upload. Could there be additional SELinux/AppArmor policies that might be interfering with file writes? If so, what’s the best way to check and adjust those on openSUSE?
Switching vendor to Packman? In your case yes, since you apparently have material that cannot do without
Is the 264 repo installed and active?
Re. performance: have a look at php8-fpm. That should improve things on your site. There are numerous sites with instructions for it, there might even be one focussed on optimizing your usecase