[FFmpeg-user] ffmpeg to stream webcam to http:// and file?

Moritz Barsnick barsnick at gmx.net
Tue Dec 5 22:37:40 EET 2017


On Wed, Dec 06, 2017 at 06:40:12 +1100, Alec Taylor wrote:
> As for the ffserver.conf; I am using an unaltered
> http://ffmpeg.org/sample.html
> 
> $ ffmpeg -f avfoundation -framerate 30 -i "FaceTime HD Camera":"Built-in
> Microphone" http://0.0.0.0:8090/stream0.webm

Oh, then you actually need to read the ffserver documentation and
browse through the config file.

As the sample config file tells you:

# You must use 'ffmpeg' to send a live feed to ffserver. In this
# example, you can type:
#
# ffmpeg http://localhost:8090/feed1.ffm

Change your ffmpeg URL to .../feed1.ffm, with the path part reflecting
this entry:
<Feed feed1.ffm>

Apart from that, the sample config file isn't configured for webm.

Moritz


More information about the ffmpeg-user mailing list