FFmpegforUnity示例文件,这是一个DEMO,实际案例需自己修改代码; 项目采用的是ffmpeg_for_unity32位的,项目包含ffmpeg_for_unity32和ffmpeg_for_unity64位, 但dll名称已改为 统一的 ffmpeg_for_unity 地址: https://gitee.com/mrlx0/ffmpeg_for_unity.git Demo项目根据https://blog.csdn.net/qq_33214503/article/details/80091247 提供的工程创建,同时根据 http://blog.51cto.com/weiyuqingcheng/2323546 提供YV12ToRGBA方案,建立第二个场景; YV12ToRGBA效果不太理想,可能是算法问题,不想做太多研究; FFmpeg版,测试过采用64位的海康SDK,在 //解码回调函数 private void DecCallbackFUN 中未添加任何代码的情况下,项目都会无法退出(能正常播放); 所以采用32位海康SDK,同样 发布采用32位
这个是根据 https://blog.csdn.net/qq_33214503/article/details/80091247 的博客描述,在 https://blog.csdn.net/Lsc_hei 他提供的c++代码基础上修改的内容,可以编译32位和64位
Unity的练习项目
Your first K.I.S.S Unity 3D Framework.
Contributions last year: 0
Max continuous contributions: 0
Recent contributions: 0
Commits, issues, and pull requests will appear on your contribution graph. Only when the email address used for the commits in local configuration is associated with your GitOSC account, the commits' contribution will be counted.