nareix / joy4

Golang audio/video library and streaming server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FFMPEG RTMP Stream Loop Option?

bubbajoe opened this issue · comments

Hello, how would i used the stream_loop option?

https://github.com/nareix/joy4/blob/master/examples/rtmp_publish/main.go

EXAMPLE:
ffmpeg -re -i -stream_loop 4 projectindex.flv -c copy -f flv rtmp://localhost:1936/app/publish

(stream the video in a loop 4 times)

DOCS:
https://ffmpeg.org/ffmpeg.html#Main-options

commented

+1