ffmpeg -re -i big_buck_bunny_480p_surround-fix.avi -ar 22050 -ab 56k -acodec mp3 -r 25 -f flv -b:v 400k -s 640x480 "rtmp://127.0.0.1/movie"
ffmpeg -re -i big_buck_bunny_480p_surround-fix.avi -ar 22050 -ab 56k -acodec mp3 -r 25 -f flv -b:v 400k -s 640x480 "rtmp://127.0.0.1/MonaClients/movie"
As FFmpeg support RTMP it's easier than Gstreamer to publish a video to MonaServer (see How to publish live stream from Gstreamer to MonaServer).
Here is a sample of a FFmpeg command with the well known Big Buck Bunny video, it publish the stream to MonaServer with the name "movie" :
Hi Yuan,
So in theory what you want is not possible, you need to publish into a RTMFP Netgroup to do P2P multicast.
If you are interested we can talk about alternatives in private,
Thanks you for your interest.
--
You received this message because you are subscribed to the Google Groups "MonaServer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to monaserver+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/monaserver/a6ecd604-a3a1-43c0-9fc7-30d49af169ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
function client:closeClient(id)
INFO("Trying to close client ", id)
local cli = clients[id]
if cli then
cli.writer:close()
return "done"
else
error("Unable to find the client")
end
end