[Docker] Default ffmpeg path is not being displayed #223

Closed
opened 2025-12-21 16:20:08 +01:00 by backuprepo · 10 comments
Owner

Originally created by @LeoVerto on GitHub (Jan 7, 2019).

When starting jellyfin from docker with an empty config dir the ffmpeg binary path is empty whereas it should default to /usr/bin/ffmpeg.

Originally created by @LeoVerto on GitHub (Jan 7, 2019). When starting jellyfin from docker with an empty config dir the ffmpeg binary path is empty whereas it should default to `/usr/bin/ffmpeg`.
backuprepo 2025-12-21 16:20:08 +01:00
  • closed this issue
  • added the
    bug
    build
    labels
Author
Owner

@sparky8251 commented on GitHub (Jan 7, 2019):

Correct me if I'm wrong but this is just a display bug yes? FFMPEG has worked for me despite that box being empty before.

If so, it might be fixed by #412 and it definitely belongs as part of #122.

@sparky8251 commented on GitHub (Jan 7, 2019): Correct me if I'm wrong but this is just a display bug yes? FFMPEG has worked for me despite that box being empty before. If so, it might be fixed by #412 and it definitely belongs as part of #122.
Author
Owner

@cvium commented on GitHub (Jan 7, 2019):

Where is it shown? If it's Settings -> Transcoding, then it is not fixed by #412. I'm not even sure it's a bug.

@cvium commented on GitHub (Jan 7, 2019): Where is it shown? If it's Settings -> Transcoding, then it is not fixed by #412. I'm not even sure it's a bug.
Author
Owner

@louisefindlay23 commented on GitHub (Jan 13, 2019):

It makes transcoding fail for me until I set it.

@louisefindlay23 commented on GitHub (Jan 13, 2019): It makes transcoding fail for me until I set it.
Author
Owner

@sparky8251 commented on GitHub (Jan 13, 2019):

That's new... Got logs of it failing? Might have to look in docker logs as well as the normal Jellyfin logs.

@sparky8251 commented on GitHub (Jan 13, 2019): That's new... Got logs of it failing? Might have to look in `docker logs` as well as the normal Jellyfin logs.
Author
Owner

@louisefindlay23 commented on GitHub (Jan 13, 2019):

This is the docker logs - not sure where jellyfin logs are -

log.txt

@louisefindlay23 commented on GitHub (Jan 13, 2019): This is the docker logs - not sure where jellyfin logs are - [log.txt](https://github.com/jellyfin/jellyfin/files/2753299/log.txt)
Author
Owner

@hawken93 commented on GitHub (Jan 13, 2019):

For next time, this would be easier to read if attached as a file:)

@hawken93 commented on GitHub (Jan 13, 2019): For next time, this would be easier to read if attached as a file:)
Author
Owner

@andrewrabert commented on GitHub (Jan 13, 2019):

Changed a comment to have the log in an attachment.

@andrewrabert commented on GitHub (Jan 13, 2019): Changed a comment to have the log in an attachment.
Author
Owner

@ploughpuff commented on GitHub (Feb 7, 2019):

Question for UI devs please. Is it possible to write directly into field txtEncoderPath (src/encodingsettings.html, src/scripts/encodingssettings.js) from a method in class MediaEncoder? If so, how please?

I've worked on improving the FFmpeg path discovery and this is the final missing link to resolving this issue. I need to update that input textbox without writing to the config/encoding.xml file. Then we can display the FQPN to the encoder but it wouldn't be remember for next start (unless user clicks save! of course)..

@ploughpuff commented on GitHub (Feb 7, 2019): Question for UI devs please. Is it possible to write directly into field txtEncoderPath (src/encodingsettings.html, src/scripts/encodingssettings.js) from a method in class MediaEncoder? If so, how please? I've worked on improving the FFmpeg path discovery and this is the final missing link to resolving this issue. I need to update that input textbox without writing to the config/encoding.xml file. Then we can display the FQPN to the encoder but it wouldn't be remember for next start (unless user clicks save! of course)..
Author
Owner

@ploughpuff commented on GitHub (Feb 8, 2019):

So writing directly to .txtEncoderPath is a no go, and probably the wrong approach anyway.

What we can do is always write the current FFmpeg path to the xml so it is displayed to the user. That will fix this issue but presents another.. On restart, if CLI switch --ffmpeg is given, or for whatever reason the Custom path becomes unavailable, then the users Custom path in xml would be lost and over-written with a System $PATH. Not ideal, but is solved by creating a new entry in the xml specifically to record the Custom user entered setting. We therefore need two entries in the xml: 1) only gets set from the Transcode page (via user update/submit), 2) String to reflect the current path to FFmpeg being used.

I've put a change-set together and shall raise a PR soon for people to review.

@ploughpuff commented on GitHub (Feb 8, 2019): So writing directly to .txtEncoderPath is a no go, and probably the wrong approach anyway. What we can do is always write the current FFmpeg path to the xml so it is displayed to the user. That will fix this issue but presents another.. On restart, if CLI switch --ffmpeg is given, or for whatever reason the Custom path becomes unavailable, then the users Custom path in xml would be lost and over-written with a System $PATH. Not ideal, but is solved by creating a new entry in the xml specifically to record the Custom user entered setting. We therefore need two entries in the xml: 1) only gets set from the Transcode page (via user update/submit), 2) String to reflect the current path to FFmpeg being used. I've put a change-set together and shall raise a PR soon for people to review.
Author
Owner

@mkeguy106 commented on GitHub (Feb 24, 2019):

Fresh docker install today, first time jellyfin user. Videos wouldn't play. Had to set transcoding ffmpeg path in UI. Its also not located in /usr/bin, but in /usr/local/bin/ffmpeg. Once I set that playback worked just fine.

@mkeguy106 commented on GitHub (Feb 24, 2019): Fresh docker install today, first time jellyfin user. Videos wouldn't play. Had to set transcoding ffmpeg path in UI. Its also not located in /usr/bin, but in /usr/local/bin/ffmpeg. Once I set that playback worked just fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#223
No description provided.