随笔分类 -  media

media
摘要:在原视频的生成基础上,可以在不同字幕、不同播放位置贴入不同图片; 阅读全文
posted @ 2018-04-13 12:20 papering 阅读(213) 评论(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 阅读(139) 评论(0) 推荐(0)
摘要:目的是拿到播放时间长 视频 音频 文件信息 阅读全文
posted @ 2018-04-12 10:12 papering 阅读(560) 评论(0) 推荐(0)
摘要:一句话一个画面 一个字符 一帧 阅读全文
posted @ 2018-04-11 11:16 papering 阅读(466) 评论(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 阅读(193) 评论(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 阅读(294) 评论(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 阅读(330) 评论(0) 推荐(0)
摘要:图片自适应 阅读全文
posted @ 2018-04-10 11:09 papering 阅读(242) 评论(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 阅读(248) 评论(0) 推荐(0)
摘要:递归 启发式 避免步长和可容忍的时延的 固定摇摆 阅读全文
posted @ 2018-04-09 20:14 papering 阅读(282) 评论(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 阅读(369) 评论(0) 推荐(0)
摘要:依照众数的长宽比、尺寸,定视频的长宽比、尺寸 阅读全文
posted @ 2018-04-09 16:40 papering 阅读(199) 评论(0) 推荐(0)
摘要:图片拉伸,改变长宽比 阅读全文
posted @ 2018-04-09 16:39 papering 阅读(346) 评论(0) 推荐(0)
摘要:原理是将字幕写到图片中,然后再写入视频的帧中 对图片适应 阅读全文
posted @ 2018-04-09 13:24 papering 阅读(434) 评论(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 阅读(172) 评论(0) 推荐(0)
摘要:音频特征提取——librosa工具包使用 - 桂。 - 博客园 https://www.cnblogs.com/xingshansi/p/6816308.html 采样频率,也称为采样速度或者采样率,定义了每秒从连续信号中提取并组成离散信号的采样个数,它用赫兹(Hz)来表示。采样频率的倒数是采样周期 阅读全文
posted @ 2018-04-08 17:23 papering 阅读(891) 评论(0) 推荐(0)
摘要:恭喜恭喜歌词 唐嫣 - 音乐巴士 http://www.yy8844.cn/geci/mswcn/nvunns.shtml 恭喜恭喜歌词感谢 音乐巴士 珍妮 编辑歌词匹配时间为: 03 分 06 秒 的歌曲音乐巴士 www.yy8844.cn恭喜恭喜 演唱:唐嫣作词:唐嫣 作曲:唐嫣 歌词编辑:珍妮 阅读全文
posted @ 2018-04-08 17:08 papering 阅读(305) 评论(0) 推荐(0)
摘要:字幕文件生成 文档中心--百度AI https://ai.baidu.com/docs#/TTS-Online-Python-SDK/top 文本段落 》MP3 》字幕文件 阅读全文
posted @ 2018-04-08 16:52 papering 阅读(216) 评论(0) 推荐(0)
摘要:Combining an audio file with video file in python - Stack Overflow https://stackoverflow.com/questions/28219049/combining-an-audio-file-with-video-fil 阅读全文
posted @ 2018-04-08 15:08 papering 阅读(517) 评论(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-08 14:38 papering 阅读(163) 评论(0) 推荐(0)