从手机apk缓存的文件夹拷贝到电脑目录:
- 示例合并目录结构如下:
│ AutoConvertAll.bat
│ doConvert.bat
│ ffmpeg.exe
│ jq-win64.exe
├─android架构
│ ├─c_262477206
│ │ │ entry.json
│ │ │
│ │ └─80
│ │ audio.m4s
│ │ video.m4s
│ │
│ └─c_262487019
│ │ danmaku.xml
│ │ entry.json
│ │
│ └─80
│ audio.m4s
│ video.m4s
│
└─android高级
├─c_262477206
│ │ entry.json
│ │
│ └─80
│ audio.m4s
│ video.m4s
│
└─c_262487019
│ entry.json
│
└─80
audio.m4s
video.m4s
目标是将entry.json中取出文件名<视频名>,然后将 audio.m4s,video.m4s合并输出 <视频名>.mp4 到 android高级 这种第一级子目录下。
- step1:
准备工具 ffmpeg.exe 音视频编辑工具,jq-win64.exe json解析工具 - step2:
提取文件名字, cmd命令与输出如下: