【自制】东方原曲MV线上生成播放器
本帖最后由 ja387881 于 2018-9-9 01:23 编辑连结:https://jasonnor.github.io/th-music-video-generator/
项目开源地址:https://github.com/Jasonnor/th-music-video-generator
最近想做个东方原曲个人向Top50,编排MV过程中,觉得部分元素可以自动化产生(例如进场配图、游戏画面皆能爬虫取得),而且比较少有同时包含配图和弹幕画面的原曲MV(个人认为弹幕也是欣赏东方原曲不可缺少的要素之一),于是萌生了这个项目的概念。
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/main.gif
基本想法是曲子开始後,先显示两张随机图片,每张各6秒,之後无缝接上游戏对应的关卡影片,中间皆以淡入淡出来转场。事前我先建立了简单的资料库,包含了曲名丶对应角色(标签)和关卡等,根据标签从pixiv爬好并筛选了近两千张高收藏数的作品,使用Google Data API来爬Youtube上的游戏影片ID,之後逐渐完善播放器和生成逻辑。目前成品Demo(加速版)如上图。
标题下面会标明该曲所属的系列以及当前显示作品的Pixiv ID或Youtube ID,另外本项目支援行动装置使用,下图为平板环境:
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/image01.png
计算机环境:
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/image02.png
手机环境为了降低运算资源,会把音频波型动画改为静态波型(未来会改为可设定):
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/image-mobile01.pnghttps://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/image-mobile02.png
游戏剪影的播放清单(未来会增加收藏功能,显示已收藏曲在上方):
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/menu.png
MV中游戏弹幕展示:
https://github.com/Jasonnor/th-music-video-generator/raw/master/images/demo/video.gif
本项目开源於Github(https://github.com/Jasonnor/th-music-video-generator),未来也将继续扩充更新,喜欢的话给个Star我会很开心 {:08:}
使用中遇到问题也欢迎在Github提出issues或PR协助这个项目,已知Bug清单在这里可以查看:
https://github.com/Jasonnor/th-music-video-generator/issues/5
2018/09/10 更新
https://i.imgur.com/CmHcrYl.jpg
1. 加入了随机播放的功能,点击右下角齿轮即可设定
2. 现在可以点击曲名下面的pid/vid直接前往原图/影片网址罗! 2018/09/11 更新
https://i.imgur.com/TtJsTnQ.png
1. 新增自定义MV生成选项,可以设定MV中图片的数量和每张持续时间
2. 新增网址选曲功能,播放後会在网址加上曲目编号,把网址分享给朋友一同欣赏吧! 收藏了 本帖最后由 ja387881 于 2018-12-2 20:36 编辑
2018/12/02 更新
https://i.imgur.com/EFa78Mz.jpg
1. 新增音乐波形控制选项(Animated Waveform),喜欢静态波型或者计算机效能不足的可以关掉动态波型(行动端预设关闭)
2. 新增副歌Only模式(Chorus-Only Mode),只拨放曲子的精华片段(由於东方音乐的多变性,也可能是主歌+副歌),目前仅支持旧作~妖々夢
副歌Only模式采用人工标记时间片段的方式,强烈徵求协助中,欢迎回覆提供曲子副歌时间点(开始丶结束,曲中最棒的部分),也可以在 GitHub issue 页面留言(https://github.com/Jasonnor/th-music-video-generator/issues/16),或者直接修改 th-song.json 後发送 Pull Request,感谢各位!
现在妖々夢之後的副歌时间点都还未完成,最新进度可以到这里确认,有 chorus_start_time 的代表已经标记了:https://github.com/Jasonnor/th-music-video-generator/blob/master/database/th-song.json
睽违快四年的更新!
https://i.imgur.com/RaDO4Da.png
https://i.imgur.com/D6vtI80.png
1. 补上了这几年新的系列作音乐,包含:秘封噩梦日记、鬼形兽、刚欲异闻和虹龙洞
2. 感谢 GitHub 上热情的东方粉丝 hemi 开发了多国语系支持,现在所有曲子都能切换各国主要语言了!
3. 修复了图片会随机到重覆图的问题
看到过了这麽多年还有使用者真的很开心,未来闲暇之馀也会继续开发新功能,欢迎协助开发和回报错误,感谢大家!
已知错误清单:https://github.com/Jasonnor/th-music-video-generator/issues/5
已损毁的影片列表:https://github.com/Jasonnor/th-music-video-generator/issues/24
新曲副歌时间点回报:https://github.com/Jasonnor/th-music-video-generator/issues/16
页:
[1]