mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
563 B
Plaintext
20 lines
563 B
Plaintext
# use ffmpeg to ingest file/stream/device to SRS
|
|
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/SampleIngest
|
|
# @see full.conf for detail config.
|
|
|
|
listen 1935;
|
|
vhost __defaultVhost__ {
|
|
ingest livestream {
|
|
enabled on;
|
|
input {
|
|
type file;
|
|
url ./doc/source.200kbps.768x320.flv;
|
|
}
|
|
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
|
engine {
|
|
enabled off;
|
|
output rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
|
|
}
|
|
}
|
|
}
|