Browse Source

Update README.MD

MoeClub 5 years ago
parent
commit
2690ff5f29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ffmpeg/README.MD

+ 1 - 1
ffmpeg/README.MD

@@ -18,7 +18,7 @@ ffprobe -v error -show_entries format=bit_rate -of default=noprint_wrappers=1:no
 # 平均码率转换
 ffmpeg -i <File> -vcodec copy -acodec aac -bsf:v h264_mp4toannexb -b:v 2000k -bufsize 2000k -maxrate 2250k output.mp4
 # 切片
-ffmpeg -i output.mp4 -vcodec copy -acodec copy -map 0 -f segment -segment_list output.m3u8 -segment_time 10 output_%03d.ts
+ffmpeg -i output.mp4 -vcodec copy -acodec copy -map 0 -f segment -segment_list output.m3u8 -segment_time 20 output_%03d.ts
 ```
 
 # 视频文件直接切片