Skip to content

Commit 5e4d168

Browse files
authored
[Fix] ffmpeg 옵션 수정
[Fix] ffmpeg 옵션 수정
2 parents 772e22e + 39b7f60 commit 5e4d168

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/record/src/ffmpeg.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const thumbnailArgs = (dirPath: string, roomId: string) => {
8787
'-i',
8888
'pipe:0', // SDP를 파이프로 전달
8989
'-vf',
90-
'fps=1/10,scale=1280:720', // 10초마다 한 프레임을 캡처하고 해상도 조정
90+
'fps=1/15', // 10초마다 한 프레임을 캡처
9191
'-f',
9292
'image2', // 이미지 출력 포맷 명시
9393
'-update',
@@ -111,13 +111,13 @@ const recordArgs = (dirPath: string, roomId: string) => {
111111
'-c:v',
112112
'libx264', // 비디오 코덱
113113
'-preset',
114-
'slow',
114+
'superfast',
115115
'-profile:v',
116116
'high', // H.264 High 프로필
117117
'-level:v',
118118
'4.1', // H.264 레벨 설정 (4.1)
119119
'-crf',
120-
'1', // 비디오 품질 설정
120+
'23', // 비디오 품질 설정
121121
'-c:a',
122122
'libmp3lame', // 오디오 코덱
123123
'-b:a',

0 commit comments

Comments
 (0)