Skip to content

ffmpeg symlink to rffmpeg fails version test when starting Jellyfin #94

Description

@gotkube

Running Jellyfin 10.10.6.0 on a Slackware system.
Followed the instructions in the SETUP.md file; adjusting for Slackware instead of Debian.
Deviated a bit by using a venv for rffmpeg and a wrapper script (also called rffmpeg) to run rffmpeg via the venv; symlinked ffmpeg and ffprobe to that wrapper script instead of the downloaded Python rffmpeg script. (wanted to use a venv so I can build it into a Slackware package to put on other machines)

I can run rffmpeg via the wrapper script, and used it to call the 'init' command and add hosts. Seems like rffmpeg is working.

When I start Jellyfin, it does an ffmpeg validation check that fails:

[19:26:19] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg validation: The process returned no result
[19:26:19] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Failed version check: /usr/local/bin/ffmpeg
[19:26:19] [ERR] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: Path set by command line or environment variable is invalid
[19:26:19] [FTL] [1] Main: Error while starting server
MediaBrowser.Common.FfmpegException: Failed to find valid ffmpeg

Using the tests mentioned in SETUP.md should be returning an ffmpeg version as if it was ffmpeg itself, but instead it returns:

> /usr/local/bin/ffmpeg -version
Usage: rffmpeg [OPTIONS] COMMAND [ARGS]...
Try 'rffmpeg -h' for help.

Error: No such option: -v

I don't understand why this is failing the version test. Can I not use a venv or wrapper script for rffmpeg?

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions