Skip to content

Commit

Permalink
hotfix: 복사 로직 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
adultlee committed Dec 14, 2023
1 parent ad50f0d commit 076176f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FE/src/utils/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const EncodingWebmToMp4 = async (blob: Blob, recordTime: string) => {
const uint8Array = new Uint8Array(arrayBuffer);
// ffmpeg의 파일 시스템에 파일 작성
await ffmpeg.writeFile('input.webm', uint8Array);
await ffmpeg.exec(['-i', 'input.webm', '-c:v', 'copy', 'output.mp4']);
await ffmpeg.exec(['-i', 'input.webm', 'output.mp4']);
const data = await ffmpeg.readFile('output.mp4');
const newBlob = new Blob([data], { type: 'video/mp4' });
toast.info('성공적으로 Mp4 인코딩이 완료되었습니다😊', {
Expand Down

0 comments on commit 076176f

Please sign in to comment.