本文介绍了AVPlayer速率属性不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此看来,实际起作用的唯一值是0.0、0.5、1.0和2.0 ...

so it would appear that the only values that actually work are 0.0, 0.5, 1.0, and 2.0...

我尝试将其设置为0.25,因为我希望它以自然速度的1/4播放,但是它却以自然速度的1/2播放.有人可以确认吗?

i tried setting it to 0.25 since I want it to play at 1/4th of the natural speed, but it played it at 1/2 of the natural speed instead. can anyone confirm this?

推荐答案

已确认.实际上,我为此问题打开了一张Apple DTS的门票,并提交了一个错误.仅支持的值为0.50、0.67、0.80、1.0、1.25、1.50和2.0.所有其他设置均四舍五入到最接近的值.

Confirmed. I actually had a ticket with Apple DTS open for this issue and a bug filed. The only supported values are 0.50, 0.67, 0.80, 1.0, 1.25, 1.50, and 2.0. All other settings are rounded to nearest value.

这篇关于AVPlayer速率属性不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 07:15