随笔分类 - media
media
摘要:在原视频的生成基础上,可以在不同字幕、不同播放位置贴入不同图片;
阅读全文
摘要:f_x, f_y = math.floor((mode_img_size_wh[0]) * 0.15), math.floor(mode_img_size_wh[1] * 0.85) 大众审美??字幕大小、位置分别相对屏幕相应量的比例
阅读全文
摘要:''' SELECT * FROM Info_Roles WHERE Flag=1 LIMIT 2; select top y * from 表 where 主键 not in(select top (x-1)*y 主键 from 表) 如果表中无主键,可以用临时表,加标识字段解决.这里的x,y可以用变量. ...
阅读全文
摘要:时间格式化查询 SELECT GETDATE();SELECT DAY(GETDATE());SELECT DAY(GETDATE());SELECT convert(varchar, getdate(), 103) ; #10/05/2018 SELECT TOP 1 dateandtime FR
阅读全文
摘要: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...
阅读全文
摘要:param size: The requested size, in points.字幕宽度的自适应 、 fontScale c++ - OpenCV find the text Scale from a size - Stack Overflow https://stackoverflow.com
阅读全文
摘要: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) ...
阅读全文
摘要:原理是将字幕写到图片中,然后再写入视频的帧中 对图片适应
阅读全文
摘要: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] ...
阅读全文
摘要:音频特征提取——librosa工具包使用 - 桂。 - 博客园 https://www.cnblogs.com/xingshansi/p/6816308.html 采样频率,也称为采样速度或者采样率,定义了每秒从连续信号中提取并组成离散信号的采样个数,它用赫兹(Hz)来表示。采样频率的倒数是采样周期
阅读全文
摘要:恭喜恭喜歌词 唐嫣 - 音乐巴士 http://www.yy8844.cn/geci/mswcn/nvunns.shtml 恭喜恭喜歌词感谢 音乐巴士 珍妮 编辑歌词匹配时间为: 03 分 06 秒 的歌曲音乐巴士 www.yy8844.cn恭喜恭喜 演唱:唐嫣作词:唐嫣 作曲:唐嫣 歌词编辑:珍妮
阅读全文
摘要:字幕文件生成 文档中心--百度AI https://ai.baidu.com/docs#/TTS-Online-Python-SDK/top 文本段落 》MP3 》字幕文件
阅读全文
摘要:Combining an audio file with video file in python - Stack Overflow https://stackoverflow.com/questions/28219049/combining-an-audio-file-with-video-fil
阅读全文
摘要: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] ...
阅读全文