问题标签 [ffserver]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
2030 浏览

linux - 流式传输时重新加载 ffserver.conf

我想动态更新 ffserver.conf 以向其中添加新的流源。

无论如何在 ffserver 中重新加载 ffserver.conf 而不停止流运行?

0 投票
1 回答
1126 浏览

ffmpeg - 使用 ffserver 错误流式传输 webm-

我已经设置 ffserver 以通过 ffmpeg 从实时 rtsp 提要流式传输 mpeg-ts、flv,但是当我还在配置中包含 webm 格式并尝试在浏览器中播放 webm 文件时,我在日志中收到以下错误

“WebM 仅支持 VP8、VP9 视频和 Vorbis、Opus(实验性,使用 -strict -2)音频和 WebVTT 字幕”

我使用的 ffmpeg 命令是 ffmpeg -i rtsp://192.168.1.1:5543/lowQ.sdp -c copy http://xxx.xxxx.xxxx:8080/feed1.ffm

ffserver 配置为

Feed feed1.ffm 格式 webm NoAudio AVOptionVideo flags +global_header VideoBitRate 500k VideoBufferSize 40 VideoFrameRate 25 VideoCodec libvpx StartSendOnKey Preroll 15

感谢您在这方面的帮助!

0 投票
1 回答
1880 浏览

opencv - 如何将 WebRTC 流式传输到 WebSocket?

您好我想将WebRTC ( MediaStream ) 视频流式传输到WebSocket ( Twisted + Autobahn ) 并处理用于OpenCV对象检测的流并通过FFServer ( FFMPeg )将其发送回客户端?

我尝试只使用 WebRTC、WebSocket 和 OpenCV,但流式传输不是实时的。

0 投票
1 回答
800 浏览

ffmpeg - 在 openshift 中配置 ffmpeg/ffserver

我已经设法在笔记本电脑上设置 ffserver 和流式传输视频。
我怎样才能使用 openshift 做同样的事情。

我想在 openshift 和流视频中安装 ffserver 和 ffmpeg。
谷歌搜索了几个链接似乎没有任何用处。

0 投票
1 回答
946 浏览

ffmpeg - 客户端和ffserver之间的连接超时

我有一个包含一些文件的目录,我循环这些文件并使用ffmpeg将它们流式传输到ffserver,问题是当歌曲结束时,客户端停止接收流。VLC和jwplayer有这个问题 - 我测试过 - (虽然我可以通过添加 repeat: true 选项在 jwplayer 中解决这个问题,但我认为这不是一个好主意)。

我需要的是 ffserver 中的一个选项或一些技巧,它可以保持连接(至少一段时间),这样如果一首歌结束,下一首歌会自动开始(切换歌曲需要 1 秒),也许 ffserver 有超时选项 ?

0 投票
0 回答
1801 浏览

python - 使用opencv捕获网络视频

我正在使用 ffserver 和 ffmpeg 组合来捕获网络摄像头视频并通过我的网络传输。

我想从另一台计算机上使用 opencv 和 python 捕获这个视频。我可以在另一台计算机的浏览器中看到视频 (cam1.asf)。但是我的 opencv + python 代码无法捕获任何帧。

ffserver 的代码

FFmpeg

这个流可以在浏览器中看到

但是用opencv代码

我没有在流中得到任何输出

我的目标是在基站(即连接网络摄像头的位置)和网络位置处理网络摄像头视频

0 投票
1 回答
293 浏览

linux - 使用特定的配置文件从多个中杀死一个 ffserver 实例

我有两个 ffserver 实例,它们都使用保存在不同路径的不同配置文件运行。我想用脚本杀死其中一个。当我写以下命令时:

它给出输出:

现在我只想杀一个。有什么方法可以使用命令名杀死,就像我可以用 kill 给出命令名

请告诉我如何做到这一点,因为简单的 pkill 不起作用。

0 投票
2 回答
7701 浏览

video - ffmpeg 2.4.2 concatenate mp4 files

I am trying to concatenate some mp4 files one after another. I execute the following:

But always get the message "[mov,mp4,m4a,3gp,3g2,mj2 @ 0x148d420] Found duplicated MOOV Atom. Skipped it"

Here is the output:

As result I have output file, which contains the 1.mp4 only.

I heard about mp4 can not be concatenated without re-encoding. But actually I have this problem (Found duplicated MOOV Atom) for any format, which I tried (ts, mpg and etc.).

Please let me know what is wrong here. Because it seems like nobody has the same problem as me.

Thanks in advance.

0 投票
0 回答
4097 浏览

html - ffmpeg/ffserver 的 Webm 流问题

我正在尝试在浏览器中播放来自 ip camera 的流。我为此使用 ffmpeg 和 ffserver 堆栈(均为 2.4.2)。

现在我可以使用 Flash 在浏览器中轻松播放视频流。但我希望能够在原生 html5 播放器中播放它。我需要 webm 格式来做到这一点。

ffserver 配置片段:

我执行此命令以从相机获取流并通过 ffserver 将其传递给客户端:

但是得到“Broken pipe”错误消息(完整的ffmeg输出):

如果我在没有 -f webm 的情况下运行相同的命令,我不会收到任何错误,并且看起来可以正常工作。但在这种情况下,我无法在浏览器(例如 Chrome)中播放它。

有人知道如何解决“断管问题”吗?很高兴得到您的任何帮助或建议。提前致谢。

0 投票
1 回答
1268 浏览

stream - ffserver streams webm data, but nothing is displayed

I'm trying to stream webcam data over the internet on a lubuntu machine. To achieve this, I've installed ffmpeg and ffserver. However, I can't seem to get this to work. I would like to use the webm format to integrate it as an HTML5 video. I found several examples of this on the internet, so that is where I based my settings on. This is the ffserver config I have at the moment:

I put the FPS at 2 seconds, pretty much the maximum the computer I'm using can achieve is 4 for some reason. I then start ffmpeg with the following command:

The input is a standard UVC webcam that wprks properly (tested with cheese), ffmpeg seems to work (setting a file as ouput works properly) and the link to ffserver seems to work, the two programs regocnize each other. If an application requests the ffserver stream, it does receive data. wget for example results in a file of the size you would expect with the given bitrate. However, opening the stream in a webpage does not work. I tried it in two ways: simply browsing to the webm link. firefox indicates it's receiving some data, but nothing is displayed. ffserver also indicates that a normal amount of data is transferred. The second option I tried was webpage with video tags for the video stream:

but this works neither. Who has any idea where I went wrong?