Merge branch 'main' of https://huggingface.co/spaces/Yakova/Rectifier
Browse files
Remotion-app/package.json
CHANGED
@@ -14,12 +14,12 @@
|
|
14 |
"@radix-ui/react-icons": "^1.3.0",
|
15 |
"@radix-ui/react-label": "^2.0.2",
|
16 |
"@radix-ui/react-slot": "^1.0.2",
|
17 |
-
"@remotion/cli": "4.0.
|
18 |
-
"@remotion/google-fonts": "4.0.
|
19 |
-
"@remotion/preload": "4.0.
|
20 |
-
"@remotion/transitions": "4.0.
|
21 |
-
"@remotion/zod-types": "4.0.
|
22 |
-
"@remotion/tailwind": "4.0.
|
23 |
"class-variance-authority": "^0.7.0",
|
24 |
"clsx": "^2.1.0",
|
25 |
"gsap": "^3.12.4",
|
@@ -27,7 +27,7 @@
|
|
27 |
"lucide-react": "^0.303.0",
|
28 |
"react": "^18.0.0",
|
29 |
"react-dom": "^18.0.0",
|
30 |
-
"remotion": "4.0.
|
31 |
"tailwind-merge": "^2.2.0",
|
32 |
"tailwindcss-animate": "^1.0.7",
|
33 |
"zod": "^3.21.4"
|
|
|
14 |
"@radix-ui/react-icons": "^1.3.0",
|
15 |
"@radix-ui/react-label": "^2.0.2",
|
16 |
"@radix-ui/react-slot": "^1.0.2",
|
17 |
+
"@remotion/cli": "4.0.147",
|
18 |
+
"@remotion/google-fonts": "4.0.147",
|
19 |
+
"@remotion/preload": "4.0.147",
|
20 |
+
"@remotion/transitions": "4.0.147",
|
21 |
+
"@remotion/zod-types": "4.0.147",
|
22 |
+
"@remotion/tailwind": "4.0.147",
|
23 |
"class-variance-authority": "^0.7.0",
|
24 |
"clsx": "^2.1.0",
|
25 |
"gsap": "^3.12.4",
|
|
|
27 |
"lucide-react": "^0.303.0",
|
28 |
"react": "^18.0.0",
|
29 |
"react-dom": "^18.0.0",
|
30 |
+
"remotion": "4.0.147",
|
31 |
"tailwind-merge": "^2.2.0",
|
32 |
"tailwindcss-animate": "^1.0.7",
|
33 |
"zod": "^3.21.4"
|
Remotion-app/remotion.config.js
CHANGED
@@ -12,5 +12,4 @@ Config.overrideWebpackConfig((currentConfiguration) => {
|
|
12 |
|
13 |
Config.setC;
|
14 |
Config.setVideoImageFormat('jpeg');
|
15 |
-
Config.
|
16 |
-
// Config.setConcurrency(15);
|
|
|
12 |
|
13 |
Config.setC;
|
14 |
Config.setVideoImageFormat('jpeg');
|
15 |
+
Config.setConcurrency(1);
|
|
Remotion-app/src/HelloWorld/VideoStream.jsx
CHANGED
@@ -32,6 +32,7 @@ const VideoX = React.memo(({entry}) => {
|
|
32 |
const {fps} = useVideoConfig();
|
33 |
return (
|
34 |
<Video
|
|
|
35 |
startFrom={(fps * entry.props.startFrom) / 30}
|
36 |
endAt={(fps * entry.props.endAt) / 30}
|
37 |
volume={(fps * entry.props.volume) / 30}
|
|
|
32 |
const {fps} = useVideoConfig();
|
33 |
return (
|
34 |
<Video
|
35 |
+
pauseWhenBuffering
|
36 |
startFrom={(fps * entry.props.startFrom) / 30}
|
37 |
endAt={(fps * entry.props.endAt) / 30}
|
38 |
volume={(fps * entry.props.volume) / 30}
|