编辑 FLV 并在给定帧上静音音频

发布于 2024-10-07 00:56:11 字数 258 浏览 8 评论 0原文

我收到了一个 avi 文件,我已将其转换为 flv,现在需要创建该 flv 的两个版本,一个包含所有音频,另一个版本删除了一小部分音频(它是有叙述的,我们需要删除提及特定项目)。

我知道我可以将 flv 导入到 flash 时间轴中,但不确定如何消除给定部分帧的声音,

正在考虑将 flv 重做为两个单独的 flv,一个包含视频,一个包含音频,然后将它们放入时间轴并剪切音频,但我想要一种更干净的方式,最好使用 ActionScript

提前致谢, 标记

I've been given a avi file that I've turned into an flv and now need to create two versions of that flv, one with all the audio and one with a small section of the audio removed (its narrated and we need to remove the mentioning of a specific item).

I know I can import an flv into the flash timeline but am not sure how to kill the sound for a given portion of frames,

Was considering redoing the flv as two separate flv's, one with video and one with audio and then putting them into the timeline and cutting the audio up, but I would love a cleaner way, preferably with ActionScript

Thanks in advance,
Mark

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

陌上芳菲 2024-10-14 00:56:11

SoundMixer.stopAll();

当您需要停止每个声音时触发该命令。

SoundMixer 类的详细信息,请访问此链接


有关 正在寻找暂停播放,然后我发现了这个。

private function setVolume(volume:Number):void 
{ 
var transform:SoundTransform = channel.soundTransform; 
transform.volume = volume; 
channel.soundTransform = transform; 
}

将该函数调用为 setVolume(0)setVolume(100)


Hope that helps you out.

SoundMixer.stopAll();

Fire the command when you need to stop every sound.

Visit this link for more info about SoundMixer class


If you are looking for pause play, then I found this.

private function setVolume(volume:Number):void 
{ 
var transform:SoundTransform = channel.soundTransform; 
transform.volume = volume; 
channel.soundTransform = transform; 
}

Call the function as setVolume(0) or setVolume(100)


Hope that helps you out.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文