如何在 Windows 上使用 ffserver 进行简单的视频流?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2679569/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 07:16:51  来源:igfitidea点击:

How to do Simple video streaming with ffserver on windows?

windowsvideostreamingwebcamffserver

提问by Rella

I found a tutorial for configuring server here http://www.organicdesign.co.nz/Simple_video_streaming_with_ffserver

我在这里找到了配置服务器的教程http://www.organicdesign.co.nz/Simple_video_streaming_with_ffserver

but it is for linux... how to do such thing on windows? (with a real web cam)

但它适用于 linux ......如何在 Windows 上做这样的事情?(使用真正的网络摄像头)

回答by teecee

Dont think ffserver exists on windows, my suggestion is to set up a linux box(ubuntu?) and play with ffserver there :)

不要认为 ffserver 存在于 Windows 上,我的建议是设置一个 linux box(ubuntu?)并在那里玩 ffserver :)

回答by StefanNch

Although, I too have read, in older posts, that builds for Windows are non-existing, this morning I found (not me, but google) this blog: https://www.virag.si/2012/11/streaming-live-webm-video-with-ffmpeg/

虽然,我也读过,在较早的帖子中,Windows 版本不存在,但今天早上我发现(不是我,而是谷歌)这个博客:https: //www.virag.si/2012/11/streaming- live-webm-video-with-ffmpeg/

Comes with a small guide also!

还附送小指南!

But as an alternative to ffserver, I would recommend rtmplite(you need python, but is extremely easy to use - at least in dev), or if you have java experience and alot of patience and time, red5!

但是作为 ffserver 的替代方案,我会推荐rtmlite(您需要 python,但它非常易于使用 - 至少在开发中),或者如果您有 Java 经验并且有很多耐心和时间,那么red5

回答by matt serio

download and install ICECAST server. It works for windows and ffmpeg and lets you live stream a video in mp4 and webm which you can publish and showcase online with html and php. Its the easiest way. I wish someone had told me this but I had to figure this out, thru trial and error. If this doesn't work for you type live stream server software on google search engine. http://icecast.org/code that should configure it with ffmpeg https://www.ffmpeg.org/doxygen/2.4/icecast_8c_source.html. ffserver does no work for windows and its a huge waste of time.

下载并安装ICECAST服务器。它适用于 windows 和 ffmpeg,让您可以在 mp4 和 webm 中直播视频,您可以使用 html 和 php 在线发布和展示。它的最简单的方法。我希望有人告诉我这个,但我必须通过反复试验来解决这个问题。如果这对您不起作用,请在谷歌搜索引擎上输入实时流服务器软件。 http://icecast.org/应该使用 ffmpeg 配置它的代码https://www.ffmpeg.org/doxygen/2.4/icecast_8c_source.html。ffserver 对 Windows 不起作用,而且浪费了大量时间。