[Libav-user] How to stream via HTTP to some destination receiver?
vtilakece at gmail.com
Wed Nov 19 10:59:04 CET 2014
You need to connect your inputs to a feed in ffserver. It cannot stream
your file directly because it uses ffm format for muxing. so
http://127.0.0.1:8080/ <http://127.0.0.1:8080/a.ogg>feed1.ffm should work.
You need to also define the feed in your config file.
In your html5 file, you need to provide the name of the stream given in the
ffserver config file (may be a.ogg in your case), and also the type of the
On Wed, Nov 19, 2014 at 7:54 AM, YIRAN LI <mrfun.china at gmail.com> wrote:
> Hi guys,
> VLC has a functionality to stream to a HTTP address so that any machine
> can open that network address to view the stream.
> Now I'm looking for the similar functionality in ffmpeg to stream ogg
> stream but couldn't find it.
> The command line I've used was:
> $ ffmpeg.exe -rtbufsize 1500M -f dshow -i video="Microsoft LifeCam
> VX-1000" -r 20 -bufsize 1024k -vcodec libtheora -qscale:v 1 -f ogg
> ffmpeg version N-67742-g3f07dd6 Copyright (c) 2000-2014 the FFmpeg
> built on Nov 16 2014 22:01:52 with gcc 4.9.2 (GCC)
> Input #0, dshow, from 'video=Microsoft LifeCam VX-1000':
> Duration: N/A, start: 4822.365000, bitrate: N/A
> Stream #0:0: Video: rawvideo, bgr24, 320x240, 30 tbr, 10000k tbn, 30
> http://127.0.0.1:8080/a.ogg: Unknown error
> What I wanted to do is to capture from the webcam and encode it to ogg
> stream so that it can be viewed anywhere (just include http://ip:port/a.ogg
> in to a HTML5 video tag)
> Could anyone tell me why that command failed :(
> Great thanks!
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user