mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add sample video
This commit is contained in:
parent
a7c83b1aee
commit
1da09e5ffb
3 changed files with 20 additions and 17 deletions
|
@ -20,7 +20,7 @@ vhost __defaultVhost__ {
|
|||
enabled on;
|
||||
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
|
||||
#ffmpeg ./research/ffempty/ffempty;
|
||||
engine fast{
|
||||
engine ld{
|
||||
enabled on;
|
||||
vfilter {
|
||||
#vf 'drawtext=text=SRS';
|
||||
|
@ -31,7 +31,7 @@ vhost __defaultVhost__ {
|
|||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
vfps 20;
|
||||
vwidth 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 1;
|
||||
vprofile baseline;
|
||||
|
@ -45,7 +45,7 @@ vhost __defaultVhost__ {
|
|||
aparams {
|
||||
profile:a aac_low;
|
||||
}
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_fast;
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_ld;
|
||||
}
|
||||
engine sd{
|
||||
enabled on;
|
||||
|
@ -55,8 +55,8 @@ vhost __defaultVhost__ {
|
|||
vcodec libx264;
|
||||
vbitrate 500;
|
||||
vfps 20;
|
||||
vwidth 720;
|
||||
vheight 480;
|
||||
vwidth 768;
|
||||
vheight 320;
|
||||
vthreads 1;
|
||||
vprofile main;
|
||||
vpreset fast;
|
||||
|
@ -85,7 +85,7 @@ vhost all.transcode.vhost.com {
|
|||
# the transcode engine for matched stream.
|
||||
# all matched stream will transcoded to the following stream.
|
||||
# the transcode set name(ie. hd) is optional and not used.
|
||||
engine super{
|
||||
engine ffsuper{
|
||||
# whether the engine is enabled
|
||||
# default: off.
|
||||
enabled on;
|
||||
|
@ -143,9 +143,9 @@ vhost all.transcode.vhost.com {
|
|||
# [port] the intput stream port.
|
||||
# [app] the input stream app.
|
||||
# [stream] the input stream name.
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_super;
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_ffsuper;
|
||||
}
|
||||
engine hd{
|
||||
engine ffhd{
|
||||
enabled on;
|
||||
vcodec libx264;
|
||||
vbitrate 1200;
|
||||
|
@ -163,9 +163,9 @@ vhost all.transcode.vhost.com {
|
|||
achannels 2;
|
||||
aparams {
|
||||
}
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_hd;
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_ffhd;
|
||||
}
|
||||
engine sd{
|
||||
engine ffsd{
|
||||
enabled on;
|
||||
vcodec libx264;
|
||||
vbitrate 800;
|
||||
|
@ -183,9 +183,9 @@ vhost all.transcode.vhost.com {
|
|||
achannels 2;
|
||||
aparams {
|
||||
}
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_sd;
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_ffsd;
|
||||
}
|
||||
engine fast{
|
||||
engine fffast{
|
||||
enabled on;
|
||||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
|
@ -203,7 +203,7 @@ vhost all.transcode.vhost.com {
|
|||
achannels 2;
|
||||
aparams {
|
||||
}
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_fast;
|
||||
output rtmp://[vhost]:[port]/[app]/[stream]_fffast;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue