This module works perfectly when files are available for anonymous users, but when a file is protected (via the private file system), "php_ffmpeg" and "php_ffmpeg_probe" don't work as they supposed to because the binaries are executed as an anonymous user.

Any thoughts on how we can fix this? Maybe implement an access hook that allows private files to be accessed via CLI as anonymous user?

Comments

robin.ingelbrecht created an issue. See original summary.

pbuyle’s picture

The module only expose an existing library as Drupal service. I assume you are having issue because your are using files URL instead of local file path. While ffmpeg is capable to handle remote file in HTTP, using the path to local files should solve the issue.

robin.ingelbrecht’s picture

Haven't thought about that. Thanks

mhavelant’s picture

Status: Active » Closed (works as designed)

Feel free to re-open, if some additional work is needed here.