Closed tayre closed 6 years ago
It appears that RTMP does not support subtitles.
@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.
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