mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
Improve the usage of "transcode" in the "full.conf" file. v5.0.162, v6.0.56 (#3596)
--------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com>
This commit is contained in:
parent
3a14bb4620
commit
3955d3fe55
3 changed files with 16 additions and 1 deletions
|
@ -2303,6 +2303,7 @@ vhost example.transcode.srs.com {
|
|||
# [app] the input stream app.
|
||||
# [stream] the input stream name.
|
||||
# [engine] the transcode engine name.
|
||||
# [param] the input stream query string.
|
||||
# we also support datetime variables.
|
||||
# [2006], replace this const to current year.
|
||||
# [01], replace this const to current month.
|
||||
|
@ -2464,6 +2465,19 @@ vhost copy.transcode.srs.com {
|
|||
}
|
||||
}
|
||||
}
|
||||
# forward the input stream query string to output
|
||||
vhost param.transcode.srs.com {
|
||||
transcode {
|
||||
enabled on;
|
||||
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||
engine copy {
|
||||
enabled on;
|
||||
vcodec copy;
|
||||
acodec copy;
|
||||
output rtmp://127.0.0.1:[port]/[app]/[stream]_[engine][param];
|
||||
}
|
||||
}
|
||||
}
|
||||
# transcode all app and stream of vhost
|
||||
# the comments, read example.transcode.srs.com
|
||||
vhost all.transcode.srs.com {
|
||||
|
|
|
@ -8,6 +8,7 @@ The changelog for SRS.
|
|||
|
||||
## SRS 5.0 Changelog
|
||||
|
||||
* v5.0, 2023-06-30, Merge [#3596](https://github.com/ossrs/srs/pull/3596): Improve the usage of "transcode" in the "full.conf" file. v5.0.162 (#3596)
|
||||
* v5.0, 2023-06-21, Merge [#3551](https://github.com/ossrs/srs/pull/3551): H264: Fix H.264 ISOM reserved bit value. v5.0.161 (#3551)
|
||||
* v5.0, 2023-06-20, Merge [#3592](https://github.com/ossrs/srs/pull/3592): Fix Permission Issue in depend.sh for OpenSSL Compilation. v5.0.159 (#3592)
|
||||
* v5.0, 2023-06-20, Merge [#3591](https://github.com/ossrs/srs/pull/3591): Fix crash when process rtcp feedback message. v5.0.159 (#3591)
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 161
|
||||
#define VERSION_REVISION 162
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue