Currently 360 browsers can support VLC plug-ins, other browsers and high-version chrome browsers do not support the NPAPI plugin, that is, the higher version of the Chrome browser will not play (more than 46 version is not possible).
Php+nginx+ffmpeg convert Streaming Media protocol code
1<?PHP2 //PHP does not accept information after executing commands, executes other PHP programs immediately after executing the command3 //$str = "Ffmpeg-i rtsp address-vcodec Copy-acodec copy-f after FLV converted rtmp server address >/dev/null 2>/dev/null &"; 4 //php Accept post-execution information, wait for the returned information5 $str= "Ffmpeg-i rtsp address-vcodec copy-acodec copy-f-flv-Converted Rtmp server address";6 7 //PHP accepts post-execution command information, executes other PHP programs immediately after executing the command8 $re=shell_exec($str);9 Ten?>
Php+ffmpeg RTSP video stream into rtmp video stream