博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
将视频转换为灰度
阅读量:2516 次
发布时间:2019-05-11

本文共 933 字,大约阅读时间需要 3 分钟。

I'm a JavaScript fanatic but I've always been fascinated with media manipulation. Maybe it's because I've secretly always wanted to be a designer, but I'm fine with being able to manipulate art with software instead of create the art myself. One type of art I've always enjoyed was black and white (/grayscale) video.

我是JavaScript的狂热者,但我一直着迷于媒体操作。 也许是因为我一直秘密地想成为一名设计师,但是我能够用软件来操纵艺术品而不是自己创作艺术品就可以了。 我一直喜欢的一种艺术是黑白(/灰度)视频。

To convert a video to black and white, you can utilize ffmpeg with a few simple arguments:

要将视频转换为黑白图像,可以使用带有几个简单参数的ffmpeg:

ffmpeg -i input.mp4 -vf hue=s=0 output.mp4

The preceding command turns this color video:

前面的命令打开此彩色视频:

... to the following grayscale video:

...到以下灰度视频:

If you were to search on this blog, you'd find dozens of tutorials about how amazing the tool is. Play around with ffmpeg and let me know what awesomeness you come up with!

如果要在此博客上搜索 ,您会发现许多教程,介绍该工具的强大之处。 和ffmpeg一起玩,让我知道您带来了什么了不起!

翻译自:

转载地址:http://pkvwd.baihongyu.com/

你可能感兴趣的文章
springmvc 访问时找不到配置文件
查看>>
采访吴岳师兄有感 by 王宇飞
查看>>
LVS简略介绍
查看>>
hdu 1021 Fibonacci Again
查看>>
JVM架构_XmnXmsXmxXss有什么区别:转
查看>>
PHPExcel 使用心得
查看>>
洛谷 P3374 【模板】树状数组 1(单点加,区间和)
查看>>
verilog 代码编写小记
查看>>
PyQT的安装和配置
查看>>
从 docker 到 runC
查看>>
守护进程
查看>>
第十二周作业
查看>>
php数组
查看>>
Linux 防火墙
查看>>
互联网金融P2P主业务场景自动化测试
查看>>
array_filter函数的应用
查看>>
梅西确定代言 中国首秀牵手Mate 8
查看>>
html,body
查看>>
一个Brushes笔画应用ios源码完整版
查看>>
IOS 网络浅析-(七 JSON解析之三方JSONKit)
查看>>