2020/5/27

视频转码压缩ffmpeg

ffmpeg -i test_video.mp4 -b 400k -vcodec libx264 -y test_video_handle.mp4 可以将视频压缩为原来的十分之一,但是有个问题就是压缩时CPU占用率很高,在97%以上(与计算机配置有关,甚至能达到100%),这在视频…

  • 视频处理
  • 2020/5/27
  • helei
  • 1,336
  • 2020/5/25

    html预览words

    http://view.xdocin.com/xdoc?_xdoc=url url为word文档地址

  • java
  • 2020/5/25
  • helei
  • 1,224
  • 2020/5/22

    php获取微信openid

    1 让用户访问此链接 https://open.weixin.qq.com/connect/oauth2/authorize?appid=你的appid&redirect_uri=回调url&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect 2 …

  • php
  • 2020/5/22
  • helei
  • 937
  • 2020/5/21

    springboot项目

    链接:https://pan.baidu.com/s/10eXmtpOq92iPkQM0piKjeQ  提取码:inaz 

  • springboot
  • 2020/5/21
  • helei
  • 1,359
  • 2020/5/21

    php遍历文件夹所有文件

    scandir https://www.php.net/manual/zh/function.scandir.php

  • php
  • 2020/5/21
  • helei
  • 1,229
  • 2020/5/21

    java获取文件夹下所有文件名称

    File file = new File("F:\\文件\\images\\yz\\gj\\"); File[] files = file.listFiles(); for (File file2 : files) { System.out.println(file2.getName()); }

  • java
  • 2020/5/21
  • helei
  • 1,045
  • 2020/5/21

    java读取words

    maven引入 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>3.8</version> </dependency> <dependency> &l…

  • java
  • 2020/5/21
  • helei
  • 994