mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support ffmpeg filter
This commit is contained in:
parent
9a0d8855d8
commit
a7c83b1aee
1 changed files with 4 additions and 4 deletions
|
@ -23,10 +23,10 @@ vhost __defaultVhost__ {
|
|||
engine fast{
|
||||
enabled on;
|
||||
vfilter {
|
||||
vf 'drawtext=text=SRS';
|
||||
#vf 'drawtext=text=SRS';
|
||||
#vf 'crop=in_w-20:in_h-160:10:80';
|
||||
#i ./doc/ffmpeg-logo.png;
|
||||
#filter_complex 'overlay=10:10';
|
||||
i ./doc/ffmpeg-logo.png;
|
||||
filter_complex 'overlay=10:10';
|
||||
}
|
||||
vcodec libx264;
|
||||
vbitrate 300;
|
||||
|
@ -48,7 +48,7 @@ vhost __defaultVhost__ {
|
|||
output rtmp://[vhost]:[port]/[app]/[stream]_fast;
|
||||
}
|
||||
engine sd{
|
||||
enabled off;
|
||||
enabled on;
|
||||
vfilter {
|
||||
vf 'split [main][tmp]; [tmp] crop=iw:ih/2:0:0, vflip [flip]; [main][flip] overlay=0:H/2';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue