|
|
发表于 2020-6-29 16:40:51
|
显示全部楼层
输入是本地文件,你要在输入前加 -re 参数:
-re (input)
Read input at native frame rate. Mainly used to simulate a grab device, or live input stream (e.g. when reading from a file).
ffmpeg -re -i /path/video.mp4 -c copy -f flv rtmp://127.0.0.1:1935/live/xjj
|
|