[FFmpeg-user] Feeding DVR to ffserver
Alex Povolotsky
tarkhil at corp.infotel.ru
Wed Feb 24 15:16:19 CET 2016
Skipping comments:
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
<Feed feed1.ffm>
File /tmp/feed1.ffm
FileMaxSize 200K
ACL allow 127.0.0.1
</Feed>
<Stream cam1-2.mpg>
Feed feed1.ffm
Format mpeg
AudioChannels 0
VideoBitRate 64
VideoBufferSize 40
VideoFrameRate 3
VideoSize 160x128
VideoGopSize 12
</Stream>
<Stream test.asf>
Feed feed1.ffm
Format asf
VideoFrameRate 15
VideoSize 352x240
VideoBitRate 256
VideoBufferSize 40
VideoGopSize 30
AudioBitRate 64
StartSendOnKey
</Stream>
<Stream stat.html>
Format status
</Stream>
<Redirect index.html>
URL http://www.ffmpeg.org/
</Redirect>
it is running, stat.html is responding with
ffserver Status
Available Streams
Path Served
Conns
bytes Format Bit rate
kbits/s Video
kbits/s
Codec Audio
kbits/s
Codec Feed
cam1-2.mpg 1 63 mpeg 128 64 mpeg1video 64 mp2 feed1.ffm
test.asf 0 0 asf_stream 320 256 msmpeg4 64 wmav2 feed1.ffm
stat.html 2 2105 - - - -
index.html 0 3536 - - - -
Feed feed1.ffm
Stream type kbits/s codec Parameters
0 audio 64 mp2 0 channel(s), 22050 Hz
1 video 64 mpeg1video 160x128, q=2-31, fps=3
2 audio 64 wmav2 1 channel(s), 22050 Hz
3 video 256 msmpeg4 352x240, q=2-31, fps=15
Connection Status
Number of connections: 1 / 1000
Bandwidth in use: 0k / 1000k
# File IP Proto State Target bits/sec Actual bits/sec Bytes transferred
1 stat.html 10.187.11.6 HTTP/1.1 HTTP_WAIT_REQUEST 0 0 0
Generated at Wed Feb 24 17:16:10 2016
On 24.02.2016 17:09, Jimmy Asher wrote:
>
>
>
>
>
> On 2/24/16, 9:04 AM, "ffmpeg-user on behalf of Alex Povolotsky" <ffmpeg-user-bounces at ffmpeg.org on behalf of tarkhil at corp.infotel.ru> wrote:
>
>> Hello
>>
>> I'm working with pretty aged video recorer for surveillance cams, trying
>> to connect it to zoneminder instead of weird propiertary surveillance soft.
>>
>> tanidvr gets video stream, but all attempts to send it to ffserver
>> failed so far.
>>
>> === ffserver.conf ===
>> <Feed feed1.ffm>
>> File /tmp/feed1.ffm
>> FileMaxSize 200K
>> ACL allow 127.0.0.1
>> </Feed>
>> === ffserver.conf ===
>
>
> If this is the complete ffserver config you do not set up the config file correctly
>
>>
>> than
>>
>>
>>
>> I'm new to video processing and maybe I'm doing lots of dumb errors, but
>> googling for error yielded nothing meaningful.
>>
>> What should I do to feed ffserver with video and what are good codec
>> params to compress the video?
>
> Did you start FFServer before you invoked Ffmpeg?
>
>
>>
>> Where can I find good introduction for video processing with ffmpeg?
>
> FFmpeg Streaming Guide (good place to start)
> https://trac.ffmpeg.org/wiki/StreamingGuide
>
>
>>
>> Alex
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
--
Александр Поволоцкий
Системный администратор
АО "Инфотел"
119021 г. Москва, ул. Льва Толстого 23 стр 3 (адрес юридический и почтовый)
115088 г. Москва, 2-ой Южнопортовый пр-д, д 20А стр.4, 2-й подъезд, 1-й
этаж (фактический адрес/ для курьерской доставки)
+7(495) 744-0918 (тел.)
+7(495) 744-0922 (факс)
www.infotel.ru
More information about the ffmpeg-user
mailing list