srt_encoder icon indicating copy to clipboard operation
srt_encoder copied to clipboard

运行srt encoder的问题

Open Alexyali opened this issue 5 years ago • 2 comments

老师您好,我按照流程安装了ffmpeg和srt,但是最后运行的时候报错: [srt @ 0x55805d7c95c0] Connection setup failure: connection time out srt://127.0.0.1:10080?streamid=#!::h=live/livestream,m=publish: Unknown error occurred 而且把srt改为udp就可以运行了,这是什么情况呢? 另外在3.2 srt encoder中提到srt in srs。这个的意思是需要先运行srs吗,然后在srs上运行srt吗?这个和跑之前提到的代码有什么关系呢? 非常感谢!

Alexyali avatar Jun 10 '20 14:06 Alexyali

有大佬可以回答无法运行command的问题吗,报错:Protocol not found。但是确实安装了srt

Alexyali avatar Jun 17 '20 14:06 Alexyali

我把configure和运行指令修改了,然后可以运行,但是不知道这样是否实现了SRT自适应编码? ./configure --disable-devices --enable-libx264 --enable-libx265 --enable-libsrt --disable-asm --enable-gpl --enable-shared 发送端指令: ffmpeg -re -i source.mp4 -c:v libx264 -s 640x360 -b:v 700k -f mpegts 'srt://127.0.0.1:10080?mode=caller' 接收端指令: ffplay -i ‘srt://127.0.0.1:10080?mode=listener’

Alexyali avatar Jun 23 '20 06:06 Alexyali