视频手势画图python_如何裁剪视频

视频手势画图python

During a recent episode of the Script and Style podcast, I had noticed that the video recording had showed a bit of our internal chat that wasn't necessary for our viewers to see. While there's nothing wrong with giving viewers a peek into the show preparation, presenting the best possible video is our priority. So how can we crop a video via command line?

在最近的剧本和样式播客中,我注意到录像带显示了我们内部的一些聊天内容,对于观众来说并不是必需的。 让观众一窥表演准备并没有错,但呈现最佳视频是我们的首要任务。 那么我们如何通过命令行裁剪视频呢?

The amazing ffmpeg utility allows engineers to crop videos with one easy to use filter:

令人惊叹的ffmpeg实用程序使工程师可以使用一个易于使用的过滤器来裁剪视频:

# Crop an image to 500x500 starting at 0x0
ffmpeg -i sns-episode.webm -filter:v "crop=500:500:0:0" sns-episode-cropped.mp4

The crop filter format is easy to follow: {desired_width}:{desired_height}:{start_x}:{start_y}.

裁剪过滤器格式易于遵循:{desired_width}:{desired_height}:{start_x}:{start_y}。

I've written dozens of posts about ffmpeg and how it has the power to manipulate videos in amazing ways. Now you know how to crop videos quickly from command line!

我写了几十篇关于ffmpeg的文章,以及它如何以惊人的方式操纵视频 。 现在您知道如何从命令行快速裁剪视频了!

翻译自: https://davidwalsh.name/how-to-crop-videos

视频手势画图python

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值