摘要: FFMPEG常用代码 FFMPEG夸平台: \是MAC终端的换行符 ^是windowsCMD的换行符 本文中两种都有用到 视频剪切 ffmpeg -ss 00:00:00 -t 0:0:10 ^ -i "D:\AH_DATA\FFmpegTest\in31s.mp4" ^ -codec copy ^ 阅读全文
posted @ 2023-01-24 19:43 虎老狮 阅读(83) 评论(0) 推荐(0) 编辑
摘要: Python语音识别 需求:用代码将录音转成文字,常规普通话,不是播音员那种标准发音。 结论:无论在线或是离线,用代码调用的效果都不太理想。 1、离线模式 参考:https://blog.csdn.net/qq_41891021/article/details/90737715 pip instal 阅读全文
posted @ 2023-01-24 18:39 虎老狮 阅读(394) 评论(0) 推荐(1) 编辑
摘要: SceneDetect:按场景切割视频 安装场景检测所需模块 参考:https://www.bilibili.com/read/cv11979572/ #安装场景检测所需模块 pip install scenedetect[opencv] -i https://pypi.tuna.tsinghua. 阅读全文
posted @ 2023-01-24 18:12 虎老狮 阅读(416) 评论(0) 推荐(0) 编辑
摘要: Python抓取百度关键字联想信息 参考:https://www.jianshu.com/p/dc1ec2456331?appinstall=0 MAC上运行经常得到乱码,只有偶尔非乱码; 该方法其实没什么实用价值。 #https://www.jianshu.com/p/dc1ec2456331?a 阅读全文
posted @ 2023-01-24 18:00 虎老狮 阅读(80) 评论(0) 推荐(0) 编辑
摘要: Java压缩文件/文件夹 应用场景: 备份文件,然而,某网盘不让上传大文件, 那就一个文件夹一个文件夹地压缩,再上传。 手动压缩太麻烦,故用代码压缩之。 package com.ah.utils; import java.io.File; import java.io.FileInputStream 阅读全文
posted @ 2023-01-24 17:21 虎老狮 阅读(1482) 评论(0) 推荐(0) 编辑
摘要: PyAutoGui 参考:https://zhuanlan.zhihu.com/p/466800088 参考:https://blog.csdn.net/weixin_38640052/article/details/112387653 安装: pip3 install pyautogui 引入: 阅读全文
posted @ 2023-01-24 14:59 虎老狮 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 操作系统通过“句柄”定位核心对象和系统资源。 句柄是一种指向某种资源的指针,但不能修改该资源的数据。 如: 牧童遥指杏花村——杏花村是句柄,对象的实例是“酒家” 阅读全文
posted @ 2020-10-01 14:44 虎老狮 阅读(172) 评论(0) 推荐(0) 编辑
摘要: (1)进入文件夹: C:\Users\xxx\AppData\Roaming\Microsoft\Windows\SendTo (2)新建快捷方式 (3)输入: "C:\Program Files\Microsoft Office\Office16\EXCEL.EXE" -r (4)打开文件:右键→ 阅读全文
posted @ 2020-09-15 15:05 虎老狮 阅读(318) 评论(0) 推荐(0) 编辑
摘要: Bcrypt加密,JWT,应用:鉴权 阅读全文
posted @ 2020-06-04 11:55 虎老狮 阅读(380) 评论(0) 推荐(0) 编辑
摘要: RabbitMQ+Redis模拟手机验证码登录 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> <d 阅读全文
posted @ 2020-06-04 11:51 虎老狮 阅读(538) 评论(0) 推荐(0) 编辑