winlin

support ffmpeg filter

... ... @@ -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';
}
... ...