A
A
Andrey Minisol2016-09-13 12:20:36
Nginx
Andrey Minisol, 2016-09-13 12:20:36

How to rebroadcast a video stream from rtsp to mp4?

Good day.
I got acquainted with the wonderful nginx-rtmp-module, which, in principle, ideally performs the function of relaying rtsp to the rtmp protocol. But I see the following problem, rtmp on the browser side can only play flash (jwplayer). Please tell me how to make a stream in mp4 for example? That in the browser it could work directly without any plug-ins?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Udovichenko, 2016-09-13
@Aquary

"Stream to MP4" is not entirely correct. You need the output to have a transport protocol that is understood by the end devices. If RTMP is not suitable, then only HLS or MPEG-DASH remain. They have recently had good support in browsers without the use of Flash, and HLS is a native format for iOS and Macs, but Android 4+ understands it well. On the desktop, there are players that also understand it without flash plugins, for example, bitdash. By the way, he also plays DASH very well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question