Compatibility Issues: Hosting My CapCut Website on openSUSE Server

Hi everyone,

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:

  1. 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?
  1. 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?
  1. 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?
  1. 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!

Thanks in advance.

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.

Does it work after

setenforce permissive

?

Thanks for your response!

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?

Appreciate your insights!

– using Tumbleweed?

IMHO storing data on BTRFS is a bad idea.

I disagree here. Huge data hoarders use it, filling petabytes of storage with data on btrfs … just saying.

A couple of things:

  • 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