video.playbackRate no long has any effect if sound effect apply to video
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P3)
Tracking
()
People
(Reporter: abc, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0
Steps to reproduce:
- open https://www.bilibili.com/video/BV1GE411N7ss on firefox
- right click on video area and click 音效调节(sound effect) contextmenu
- select 超重低音(Bass Booster) button and close panel
- click video area to play video
- right click on video area and select 播放速度(playbackRate)>2.0 button
Actual results:
video playbackRate is 1x(normal) although video.playbackRate = 2
Expected results:
video playbackRate should be 2x
Chrome works fine.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
I can reproduce this issue, will check.
Comment 3•5 years ago
|
||
During the mode of applying the sound effect, we would use DecodedStream
as the media sink, which didn't apply the playback rate change on the media stream. [1]
Paul,
Any idea how to fix this one? If the fix is not too difficult then I would like to give it a try. I've tried to modify the rate [2] by multiplying playback rate on it, but that didn't work. (I assume that the rate controls how many audio samples we send to the MediaTrackGraph
, and if we have higher playback rate, we have to send more audio samples to the graph)
Thank you.
Comment 4•5 years ago
|
||
Alastor, this is not very hard to fix, but also not trivial, we can discuss on the main bug. I'd be happy to see this fixed.
Description
•