[Libav-user] How to stream via HTTP to some destination receiver?

YIRAN LI mrfun.china at gmail.com
Wed Nov 19 07:54:23 CET 2014

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 tbc 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141119/82ca060d/attachment.html>

More information about the Libav-user mailing list