出错信息如下:
Couldn't open file test.mp4: -1330794744(Protocol not found)
协议没有找到, 先看下有哪些协议
./configure --list-protocols
async http libssh rtmpts
bluray httpproxy libzmq rtp
cache https md5 sctp
concat icecast mmsh srtp
crypto libamqp mmst subfile
data librtmp pipe tcp
ffrtmpcrypt librtmpe prompeg tee
ffrtmphttp librtmps rtmp tls
file librtmpt rtmpe udp
ftp librtmpte rtmps udplite
gopher libsmbclient rtmpt unix
hls libsrt rtmpte
因为test.mp4存在磁盘里, 所以先在配置时把file协议加上
--enable-protocol=file