Answer the question
In order to leave comments, you need to log in
How to output rtmp stream to html?
Good afternoon!
I have a win10 machine with nginx+rtmp module, ffmpeg, and a Gige camera. The idea is to broadcast in real time (or as close as possible) video from a gigabit camera.
With the receipt and compression of the picture with gige, everything is fine.
The driver rolls onto the eBUS network interface and is recognized by ffmpeg as a direct show device.
Next, the picture is compressed by ffmpeg in h264 encoding, put into flv and sent via rtmp to the nginx server.
Video from the server can be obtained using ffplay or vlc.
But the task is to display a picture from the camera on the web page of the local nginx server.
And here comes the problem. flv is only supported by flash players and just the videovj player is not enough, it must be used in conjunction with the videojs-flash module, a bunch of which throws out the error "No compatible source was found for this media".
Questions: Is it possible to publish a video stream on a web page? What can you advise and has anyone had a similar experience?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question