正在显示
2 个修改的文件
包含
9 行增加
和
2 行删除
| @@ -238,7 +238,7 @@ vhost crop.transcode.vhost.com { | @@ -238,7 +238,7 @@ vhost crop.transcode.vhost.com { | ||
| 238 | } | 238 | } |
| 239 | } | 239 | } |
| 240 | } | 240 | } |
| 241 | -# the logo filter of ffmpeg, @see: http://ffmpeg.org/ffmpeg-filters.html#crop | 241 | +# the logo filter of ffmpeg, @see: http://ffmpeg.org/ffmpeg-filters.html#overlay |
| 242 | vhost logo.transcode.vhost.com { | 242 | vhost logo.transcode.vhost.com { |
| 243 | transcode { | 243 | transcode { |
| 244 | enabled on; | 244 | enabled on; |
| @@ -246,7 +246,8 @@ vhost logo.transcode.vhost.com { | @@ -246,7 +246,8 @@ vhost logo.transcode.vhost.com { | ||
| 246 | engine logo { | 246 | engine logo { |
| 247 | enabled on; | 247 | enabled on; |
| 248 | vfilter { | 248 | vfilter { |
| 249 | - vf 'crop=200:100:10:10'; | 249 | + i ./doc/ffmpeg-logo.png; |
| 250 | + filter_complex 'overlay=10:10'; | ||
| 250 | } | 251 | } |
| 251 | vcodec libx264; | 252 | vcodec libx264; |
| 252 | vbitrate 300; | 253 | vbitrate 300; |
| @@ -163,6 +163,12 @@ BUILD_KEY="bandwidth" APP_MAIN="srs_main_bandcheck" APP_NAME="bandwidth" SO_PATH | @@ -163,6 +163,12 @@ BUILD_KEY="bandwidth" APP_MAIN="srs_main_bandcheck" APP_NAME="bandwidth" SO_PATH | ||
| 163 | echo 'configure ok! ' | 163 | echo 'configure ok! ' |
| 164 | 164 | ||
| 165 | ##################################################################################### | 165 | ##################################################################################### |
| 166 | +# when configure success, prepare build | ||
| 167 | +##################################################################################### | ||
| 168 | +# create objs/logs for ffmpeg to write log. | ||
| 169 | +mkdir -p ${SRS_OBJS}/logs | ||
| 170 | + | ||
| 171 | +##################################################################################### | ||
| 166 | # configure summary | 172 | # configure summary |
| 167 | ##################################################################################### | 173 | ##################################################################################### |
| 168 | # linux shell color support. | 174 | # linux shell color support. |
-
请 注册 或 登录 后发表评论