ffmpeg - 不能在非文件协议上使用重命名,这可能会导致竞争和临时部分文件错误

Car*_*arl 5 ffmpeg

将视频转换为 hls 时出现以下错误

Cannot use rename on non file protocol, this may lead to races and temporary partial files
Run Code Online (Sandbox Code Playgroud)

据我所知,它不会引起任何问题,但我想知道我做错了什么。

这是我用来转换为 HLS 的命令:

ffmpeg -i "C:\Video\my_video.mp4" -codec: copy -start_number 0 -muxdelay 0 -hls_time 4 -hls_list_size 0 -f hls "C:\Video\hls\my_video"
Run Code Online (Sandbox Code Playgroud)

我没有做任何重新编码或任何重命名。

小智 0

我发现该消息仅从该工具记录。

请尝试:

ffmpeg -i input.mp4 -profile:v baseline -level 3.0 -start_number 0 -hls_time 10 -hls_list_size 0 -f hls output.m3u8