Comments (7)
@abchenyu 这是远程视频吗?我目前没对远程视频做适配的,要不试试先缓存到本地,再从本地获取?
from jpimageresizerview.
@abchenyu 这是远程视频吗?我目前没对远程视频做适配的,要不试试先缓存到本地,再从本地获取?
不是远程视频,是把这个视频文件放在相册操作的。
from jpimageresizerview.
@abchenyu 这个问题目前还不太清楚为何 也有可能是视频文件的问题 我再去探究一下先
from jpimageresizerview.
@abchenyu 这个问题目前还不太清楚为何 也有可能是视频文件的问题 我再去探究一下先
目前尝试了设置audioMix可以成功,具体啥原因没搞明白
from jpimageresizerview.
@abchenyu 请问怎么设置呢
from jpimageresizerview.
@abchenyu 请问怎么设置呢
🥲
AVMutableAudioMix *audioMix = [AVMutableAudioMix audioMix];
// 插入音频轨道
AVAssetTrack *audioTrack = [asset tracksWithMediaType:AVMediaTypeAudio].firstObject;
if (audioTrack) {
AVMutableCompositionTrack *audioCompositionTrack = [composition addMutableTrackWithMediaType:AVMediaTypeAudio preferredTrackID:kCMPersistentTrackID_Invalid];
[audioCompositionTrack insertTimeRange:timeRange ofTrack:audioTrack atTime:kCMTimeZero error:nil];
AVMutableAudioMixInputParameters *inputParameter = [AVMutableAudioMixInputParameters audioMixInputParametersWithTrack: audioCompositionTrack];
[inputParameter setVolume:1 atTime:kCMTimeZero];
audioMix.inputParameters = @[inputParameter];
}
...
session.audioMix = audioMix;
from jpimageresizerview.
@abchenyu 十分蟹蟹٩('ω')و 我去适配一下
from jpimageresizerview.
Related Issues (20)
- 裁剪问题 HOT 2
- 里面逻辑好复杂呀 我就想要个简单的固定图片裁剪功能,默认样式那种。 好难分离出来,楼主有么。 HOT 2
- 请问,如何自定义裁剪框的frame大小? HOT 2
- 编译失败 HOT 1
- 裁剪GIF能否增加一个传图片数组?因为如果先用图片合成GIF后会有损变得不清晰,然后被裁剪后的图片也是不清晰,在用被裁剪后的图片生成GIF,就变得更不清晰了 HOT 2
- 需求建议 HOT 2
- 能否增加 自定义旋转角度的功能 HOT 3
- 如何计算图片的内存大小 HOT 2
- 如何设置待裁剪图片的contentMode HOT 1
- 部分属性设置无效 HOT 6
- 拖拽时怎样实时展示裁剪尺寸 HOT 1
- 使用swift构建pod私有库时,引入"JPImageresizerView",编译错误 HOT 1
- 如何自定义蒙版图片 HOT 4
- 设置固定比例裁剪4:3 3:4 1:1 点击3:4 在点击重置时 无响应 其他两个比例都重置可以的。 HOT 2
- 支持最多8个拖拽方向的裁剪区域? HOT 3
- 能否自定义裁剪框的frame,是中间镂空那个视图
- 裁剪bug HOT 2
- [Bug]保存配置,恢复配置后,不进行操作,recoveryByxxxxx无效 HOT 2
- 线上 crash HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jpimageresizerview.