mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #502, transcoder support snapshot.
This commit is contained in:
parent
2bae6e09d3
commit
29122b6e70
6 changed files with 28 additions and 18 deletions
|
@ -1281,6 +1281,7 @@ vhost example.transcode.srs.com {
|
|||
# video encoder name, "ffmpeg -vcodec"
|
||||
# can be:
|
||||
# libx264: use h.264(libx264) video encoder.
|
||||
# png: use png to snapshot thumbnail.
|
||||
# copy: donot encoder the video stream, copy it.
|
||||
# vn: disable video output.
|
||||
vcodec libx264;
|
||||
|
@ -1354,6 +1355,7 @@ vhost example.transcode.srs.com {
|
|||
# output format, "ffmpeg -f" can be:
|
||||
# off, do not specifies the format, ffmpeg will guess it.
|
||||
# flv, for flv or RTMP stream.
|
||||
# image2, for vcodec png to snapshot thumbnail.
|
||||
# other format, for example, mp4/aac whatever.
|
||||
# default: flv
|
||||
oformat flv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue