python-3.x - 即使安装 ffmpeg 也找不到 FFserver 命令

标签 python-3.x ffmpeg computer-vision ffserver

我按照说明安装 ffmpeg (https://github.com/udacity/nd131-openvino-fundamentals-project-starter/blob/master/linux-setup.md)

sudo apt install ffmpeg
但是,它不会一起安装ffserver,而应该是在互联网上搜索之后。
下面是我的系统配置
Ubuntu 18.04
Python3.7 
ffmpeg 4.2.2
我要执行的命令
sudo ffserver -f ./ffmpeg/server.conf
预期的
ffserver version x.x.x.x.....
当前结果
ffserver command not found
谢谢

最佳答案

FFmpeg 的 FFServer 功能已从主版本中删除。
您必须启动旧版本的 FFmpeg 并安装它。
以下是一些说明:
https://superuser.com/questions/1296377/why-am-i-getting-an-unable-to-find-a-suitable-output-format-for-http-localho/1297419#1297419
此外,如果您使用 Docker,则可以使用此版本的 Alpine 发行版。 ffmpeg 的 apk 版本有点旧,所以使用下面的 Dockerfile 实际上安装了一个具有 ffserver 的 ffmpeg 版本。

FROM alpine:3.8
RUN apk add curl bash ffmpeg && \
    rm -rf /var/cache/apk/*

COPY ffserver.conf /etc/ffserver.conf

ENTRYPOINT [ "ffserver" ]

关于python-3.x - 即使安装 ffmpeg 也找不到 FFserver 命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62483509/

相关文章:

python-3.x - 如何安装并运行openpose?

python - CNN 使用具有显着尺寸差异的图像

python-3.x - 如何使用 TF-IDF 向量选择前 1000 个单词?

python - python turtle 中的逻辑错误

python - 在 Python 上编写计算器

ubuntu - ffmpeg avcodec_open2() 仅在 ubuntu 中返回错误 -22

python - 以 plotly 更新特定的子图轴

javascript - 当我尝试播放 Music Discord Bot 时,它不播放音乐

ffmpeg - 无法解析变量PIX_FMT_RGB24,ffmpeg源码安装最新版本

c++ - 计算二维平面上单应性的精度