上一页 1 ··· 127 128 129 130 131 132 133 134 135 ··· 188 下一页
摘要: # 设置分句的标志符号;可以根据实际需要进行修改 # cutlist = "。!?".decode('utf-8') cutlist = ['\n', '\t', '。', ';', '?', '.', ';', '?', '...', '、、、', ':'] cutlist = ['\n', '\t', '。', ';' 阅读全文
posted @ 2018-04-13 17:08 papering 阅读(279) 评论(0) 推荐(0)
摘要: l = [] for i in range(44): l.append(i) mystep = 6 ll, r = [], [] for i in range(len(l)): print(i) if i < mystep: ll = l[0:i] else: ll = l[i - mystep:i] r.... 阅读全文
posted @ 2018-04-13 14:30 papering 阅读(143) 评论(0) 推荐(0)
摘要: 先生成一张黑色图,再用白色填充 中文字符 阅读全文
posted @ 2018-04-13 14:16 papering 阅读(537) 评论(0) 推荐(0)
摘要: 在原视频的生成基础上,可以在不同字幕、不同播放位置贴入不同图片; 阅读全文
posted @ 2018-04-13 12:20 papering 阅读(216) 评论(0) 推荐(0)
摘要: 因子优化 阅读全文
posted @ 2018-04-13 10:59 papering 阅读(233) 评论(0) 推荐(0)
摘要: 音频 分析 阅读全文
posted @ 2018-04-12 17:03 papering 阅读(243) 评论(0) 推荐(0)
摘要: 屏幕显示字幕内容与形式 和 字幕的播放时长分离 : 去除标点符号的影响 阅读全文
posted @ 2018-04-12 15:56 papering 阅读(388) 评论(0) 推荐(0)
摘要: # 设置分句的标志符号;可以根据实际需要进行修改 # cutlist = "。!?".decode('utf-8') cutlist = ['\n', '\t', '。', ';', '?', '.', ';', '?', '...', '、、、', ':'] cutlist = ['\n', '\t', '。', ';' 阅读全文
posted @ 2018-04-12 15:33 papering 阅读(230) 评论(0) 推荐(0)
摘要: f_x, f_y = math.floor((mode_img_size_wh[0]) * 0.15), math.floor(mode_img_size_wh[1] * 0.85) 大众审美??字幕大小、位置分别相对屏幕相应量的比例 阅读全文
posted @ 2018-04-12 14:57 papering 阅读(142) 评论(0) 推荐(0)
摘要: 目的是拿到播放时间长 视频 音频 文件信息 阅读全文
posted @ 2018-04-12 10:12 papering 阅读(567) 评论(0) 推荐(0)
摘要: # 设置分句的标志符号;可以根据实际需要进行修改 # cutlist = "。!?".decode('utf-8') cutlist = ['\n', '\t', '。', ';', '?', '.', ';', '?', '...', '、、、', ':'] # cutlist = [ '。', ';', '?', '.' 阅读全文
posted @ 2018-04-12 09:42 papering 阅读(235) 评论(0) 推荐(0)
摘要: 分析非线性系统2个突破口:0-采集数据,依靠统计 1- 切换维度,回归线性 阅读全文
posted @ 2018-04-11 22:24 papering 阅读(264) 评论(0) 推荐(0)
摘要: 假设 句子单位 字符发音时长均值 相等 阅读全文
posted @ 2018-04-11 20:52 papering 阅读(162) 评论(0) 推荐(0)
摘要: 统计? 阅读全文
posted @ 2018-04-11 19:21 papering 阅读(155) 评论(0) 推荐(0)
摘要: 一段声音 一串文字 时间对应 如果不分析音频 无论走句子 还是走单个字 都是基于线性的 但是 声音的发声长度与自字符串长度 是非线性的、、、、 难道统计表明 以句子长度为单位,单个字符串的发音时间均值为定值吗?? no 阅读全文
posted @ 2018-04-11 17:58 papering 阅读(205) 评论(0) 推荐(0)
摘要: ffmpeg 多个音频合并 截取 拆分_李明川_新浪博客 http://blog.sina.com.cn/s/blog_50e610900102vkab.html ffmpeg 音频合并 - CSDN博客 https://blog.csdn.net/u012416398/article/detail 阅读全文
posted @ 2018-04-11 14:36 papering 阅读(154) 评论(0) 推荐(0)
摘要: 换行符影响 阅读全文
posted @ 2018-04-11 14:34 papering 阅读(401) 评论(0) 推荐(0)
摘要: 一句话一个画面 一个字符 一帧 阅读全文
posted @ 2018-04-11 11:16 papering 阅读(471) 评论(0) 推荐(0)
摘要: ''' SELECT * FROM Info_Roles WHERE Flag=1 LIMIT 2; select top y * from 表 where 主键 not in(select top (x-1)*y 主键 from 表) 如果表中无主键,可以用临时表,加标识字段解决.这里的x,y可以用变量. ... 阅读全文
posted @ 2018-04-11 11:00 papering 阅读(199) 评论(0) 推荐(0)
摘要: Python 中文分句 - CSDN博客 https://blog.csdn.net/laoyaotask/article/details/9260263 数据库html 数据的分句 阅读全文
posted @ 2018-04-11 09:18 papering 阅读(300) 评论(0) 推荐(0)
摘要: win 查看及导出目录结构 目录 一、查看目录结构 1. 查看目录结构(文件夹) 2. 查看目录结构(包括文件) 二、导出目录结构 一、查看目录结构 目录窗口视图 1. 查看目录结构(文件夹) 在当前要操作的文件夹目录下输入命令tree. 此时得到目录下树形的目录结构。默认情况下只显示“文件夹”而不 阅读全文
posted @ 2018-04-10 16:24 papering 阅读(2178) 评论(0) 推荐(0)
摘要: 对数据html文本 的处理 : 提取文字、图片、分句 阅读全文
posted @ 2018-04-10 16:23 papering 阅读(338) 评论(0) 推荐(0)
摘要: 时间格式化查询 SELECT GETDATE();SELECT DAY(GETDATE());SELECT DAY(GETDATE());SELECT convert(varchar, getdate(), 103) ; #10/05/2018 SELECT TOP 1 dateandtime FR 阅读全文
posted @ 2018-04-10 15:59 papering 阅读(304) 评论(0) 推荐(0)
摘要: import os import os, time, glob import cv2 os_sep = os.sep this_file_abspath = os.path.abspath(__file__) this_file_dirname, this_file_name = os.path.dirname(this_file_abspath), os.path.absp... 阅读全文
posted @ 2018-04-10 11:10 papering 阅读(334) 评论(0) 推荐(0)
摘要: 图片自适应 阅读全文
posted @ 2018-04-10 11:09 papering 阅读(248) 评论(0) 推荐(0)
摘要: param size: The requested size, in points.字幕宽度的自适应 、 fontScale c++ - OpenCV find the text Scale from a size - Stack Overflow https://stackoverflow.com 阅读全文
posted @ 2018-04-10 10:59 papering 阅读(251) 评论(0) 推荐(0)
摘要: 去掉文件下所有的.svn - CSDN博客 https://blog.csdn.net/arui_email/article/details/9055645 FOR /r D:\testsvn\produce_video %%a IN (.svn) DO rmdir /s/q %%a FOR /r 阅读全文
posted @ 2018-04-10 09:48 papering 阅读(163) 评论(0) 推荐(0)
摘要: C:\Users\sas\PycharmProjects\produce_video\mypng\a (1).jpg OpenCV Error: Assertion failed (wsz == wsz0) in cv::mjpeg::BitStream::writeBlock, file C:\projects\opencv-python\opencv\modules\videoio\... 阅读全文
posted @ 2018-04-10 08:57 papering 阅读(491) 评论(0) 推荐(0)
摘要: 添加随机扰动 爬山算法 避免陷入不动域 控制步长参数和时延阈值,通过递归函数,实现音视频的同步问题。 阅读全文
posted @ 2018-04-09 20:20 papering 阅读(688) 评论(0) 推荐(1)
摘要: 递归 启发式 避免步长和可容忍的时延的 固定摇摆 阅读全文
posted @ 2018-04-09 20:14 papering 阅读(287) 评论(0) 推荐(0)
摘要: import osmy_file = '23.txt'if os.path.exists(my_file): #删除文件,可使用以下两种方法。 os.remove(my_file) #os.unlink(my_file) 阅读全文
posted @ 2018-04-09 19:56 papering 阅读(181) 评论(0) 推荐(0)
摘要: linux curl 下载图片 curl -s -O https://images.shobserver.com/news/690_390/2017/11/5/a1675f4b-64da-4c7c-9432-218f89512aa4.jpg curl -s -O https://images.sho 阅读全文
posted @ 2018-04-09 19:42 papering 阅读(1684) 评论(0) 推荐(0)
摘要: def compute_video_playtime(f): # Create a VideoCapture object and read from input file # If the input is the camera, pass 0 instead of the video file name cap = cv2.VideoCapture(f) ... 阅读全文
posted @ 2018-04-09 18:41 papering 阅读(373) 评论(0) 推荐(0)
摘要: 依照众数的长宽比、尺寸,定视频的长宽比、尺寸 阅读全文
posted @ 2018-04-09 16:40 papering 阅读(202) 评论(0) 推荐(0)
摘要: 图片拉伸,改变长宽比 阅读全文
posted @ 2018-04-09 16:39 papering 阅读(349) 评论(0) 推荐(0)
摘要: 原理是将字幕写到图片中,然后再写入视频的帧中 对图片适应 阅读全文
posted @ 2018-04-09 13:24 papering 阅读(437) 评论(0) 推荐(0)
摘要: import os os_sep = os.sep this_file_abspath = os.path.abspath(__file__) this_file_dirname, this_file_name = os.path.dirname(this_file_abspath), os.path.abspath(__file__).split(os_sep)[ -1] ... 阅读全文
posted @ 2018-04-09 11:56 papering 阅读(177) 评论(0) 推荐(0)
摘要: Music information retrieval - Wikipedia https://en.wikipedia.org/wiki/Music_information_retrieval Music information retrieval (MIR) is the interdiscip 阅读全文
posted @ 2018-04-08 17:27 papering 阅读(481) 评论(0) 推荐(0)
摘要: 音频特征提取——librosa工具包使用 - 桂。 - 博客园 https://www.cnblogs.com/xingshansi/p/6816308.html 采样频率,也称为采样速度或者采样率,定义了每秒从连续信号中提取并组成离散信号的采样个数,它用赫兹(Hz)来表示。采样频率的倒数是采样周期 阅读全文
posted @ 2018-04-08 17:23 papering 阅读(905) 评论(0) 推荐(0)
摘要: 恭喜恭喜歌词 唐嫣 - 音乐巴士 http://www.yy8844.cn/geci/mswcn/nvunns.shtml 恭喜恭喜歌词感谢 音乐巴士 珍妮 编辑歌词匹配时间为: 03 分 06 秒 的歌曲音乐巴士 www.yy8844.cn恭喜恭喜 演唱:唐嫣作词:唐嫣 作曲:唐嫣 歌词编辑:珍妮 阅读全文
posted @ 2018-04-08 17:08 papering 阅读(312) 评论(0) 推荐(0)
上一页 1 ··· 127 128 129 130 131 132 133 134 135 ··· 188 下一页