import {AbsoluteFill} from 'remotion'; import React, {useMemo} from 'react'; import { staticFile, useVideoConfig, Img, Easing, Audio, useCurrentFrame, interpolate, } from 'remotion'; import imageSequences from './Assets/ImageSequences.json'; import {TransitionSeries, linearTiming} from '@remotion/transitions'; import {slide} from '@remotion/transitions/slide'; const ImageStream = React.memo(() => { const {fps} = useVideoConfig(); return ( {imageSequences.map((entry, index) => { return ( <> ; ); })} ); }); const Images = React.memo(({entry, index}) => { const frame = useCurrentFrame(); const {fps} = useVideoConfig(); const duration = fps * 2.5; const ImgScale = interpolate(frame, [1, duration], [1, 1.2], { easing: Easing.bezier(0.65, 0, 0.35, 1), extrapolateRight: 'clamp', extrapolateLeft: 'clamp', }); return ( {/* ); }); export default ImageStream;