当前位置: 首页 > article >正文

ffmpeg视频滤镜: 色温- colortemperature

滤镜简述

 colortemperature

官网链接 =》 FFmpeg Filters Documentation 

这个滤镜可以调节图片的色温,色温值越大显得越冷,可以参考一下下图:

咱们装修的时候可能会用到,比如选择灯还有地板的颜色的时候,选暖色调还是冷色调的时候,说的就是色温。

滤镜使用

参数

   temperature       <float>      ..FV.....T. set the temperature in Kelvin (from 1000 to 40000) (default 6500)
   mix               <float>      ..FV.....T. set the mix with filtered output (from 0 to 1) (default 1)
   pl                <float>      ..FV.....T. set the amount of preserving lightness (from 0 to 1) (default 0)
  • temperature,是色温值
  • mix, 固定temperature情况,这个值越大,显得越冷
  • pl, 固定temperature情况,这个值越大,图片越亮
样例

原图

ffmpeg -y -i ffm_media/air.jpg -filter_complex "colortemperature=10000" result/colortemperature/color_test_02.jpg

 

ffmpeg -y -i ffm_media/air.jpg -filter_complex "colortemperature=3500" result/colortemperature/color_test_03.jpg

ffmpeg -y -i ffm_media/air.jpg -filter_complex "colortemperature=3500:0.6" result/colortemperature/color_test_04.jpg

ffmpeg -y -i ffm_media/air.jpg -filter_complex "colortemperature=3500:pl=0.8" result/colortemperature/color_test_06.jpg

这个是条件pl后的效果,会亮很多。

## 祝你好运
 
hope("大神多多指点")
topic("有问题可以交流呀")
concat("求求QUN", "61480", "9646")


http://www.kler.cn/news/367559.html

相关文章:

  • Matplotlib教程(005):Matplotlib双轴显示
  • 三种材料的金相图及金相图解析材料
  • 【C语言刷力扣】1768.交替合并字符串
  • 自旋锁原理及基于原子引用手写自旋锁
  • 探索CRM功能:六个解决方案助力企业发展
  • 2024高等代数【南昌大学】
  • Windows 11 绕过 TPM 方法总结,24H2 通用免 TPM 镜像下载 (Updated Oct 2024)
  • java项目之在线考试系统设计与实现(springboot)
  • 通过AWS Bedrock探索 Claude 的虚拟桌面魔力:让 AI 代替你动手完成任务!
  • 时间数据可视化基础实验(南丁格尔玫瑰图)——Python热狗大胃王比赛数据集
  • 蓝桥杯普及题
  • Android中导入讯飞大模型ai智能系统
  • nodejs写入日志文件
  • Linux: Shell编程中的应用之基于sh进行数据统计
  • 【C++ 真题】B2106 矩阵转置
  • 基于java SpringBoot和Vue校园求职招聘系统设计
  • 【牛客算法】某司面试算法题:设计LRU缓存结构
  • static 关键字的用法
  • 【Java】LinkedList实现类的使用
  • 苹果预告下周发布Mac新品:全系标配M4系列芯片
  • 前端处理API接口故障:多接口自动切换的实现方案
  • bluez hid host介绍,连接键盘/鼠标/手柄不是梦,安排
  • 日常实习与暑期实习详解
  • java使用正则表达式校验字符串pwd,是否符合包含大写小写数字特殊字符长度超过8位
  • Codeforces Round 981 (Div. 3) A - E 详细题解(C++)
  • maven分模块设计与私服