当我在Web上应用vlc时,我计算机的CPU变为100%。我该怎么办?

时间:2019-05-10 13:56:44

标签: vlc

我们将VLC应用于对象标签。具有相同RTSP的最多10个对象标签对CPU稳定。但是,如果对象标签的数量增加12个或更多,则CPU变为100%。我该怎么办?

<div id="object_container">        
  <object type="application/x-vlc-plugin"                         
    version="VideoLAN.VLCPlugin.2" id="vlc21" width="517" 
    height="388" classid="clsid:9BE31822-FDAD-461B-AD51-
    BE1D1C159921">
    <param name="MRL" id="mrlVideo" value="" />
    <param name="volume" value="50" />
    <param name="autoplay" value="True" />
    <param name="loop" value="false" />
    <param name="fullscreen" value="false" />
    <param name="wmode" value="transparent" />
    <param name="toolbar" value="true" />
    <param name="windowless" value="true" />
  </object>
</div>
<script>
  var rtst_url = "rtsp://ID:password@ipcamera ip:554/H.264/media.smp";
  var options = [":network-caching=80", ":file-caching=80", ":hevc-fps=-340282346638528859811704183484516925440.000000", ":prefetch-buffer-size=250000", ":postproc-q=1", ":goom-width=100", ":goom-height=100", ":sout-chromecast-conversion-quality=3", ":preferred-resolution=240"];
  vlc10.playlist.clear();
  vlc10.playlist.add(rtsp_url,  null , options);
  vlc10.audio.toggleMute();
  vlc10.playlist.play();
</script>

0 个答案:

没有答案