GPUImage 报错reason: 'Incomplete filter FBO: 36055'
来源:互联网 发布:浪潮软件二级部门 编辑:程序博客网 时间:2024/06/05 16:08
Crash on videos without sound!
fixed:
AVAsset *anAsset = [AVAsset assetWithURL:_dictInfo[UIImagePickerControllerMediaURL]];
AVAssetTrack *assetTrack = [[anAsset tracksWithMediaType:AVMediaTypeVideo] objectAtIndex:0];
_movieFile = [[GPUImageMovie alloc] initWithAsset:anAsset];
_movieWriter = [[GPUImageMovieWriter alloc] initWithMovieURL:_URLInputVideoFile size:assetTrack.naturalSize];
if ([[anAsset tracksWithMediaType:AVMediaTypeAudio] count] > 0){ _movieFile.audioEncodingTarget = _movieWriter; } else {//no audio _movieFile.audioEncodingTarget = nil; }
https://github.com/BradLarson/GPUImage/issues/1276#issuecomment-39695145
如果设置为nil,录制的视频将会没有声音。
0 0
- GPUImage 报错reason: 'Incomplete filter FBO: 36055'
- 编译报错"field has incomplete type"
- chain.filter报错
- Filter转发报错
- filter报错
- 关于编译报错“dereferencing pointer to incomplete type...
- 关于编译报错“dereferencing pointer to incomplete type...
- 关于编译报错“dereferencing pointer to incomplete type...
- 关于编译报错“dereferencing pointer to incomplete type...
- 关于编译报错“dereferencing pointer to incomplete type...
- 关于编译报错“dereferencing pointer to incomplete type..
- 编译报错dereferencing pointer to incomplete type
- ORA-15040: diskgroup is incomplete 报错分析
- 关于编译报错“dereferencing pointer to incomplete type
- maven报错, Reason: Cannot find parent一点提醒
- CentOS 6.4 下DB2登录报错SQL30082N reason "26"
- 解决ios/swift 报错 Reason: image not found
- 使用mysql报错显示Reason: im…
- 今天是个数据日 外汇市场高潮不断,你准备好了吗?
- 开源GIS软件初探
- 【多媒体封装格式详解】---MKV【3】完
- xargs
- Accumarray函数在c++中的实现
- GPUImage 报错reason: 'Incomplete filter FBO: 36055'
- hdu 2089 不要62(数位dp)暴力
- 自定义模态框(弹出框)
- ZigBee中的技术问题以及解决方案
- nginx lua
- Android---Monkey指令进行压力测试实例(模拟点击)
- 我们为什么要用DataBinding?
- android 动画 属性动画 ValueAnimator
- 文章标题