如果您需要使用AVPro播放上下/左右样式的透明视频,但是后期同事提供过来的素材是mov透明视频或者序列帧,就可以用这个工具将其转成mp4来进行播放
- 将mov格式的透明视频转为png格式的序列帧
- 把序列帧合并为上下或者左右格式的mp4
- 将TransparentPNG2MP4/StreamingAssets目录移动到Assets/StreamingAssets目录
- 解压StreamingAssets/ffmpeg.zip为ffmpeg.exe
- 打开编辑器菜单Tools->Transparent Processor
- OK可以使用了
- 视频教程:https://space.bilibili.com/13459234
If you need to use AVPro to play transparent videos with up, down, left, and right styles, but the materials provided by colleagues in the later stage are mov transparent videos or sequence frames, you can use this tool to convert them into mp4 for playback
- Convert transparent videos in mov format to sequence frames in png format
- Merge the sequence frames into top, bottom, or left and right format MP4
- Move the StreamingAssets directory to the Assets/StreamingAssets directory
- Unzip StreamingAssets/ffmpeg.zip to ffmpeg.exe
- Open the editor menu Tools ->Transparent Processor
- OK, it can be used now