[GH-ISSUE #122] Missing ffmpeg in docker image #320

Closed
opened 2026-03-15 02:59:45 +03:00 by kerem · 3 comments
Owner

Originally created by @pryg-skok on GitHub (Sep 13, 2017).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/122

Hi,
FFmpeg is missing in Docker image, so query params like ffmpeg=remux is not working here.

Originally created by @pryg-skok on GitHub (Sep 13, 2017). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/122 Hi, FFmpeg is missing in Docker image, so query params like ffmpeg=remux is not working here.
kerem 2026-03-15 02:59:45 +03:00
Author
Owner

@asapach commented on GitHub (Sep 13, 2017):

Yeah, it's an experimental feature, so I didn't think it would make sense to add it to Dockerfile. You can try adding it yourself by following these instructions: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#ffmpeg-and-ffprobe
If that works out, a PR is welcome.

<!-- gh-comment-id:329253824 --> @asapach commented on GitHub (Sep 13, 2017): Yeah, it's an experimental feature, so I didn't think it would make sense to add it to Dockerfile. You can try adding it yourself by following these instructions: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg#ffmpeg-and-ffprobe If that works out, a PR is welcome.
Author
Owner

@pryg-skok commented on GitHub (Sep 14, 2017):

I've created simple PR.

Also it's not clear of how to permanently store torrents.json file from container.
And for now I've solved with couple lines in dockerfile:

RUN mkdir -p  /home/app/.config/peerflix-server && \
    echo "[]" > /home/app/.config/peerflix-server/torrents.json

And container starts with option:
-v /path/to/torrents.json:/home/app/.config/peerflix-server/torrents.json

but maybe there is a better way? Maybe it can be configureable?

<!-- gh-comment-id:329414372 --> @pryg-skok commented on GitHub (Sep 14, 2017): I've created simple PR. Also it's not clear of how to permanently store torrents.json file from container. And for now I've solved with couple lines in dockerfile: ``` RUN mkdir -p /home/app/.config/peerflix-server && \ echo "[]" > /home/app/.config/peerflix-server/torrents.json ``` And container starts with option: `-v /path/to/torrents.json:/home/app/.config/peerflix-server/torrents.json` but maybe there is a better way? Maybe it can be configureable?
Author
Owner

@asapach commented on GitHub (Sep 14, 2017):

Thanks.

I think it would be better to mount /home/app/.config/peerflix-server folder, because it can also have config.json in it:

RUN mkdir -p  /home/app/.config/peerflix-server
 -v /path/to/config:/home/app/.config/peerflix-server

You can send a PR for Docker.md if you want.

How do you suggest making it more configurable?

<!-- gh-comment-id:329433689 --> @asapach commented on GitHub (Sep 14, 2017): Thanks. I think it would be better to mount `/home/app/.config/peerflix-server` folder, because it can also have [`config.json`](https://github.com/asapach/peerflix-server#configuration) in it: ``` RUN mkdir -p /home/app/.config/peerflix-server ``` ``` -v /path/to/config:/home/app/.config/peerflix-server ``` You can send a PR for [`Docker.md`](https://github.com/asapach/peerflix-server/blob/master/Docker.md) if you want. How do you suggest making it more configurable?
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/peerflix-server#320
No description provided.