Forum

Post a new question

Categories:

Tags:

FAQ: Transmuxing HLS to RTMP

Yury Udovichenko 2014-10-28 11:38:42 UTC in Nimble Streamer
8926135388643c4be9ec685a7033dc32

Q: I need to get HLS stream and make RTMP for further re-publishing and re-use via Nimble Streamer.
Can Nimble do that?

Yury Udovichenko 2014-10-28 11:45:31 UTC
8926135388643c4be9ec685a7033dc32

A:

You can use FFMPEG for that and use WMSPanel and Nimble Streamer to control its behavior and use its result stream.

Use task remote management interface as described in this blog post: http://blog.wmspanel.com/2014/10/server-tasks-web-management.html

The command which you need to launch is as follows:

/usr/local/bin/ffmpeg -re -i http://origin-ip-address/live/stream/playlist.m3u8 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -f flv rtmp://nimble-ip-address:1935/live/stream

Here, a "nimble-ip-address" is the interface which is used for RTMP access. The overall "rtmp://nimble-ip-address:1935/live/stream" URL can be used for further use cases like HLS transmuxing (see http://blog.wmspanel.com/2014/07/pull-rtmp-transmux-abr-hls-nimble.html)
or RTMP re-publishing:
(see http://blog.wmspanel.com/2014/10/rtmp-republishing-nimble-streamer.html)

You may set up any number of tasks of that kind and track them all via single we UI of WMSPanel.

Budi Yuwono 2014-10-29 11:01:33 UTC
865cf2935ee0836f087f4dd2bccf53ec

Do you have a manual how to install ffmpeg that works perfectly with nimble? Thank you

Yury Udovichenko 2014-10-29 12:46:59 UTC
8926135388643c4be9ec685a7033dc32

Hi Budi,

There's no special manual for Nimble case. ffmpeg will work with Nimle just as with any other rtmp-capable server. Just install ffmpeg as usual.

akio 2016-02-04 08:16:59 UTC
D4c17199ce6f8fc5a7573acb8fb7dd56

Hello.
Now, it make errors.

[rtmp @ 0x2e3d3c0] Unknown connect error (unsupported authentication method?)
[rtmp @ 0x2e3d3c0] Server error: Connection failed: Application folder ([install-location]/applications/) is missing.

Please explain

Yury Udovichenko 2016-02-04 08:19:58 UTC
8926135388643c4be9ec685a7033dc32

Please send detailed error description to https://wmspanel.com/help
Thank you.

Post a reply