illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.96k stars 1.52k forks source link

FLV to ws protocol #39

Closed mamoyko closed 6 years ago

mamoyko commented 6 years ago

Any Idea how can i convert FLV into websocket protocol?

Thanks

branditz commented 6 years ago

@mamoyko - hey I think it not working here.. better use jsmpeg (codec mpeg1video). PM me so i can support you :) - bcaldetera@gmail.com

illuspas commented 6 years ago

You can use ffmpeg to re-push.

ffmepg -re -i FLV -c copy -f flv rtmp://server-ip/live/stream

Then you can access through ws://server-ip:8000/live/stream.flv

branditz commented 6 years ago

Hi,

Great, let me try that.

Thanks

On Jan 1, 2018 10:13 AM, "Mingliang Chen" notifications@github.com wrote:

You can use ffmpeg to re-push.

ffmepg -re -i FLV -c copy -f flv rtmp://server-ip/live/stream

Then you can access through ws://server-ip:8000/live/stream.flv

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/illuspas/Node-Media-Server/issues/39#issuecomment-354633319, or mute the thread https://github.com/notifications/unsubscribe-auth/AhUZ5jawZQJ3PGusPM3BqUQvfLWnXO1yks5tGD9VgaJpZM4RO54Q .