点击登录

米环7小程序 【手环上的视频】环间视频小程序Beta+视频截取需要部分分帧工具

hjhhoni

Lv.7
🔥创作者
社区会员
作者大佬
首先感谢米坛Struggle的支持
虽然有点异想天开但还是做出来了
它来了!
环间视频的测试版(后续如果正反馈的话还会迭代)
功能:放一个8s内(看情况而定)的视频在手环里
描述:

d0e965c4df7eed0497ee657a70f397f.png
我的Beta版放的是jojo的米斯达,当然如果你想放别的什么也可以自行更改,方法如下:

1.选择喜爱的视频(最好5s内),用mp4ToPNG裁剪分帧需要部分+imgToTGA(米坛另外一位大佬的工具)
制作出tga格式图片
双击setup安装,点击mp4ToPNG.exe
cf1c13f1cb969393dfd6a5f04a45f1d.png


打开图如下,将需要转化视频拖入即可
修复一个BUG,视频路径不能有中文,否则会不弹出截取页面,建议视频放在桌面。
7197202dd4a59ae8409ca5612c17632.png
若拖入无反应或没有弹出截取框,可以试试看把视频放在exe同目录下运行
拖入文件之后会弹出截取框,框出想要的区域,(强烈建议竖屏)框选之后回车两下

b7222408bc4e9b8040c2c09fecc231f.png
该工具会自动改尺寸!!!并且等比例缩放图片最后文件会导出到与视频同目录的after文件夹里

因为工具是用python写的,90mb上传不了所以只能传网盘了
链接:https://pan.baidu.com/s/1MrGnywH2tGFamoqmosg0cw?pwd=mimi
提取码:mimi


再用img工具
7ae058f72073bca77bb17e12f4e9017.png

2.将图片资源放进assets/anim里
去page\192x490_s_l66\index.page1.js更改帧率与总帧数即可(帧率应与视频帧率相符)

建议去b站剪辑视频的软件查看帧率或导出固定帧率的视频(建议30帧/s)
d09652afe8078ff129286d06d66cc0e.png
记得把assets目录下的anim_0.png替换掉
5a2749fc523ffef50ebd45b01e46d84.png

完结撒花!!!!

注意!!!
使用mp4ToPNG时,应先双击setup.exe文件安装mp4ToPNG,仔细阅读readme文件熟悉
操作与已知bug。
 

附件

最后编辑:
领取红包用户
呂佾丞 Kukio_X 北大荒人 _Juvenile_dsw666 大鲨雕 結冷簡碳 cheah33322 evilretteb 不造起啥名
可以喔👍👍👍
 
感谢楼主的红包!

TomHoray领取了您的红包获得了0.97生米粒
 
感谢楼主的红包!

alex领取了您的红包获得了6.92生米粒
 
First of all, thanks to Mitan Struggle for his support
It's kind of weird, but it's done
it's coming!
The beta version of inter-ring video (it will be iterated in the future if there is positive feedback)
Function: Put a video within 8s (depending on the situation) in the bracelet
describe:
浏览附件17034
My Beta version is jojo's Mista, of course, if you want to put something else, you can change it yourself, the method is as follows:
1. Select your favorite video (preferably within 5s), and use mp4ToPNG to crop and divide the required parts into frames + imgToTGA (a tool from another big guy in Mitan)
Make a tga format picture
浏览附件17036
浏览附件17037
Because the tool is written in python, 90mb cannot be uploaded, so it can only be uploaded to the network disk
Link: https://pan.baidu.com/s/1Cd8bv998fXFbZY-C1sttUQ?pwd=mmmm Extraction code: mmmm After copying this content, open the Baidu Netdisk mobile app, which is more convenient to operate
2. Put the image resource into assets/anim
Go to page\192x490_s_l66\index.page1.js to change the frame rate and the total number of frames (the frame rate should match the video frame rate)
It is recommended to check the frame rate in the video editing software at station b or export a video with a fixed frame rate (recommended 30 frames/s)
浏览附件17035

Notice! ! !
When using mp4ToPNG, continue to double-click the setup.exe file to install mp4ToPNG, read the readme file carefully to get familiar with
Operation and known bugs.
Its not working at all . It's just showing back screen
 
如果可以的话给我点赞留言吧,希望更多的改进反馈,虽然受限于100多mb的小容量,但后期我会去找优化方法的,这是本人第一次参与社区开发,请多多支持
 

附件

  • 42ab285b5cf57f711ed25ca75bc86958.gif
    42ab285b5cf57f711ed25ca75bc86958.gif
    453 KB 下载
感谢楼主的红包!

_Juvenile_dsw666领取了您的红包获得了13.02生米粒
 

*这是一则由 Google AdSense 自动推荐的广告,与本站无关,不对其真实性与可靠性负责

相似主题

米环7表盘
32K
355

Home 首页
Home 资源
News 发现
Account 我的
顶部