iizukanao / node-rtsp-rtmp-server

RTSP/RTMP/HTTP hybrid server
MIT License
1.09k stars 282 forks source link

Possible to stream subtitles or KLV metadata? #88

Closed tayre closed 6 years ago

tayre commented 7 years ago

Is there a way I could send subtitles along with my live stream?

This: ffmpeg.exe -i rtsp://{live-feed} -i subtitle.srt -c:s copy -vcodec copy -an -f flv rtmp://localhost/live/myapp

Currently produces Subtitle codec 'subrip' for stream 1 is not compatible with FLV

iizukanao commented 7 years ago

It appears that RTMP does not support subtitles.

Enelar commented 5 years ago

@iizukanao but RTMP support WebVTT and other metadata sending. That's for it was built for.

What is RTMP? RTMP (Real Time Messaging Protocol) is a proprietary protocol developed by Macromedia for streaming audio, video and data (including metadata such as subtitles and closed captioning) over the Internet between a Flash player and a server.