

If I open the document in Firefox it works just fine.īut it does not work when trying to open in Chrome, IE or Edge.

Then I try to visualize the stream in browser, so I put this into a html document: If I try to visualize the output in VLC, I use this link: tcp://127.0.0.1:5000 and it works. In my real case I have MJPEG input from different sources like IP cameras.įfmpeg.exe -use_wallclock_as_timestamps 1 -f mjpeg -i "" -f mp4 -c:v libx264 -an -preset ultrafast -tune zerolatency -movflags frag_keyframe+empty_moov+faststart -reset_timestamps 1 -vsync 1 -flags global_header -r 15 "tcp://127.0.0.1:5000?listen" In order to provide a working example, I use here this MJPEG stream. I have a source MJPEG stream, which I need to transcode to H264/MP4 and show it in browser in a HTML5 element.

My testing environment is Windows 10, all updates done, all browsers up to date. I cannot visualize a H264/MP4 stream generated by ffmpeg in Chrome, IE, Edge.
