mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
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/
26 lines
405 B
Bash
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"
|