删除视频中的音频流_从视频中删除音频

删除视频中的音频流

Sometimes I want to display live motion without the audio, since the audio is either bad quality or it's just extra load, which is especially important on mobile.  You could probably argue converting the video to GIF is more appropriate, but GIFs can be larger and more taxing on the device.  You also cannot pause or control animated GIFs.

有时我想在没有音频的情况下显示实时运动,因为音频质量不好或只是额外的负载,这在移动设备上尤其重要。 您可能会争辩说将视频转换为GIF更合适,但是GIF可能更大,并且设备负担更大。 您也无法暂停或控制动画GIF。

The better solution may be to remove the audio from a video:

更好的解决方案可能是从视频中删除音频:


./ffmpeg -i MusicVideo.webm -vcodec copy -an MusicVideoNoAudio.webm


The -an option removes the the audio from the input file, producing a video without any audio.  The sample file below went from 5.4MB to 4.1MB and now you don't hear the annoying wind in the background.

-an选项从输入文件中删除音频,从而生成没有任何音频的视频。 下面的示例文件从5.4MB4.1MB ,现在您不会在后台听到烦人的声音。

翻译自: https://davidwalsh.name/remove-audio-video

删除视频中的音频流

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值