python如何调用ffprobe_在Python脚本中使用FFProbe

Enabling FFmpeg in the Command Line

aeeccc5547079faa64b261cf9607a84b.png

Click the Start button and right-click on Computer. Select Properties

from the right-click menu. In the System window, click on the

“Advanced system settings” link in the left frame.

5dc535a151eac4855f79feca812ff258.png

Click the Environmental Variables button in the System Properties

window. It will be located at the bottom of the window.

11d98a87e249babc2a2a25ea0de3c997.png

Select the PATH entry in the "User variables" section. This is located

in the first frame in the Environmental Variables window. Click the

Edit button. In the “Variable value” field, enter ;c:\ffmpeg\bin after

anything that's already written there. If you copied it to a different

drive, change the drive letter. Click OK to save your changes. If

anything is entered incorrectly in this screen, it could cause Windows

to be unable to boot properly. If there is no PATH entry in the "User

variables" setting, click the New button and create one. Enter PATH

for the variable name. This method will enable FFmpeg for the current

user. Other Windows users will not be able to run it from the command

line. To enable it for everyone, enter ;c:\ffmpeg\bin in the PATH

entry in "System variables". Be very careful not to delete anything

that is already in this variable.

4d2b4253f760a2c55f866f18b85ff6de.png

Open the command prompt. Enter the command “ffmpeg –version”. If the

command prompt returns the version information for FFmpeg, then the

installation was successful, and FFmpeg can be accessed from any

folder in the command prompt.

If you receive a “libstdc++ -6 is

missing” error, you may need to install the Microsoft Visual C++

Redistributable Package, which is available for free from Microsoft.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值