ports/multimedia/ffmpeg0/files/ffserver0.in
William Grzybowski 54f9d181ed ffmpeg is a hyper fast realtime audio/video encoder, a streaming
server and a generic audio and video file converter.

It can convert a standard video source into several file formats
based on DCT/motion compensation encoding. Sound is compressed in
MPEG audio layer 2 or using an AC3 compatible stream.

What makes ffmpeg interesting ?
- Simple and efficient video encoder: outputs MPEG1, H263, Real
  Video(tm), MPEG4, DIVX and MJPEG compatible bitstreams using the
  same encoder core.
- Hyper fast MPEG audio layer 2 compression (50 times faster than
  realtime on a K6 500).
[snip -> rest on website below]

ffmpeg is made of two programs:
* ffmpeg: soft VCR which encodes in real time to several formats.
  It can also encode from any supported input file format to any
  input supported format.
* ffserver: high performance live broadcast streaming server based
  on the ffmpeg core encoders.

WWW: http://ffmpeg.mplayerhq.hu/
2013-10-08 19:24:30 +00:00

26 lines
405 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: ffserver0
# REQUIRE: NETWORKING
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable ffserver:
#
#ffserver0_enable="YES"
#
ffserver0_enable="${ffserver0_enable-NO}"
. /etc/rc.subr
name=ffserver0
rcvar=ffserver0_enable
command="%%PREFIX%%/bin/${name} &"
required_files=%%PREFIX%%/etc/ffserver0.conf
load_rc_config ${name}
run_rc_command "$1"