RTMFP + VLC streaming

2,221 views
Skip to first unread message

Kilian

unread,
Sep 18, 2016, 7:16:24 PM9/18/16
to MonaServer
Hi,

I'm having trouble streaming with RTMFP and VLC.  I've disabled the windows firewall, RTMP works without a hitch (with the flash player and VLC clients across multiple network devices).  RTMFP works with the flash player but not with VLC (errors with "input can't be opened").  Launched with the /log=8 argument but nothing registers when VLC tries to connect:

Flash player:

In VLC:
Neither rtmfp://xxx.xxx.xxx.xxx/live/auth or rtmfp://xxx.xxx.xxx.xxx:1985/live/auth works

Thanks in advance,
Kilian

Thomas Jammet

unread,
Sep 19, 2016, 2:59:13 AM9/19/16
to MonaServer
Hi Kilian,

I am sorry but vlc doesn't support RTMFP for know, you have to use flash (or AIR) for this.

Regards

Kilian

unread,
Sep 19, 2016, 4:12:42 PM9/19/16
to MonaServer
Hi Thomas,

Thanks for confirming.  A bit off topic but would you be able to recommend an alternative method to stream a desktop across the local network that offers a better latency than RTMP?

Regards,
Kilian

Thomas Jammet

unread,
Sep 20, 2016, 1:30:34 PM9/20/16
to MonaServer
Hi,

I don't think that the latency of RTMP is relevant in a local network.
I know that VLC add some latency so you must consider to use another player (Flash, AIR, ffplay...)
About screen sharing I suppose that you use OBS. It can add few latency because it is optimized to get the best video quality rather than getting the best speed, but if you really need to get low latency you can contact the OBS team. There are also some tips on the internet (for example see this page).

Otherwise if you are on windows it is also possible to capture the screen with ffmpeg and the gdigrab parameter :
ffmpeg -f gdigrab -framerate 15 -i desktop  -pix_fmt yuv420p -movflags +faststart -g 5 -q 5 -x264-params bframes=0 -preset superfast -tune zerolatency -f flv "rtmp://127.0.0.1/tmp/video"
But I don't know if it gives better results.

I hope it will help you!

Best Regards

Thomas
Reply all
Reply to author
Forward
0 new messages