A
A
Alexey Vikhrev2013-12-10 10:25:44
Video
Alexey Vikhrev, 2013-12-10 10:25:44

How to organize video broadcast over a local network using ffserver?

I installed ffserver on my computer, with the desire to start broadcasting video from a webcam over the network. I added the following settings in the config file:

Port 12345
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog C
<Feed webcam.ffm>
    File /tmp/webcam.ffm
    FileMaxSize 3M
    Launch ffmpeg -s 640x480 -f video4linux2 -i /dev/video0
    ACL allow 127.0.0.1
</Feed>
<Stream webcam.swf>
    Feed webcam.ffm
    Format swf
    VideoCodec flv
    VideoFrameRate 30
    VideoBufferSize 80000
    VideoBitRate 200
    VideoQMin 1
    VideoQMax 5
    VideoSize 640x480
    PreRoll 1
    NoAudio
</Stream>
<Stream index.html>
    Format status
</Stream>

Then I decided to watch the video on a second computer on the network. At the following address "http://(IP of the computer with ffserver):12345/webcam.swf". The video even starts, but only for three to four seconds. Please help me, what should I do so that it can be watched for hours.
Additionally:
1. The computer with ffserver has linux mint 12 installed
2. The computer from which I am trying to view windows7 video
3. libv4l is installed..
Thanks in advance to everyone who will help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Evseev, 2013-12-10
@IlyaEvseev

Was engaged in a similar task, tried ffserver and avserver. In the end, I decided on VLC.
habrahabr.ru/post/78677 watched?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question