|
主题: director做MTV,怎么实现声音和文字同步?
|
 xcf0000
职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2002/11/12 19:41:26
|
#12004/5/14 10:47:58
director做MTV,怎么实现声音和文字同步? 声音一直有问题啊 在不同的机器上播放,画面和文快慢也不一样! 有没有FLASH中那种声音流的处理方式啊! 头疼啊! 请各方兄弟姐妹帮个忙啊! 先谢过了!
|
 D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
|
#22004/5/14 11:28:27
没有,这样用flash做好导入就ok了 再director里一般用CuePoint来实现,可以用声音编辑软件来编辑CuePoint,这样的好处是程序只要写一遍,剩下的只需要编辑CuePoint了,适合大批量工作。
|
 xcf0000
职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2002/11/12 19:41:26
|
#32004/5/14 17:39:47
这种方法只适合图片比声音快的情形, 如果声音比图像快的话, 这种方法就没有用了啊!
|
 xcf0000
职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2002/11/12 19:41:26
|
#42004/5/19 9:56:11
有没有什么其他的方法了吗?
|
 D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
|
#52004/5/19 13:00:45
if 声音and图像都完了 then 下一个动作 或者把声音割成一小断,你小段的
|
 xcf0000
职务:普通成员
等级:1
金币:0.0
发贴:28
注册:2002/11/12 19:41:26
|
#62004/5/19 13:51:19
54zq, 能给个例子吗? 比如控制通道1中的第2个节点的声音和当前的图像同步, 怎么写?
先谢了
|
 D计划-混沌
职务:管理员
等级:6
金币:15.2
发贴:3528
注册:2007/4/9 9:48:37
|
#72004/5/19 14:59:48
property pcurrentnum,pimage on beginsprite me set pcurrentnum=the frameLabel set pimage=1 set pstarttime=member("sound").cuePointTimes[pcurrentnum] set pendtime=member("sound").cuePointTimes[pcurrentnum+1] sound(2).queue([#member:member("sound"), #startTime:pstarttime,#endTime:pendtime]) sound(2).play() end
on exitFrame me if sound(1).isBusy() then psound=1 else psound=0 end if if sprite(1).member.name="end" then pimage=0 else pimage=1 end if if psound=0 and pimage=0 then go next else if pimage=0 then go to the frame else go to the frame +1 end if end if end
就这么个意思吧,没有具体调试过 :o
|