You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've modified the audio and video volumes in my code, but when I render the final output, the volumes remain at their default settings. Could someone explain why this might be happening and how I can effectively adjust the volumes in my Revideo project? Thank you in advance for your assistance!
this is a very simple code!
conststartAudioRef=yield*addAudio(view,'/daolang/start.wav',{play: false});constvideoRef=createRef<Video>();constbgRef=createRef<Img>();yieldview.add(<><Rectsize={['100%','100%']}fill={'#000'}/><Imgref={bgRef}src={'/bg1.png'}size={['100%','100%']}opacity={0}/><Videoref={videoRef}src={'/daolang/dl_ych.mp4'}size={{width: 1920,height: 1080}}play={true}looptime={0.1}/></>,);yield*waitFor(6);// this setVolume 0.2,but render is not okvideoRef().setVolume(0.2);startAudioRef().play();
you're right - setVolume is curently not supported during exports. A workaround would be to just create a new video tag, make it start at second 6, and adjust its volume prop. But I agree that this should 100% be fixed
I've modified the audio and video volumes in my code, but when I render the final output, the volumes remain at their default settings. Could someone explain why this might be happening and how I can effectively adjust the volumes in my Revideo project? Thank you in advance for your assistance!
this is a very simple code!
and show addAudio function
The text was updated successfully, but these errors were encountered: