即使安装 ffmpeg 也找不到 FFserver 命令

FFserver command not found even install ffmpeg

我按照说明安装 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 版本有点旧,所以使用下面的 Docker 文件实际上安装了一个带有 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" ]