混合使用带有偏移的ffmpeg的声音,itsoffset不工作 [英] Mixing sounds using ffmpeg with offsets, itsoffset not working

查看:858
本文介绍了混合使用带有偏移的ffmpeg的声音,itsoffset不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图混在Android上使用ffmpeg的三个音。但我想最后两个音同第一个声音有些偏移混合。我使用这个命令:

I am trying to mix three sounds using ffmpeg on android. But I want the last two sounds to mix with first sound on some offset. I am using this command:

ffmpeg -i input1 -itsoffset 5 -i input2 -itsoffset 10 -i input3 -filter_complex amix=inputs=3:duration=first:dropout_transition=3 -strict -2 output

我给输入2偏移5秒值,输入3偏移10秒值。但它只是混合的声音在输入1的开头。总之,itsoffset不工作。任何想法?

I gave input2 offset value of 5 seconds, and input3 offset value of 10 seconds. But it just mixes the sounds at the beginning of input1. In short, the itsoffset is not working. Any ideas?

推荐答案

根据这个bug报告 -itsoffset 参数只是影响的视频的流(时间戳),但没有任何音频流(时间戳)。

According to this bug report, the -itsoffset parameter only affects the video stream (timestamps) but not any audio stream (timestamps).

这篇关于混合使用带有偏移的ffmpeg的声音,itsoffset不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆