SRS直播用FFmpeg转码报错:
[flv @ 0x3e733c0] Failed to update header with correct duration.
[flv @ 0x3e733c0] Failed to update header with correct filesize.
Error writing trailer of rtmp://127.0.0.1:1935/live?vhost=defaultVhost/26347_31e2d7e3ce2d4d378ad2887cf559d521_ff: Broken pipe
这个问题我搞了一天也没找到是怎么回事,后来把srs.conf配置文件当中的回调http_hooks关闭后居然成功了,这个应该是SRS的一个bug,希望后续更新能解决吧…
http_hooks {
enabled off;
***
}