This commit is contained in:
ct
2025-07-03 17:51:10 +08:00
parent f183d1ff13
commit 35c7c0bebd
3 changed files with 110 additions and 51 deletions

View File

@@ -216,7 +216,7 @@ const VideoEditor = ({ width, height, onOpenTextSidebar }) => {
const totalDuration = Math.max(...timelineElements.map((el) => el.startTime + el.duration));
const { isExporting, exportProgress, exportStatus, ffmpegCommand, copyFFmpegCommand, exportVideo } = useVideoExport({
const { isExporting, exportProgress, exportStatus, ffmpegCommand, copyFFmpegCommand, exportVideo, videoBlob, videoBlobFilename } = useVideoExport({
timelineElements,
dimensions,
totalDuration,
@@ -620,6 +620,8 @@ const VideoEditor = ({ width, height, onOpenTextSidebar }) => {
isExporting={isExporting}
exportProgress={exportProgress}
exportStatus={exportStatus}
videoBlob={videoBlob}
videoBlobFilename={videoBlobFilename}
/>
</>
);