ffmpeg缓存视频流成m3u8
@echo off
title CCTV-5p
:1
del *.ts
ffmpeg.exe -err_detect ignore_err -timeout 3000000 -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5 -reconnect_on_network_error 1 -http_proxy http://127.6.6.6:1080 -i "http://39.134.65.175/PLTV/88888888/224/3221225507/1.m3u8" -codec: copy -start_number 1 -hls_time 10 -hls_list_size 10 -hls_flags delete_segments hls.m3u8
timeout 10
goto 1
pause
本文来自博客园,作者:项希盛,转载请注明原文链接:https://www.cnblogs.com/xiangxisheng/p/18307291