Skip to content

Commit f09c21d

Browse files
committed
Update: making transcoder efficient and faster
1 parent 678fcb0 commit f09c21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/ffmpeg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const transcodeWithFFmpeg = async (fileName: string, filePath: string, progressC
115115
"-profile:v baseline",
116116
"-level 3.0",
117117
"-start_number 0",
118-
"-hls_time 4",// partition 4 seconds 15 parts
118+
"-hls_time 8",// partition 4 seconds 15 parts
119119
"-hls_list_size 0",
120120
"-master_pl_name master.m3u8",
121121
`-threads 1`, // Limit threads

0 commit comments

Comments
 (0)