06 2021 档案

摘要:安装 pip install chardet pip 安装比较慢,可以参考 https://www.cnblogs.com/yunhgu/p/14749066.html 修改源就很很快了 如何使用 #! /usr/bin/env python # -*- coding: utf-8 -*-# # # 阅读全文
posted @ 2021-06-30 10:24 不能说的秘密 阅读(317) 评论(0) 推荐(0) 编辑
摘要:什么是字幕文件? 字幕文件就是在播放视频的时候加载的用来记录显示字幕的文件。文本格式字幕的扩展名通常是 ass、srt、smi、ssa 或 sub,因为是文本格式,所以尺寸很小,通常不过百十来 KB。其中 srt 文本字幕是最流行的,因为其制作和修改非常简单:一句时间代码 + 一句字幕。 pysrt 阅读全文
posted @ 2021-06-29 10:24 不能说的秘密 阅读(3364) 评论(0) 推荐(0) 编辑
摘要:python 多进程运行报错concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pend 阅读全文
posted @ 2021-06-25 16:57 不能说的秘密 阅读(3000) 评论(1) 推荐(0) 编辑
摘要:简介 FFmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。 下载 下载地址为:http://www.ffmpeg.org/download.html 支持linux,windows,macOS 简单的使用 ffmpeg 命令集举例 1.获取视频的信息 ffmpeg 阅读全文
posted @ 2021-06-24 09:45 不能说的秘密 阅读(257) 评论(0) 推荐(0) 编辑
摘要:##1. 简介 Google开源的用于人声识别,输入支持10ms,20ms,30ms的音频段,采样率支持8000, 16000, 32000 or 48000 Hz github 地址:https://github.com/wiseman/py-webrtcvad ##2. python中安装以及使 阅读全文
posted @ 2021-06-24 09:20 不能说的秘密 阅读(2593) 评论(0) 推荐(1) 编辑
摘要:安装dlib库(不安装这个库的话,face_recognition库无法安装) 安装cmake 从官网下载 https://cmake.org/download/ installer 直接安装,或者zip,自行解压配置。 百度网盘地址:链接:https://pan.baidu.com/s/1J6Hm 阅读全文
posted @ 2021-06-22 14:47 不能说的秘密 阅读(357) 评论(0) 推荐(0) 编辑
摘要:import os os.system("pause") 阅读全文
posted @ 2021-06-21 14:41 不能说的秘密 阅读(1606) 评论(0) 推荐(0) 编辑
摘要:python中用于弹出文件,文件夹选择的界面 import tkinter as tk from tkinter import filedialog '''打开选择文件夹对话框''' root = tk.Tk() root.withdraw() Folderpath = filedialog.ask 阅读全文
posted @ 2021-06-21 13:40 不能说的秘密 阅读(300) 评论(0) 推荐(0) 编辑
摘要:python标准库sys模块 sys.argv #命令行参数List,第一个元素是程序本身路径 sys.exit(n) #退出程序,正常退出时exit(0) sys.version #获取Python解释程序的版本信息 sys.maxint # 最大的Int值 sys.path #返回模块的搜索路径 阅读全文
posted @ 2021-06-18 09:41 不能说的秘密 阅读(2197) 评论(0) 推荐(0) 编辑
摘要:修改C:\WINDOWS\system32\drivers\etc 下的hosts 文件(使用管理员权限) 加入下面的内容: 199.232.68.133 raw.githubusercontent.com # comments. put the address here 阅读全文
posted @ 2021-06-17 11:28 不能说的秘密 阅读(891) 评论(0) 推荐(0) 编辑
摘要:#! /usr/bin/env python # -*- coding: utf-8 -*-# # # Name: ${NAME} # Author: yunhgu # Date: ${DATE} ${TIME} # Description: # 阅读全文
posted @ 2021-06-16 14:56 不能说的秘密 阅读(173) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示