增加 ffmpeg 参数

This commit is contained in:
snowlyg
2020-07-07 15:51:09 +08:00
parent 00d8cf1b66
commit d8cb3181d1
+2 -2
View File
@@ -39,5 +39,5 @@ ts_duration_second=6
;value为 ffmpeg 转码格式,比如可设置为 -strict -2 -threads 2 -c:v copy -c:a copy -f rtsp ,表示copy源格式;default 表示使用 -strict -2 -threads 2 -c:v copy -c:a copy -f rtsp 不转码。
;rtsp: -strict -2 -threads 2 -c:v copy -c:a copy -f rtsp
;flv: -strict -2 -threads 2 -c:v copy -c:a copy -f flv
;hls: -strict -2 -threads 2 -c:v copy -c:a copy -x264-params keyint=30:min-keyint=30:no-scenecut=1 -hls_playlist_type vod -hls_time 4 -hls_list_size 5 -hls_wrap 10 -f hls
decoder= -strict -2 -threads 2 -c:v copy -c:a copy -hls_time 12 -hls_list_size 5 -hls_wrap 10 -hls_playlist_type vod -f hls
;hls: -strict -2 -c:v copy -c:a copy -hls_time 2 -hls_list_size 5 -hls_flags delete_segments -f hls
decoder= -strict -2 -c:v copy -c:a copy -hls_time 2 -hls_list_size 5 -hls_flags delete_segments -f hls