usa o protocolo ffmpeg e push rtmps

0

Use o ffmpeg para enviar rtmps, mas sempre tem um erro de conteúdo vazio.

docker docker run -v $(pwd)/vol:/home/vol jrottenberg/ffmpeg -re -stream_loop -1 -i /home/vol/test1.mp4 -vcodec libx264 -vprofile baseline -acodec aac -ar 44100 -strict -2 -ac 1 -f flv -s 1280x720 -q 10 rtmps://media-test.gotomythings.com/orbweb/test

error proxy-rtmps | 2018/01/31 14:19:04 [info] 5#5: *5 client 172.22.0.1:35836 connected to 0.0.0.0:443 media-server | 2018/01/31 14:19:04 [info] 5#5: *5 client connected '172.22.0.3' media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 setting chunk_size=128 media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 proxy_protocol: start media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 event timer add: 13: 60000:1517408404516 media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 event timer del: 13: 1517408404516 media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 recv(): 76 media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 proxy_protocol: remote_addr:'172.22.0.1' media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 handshake: start server handshake media-server | 2018/01/31 14:19:04 [debug] 5#5: *5 handshake: allocating buffer ... ... ignore detail binary info ... media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 calling handler 0 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 calling handler 1 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 calling handler 2 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 live: audio packet timestamp=93 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 RTMP prep audio (8) fmt=1 csid=6 timestamp=24 mlen=367 msid=1 nbufs=1 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 calling handler 3 media-server | 2018/01/31 14:19:07 [debug] 5#5: *5 calling handler 4 media-server | 2018/01/31 14:20:04 [debug] 5#5: *5 event timer add: 13: 60000:1517408464658 media-server | 2018/01/31 14:20:04 [debug] 5#5: *5 ping: wait 60000ms

o ffmpeg fará uma pausa em

frame=47 fps=0.4 q=28.0 size=112kB time=00:00:01.99 bitrate=458.1kbits/s speed=0.0166x

Aguarde até o tempo limite. Alguém tem ideia?

    
por Hu Max 31.01.2018 / 15:23

0 respostas

Tags