ffmpeg webm 提取,将Webm转换为音频文件(流畅的ffmpeg)

本文介绍了如何使用ffmpeg从Webm视频文件中提取音频,并将其转换为不超过100MB的音频文件。可以使用fluent-ffmpeg API的noVideo()方法,或者通过ffmpeg的CLI API结合-map选项选择音频流。此外,可以通过调整比特率来控制输出文件的大小。
摘要由CSDN通过智能技术生成

I have a video file and its properties are as the following when I check via the ffprobe command;

My purpose is to take the audio file only and its size should not be >100mb.

Is there any proper way of doing it in an NPM project?

ffprobe 2.webm

ffprobe version N-86175-g64ea4d1 Copyright (c) 2007-2017 the FFmpeg

developers built with gcc 6.3.0 (GCC) configuration: --enable-gpl --

nable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2

--

nable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-

ontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --

nable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --

nable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-

ibmp3lame --enable-libopencore-amrnb --enable-libo

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值