- saveEffectToLocal() - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
将所有特效持久化到本地文件
如果要使用AliyunICompose接口合成,必须通过该接口将特效配置持久化到本地文件中
- SCALE_CROP - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- SCALE_FILL - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- scaleMode(VideoDisplayMode) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam.Builder
-
设置视频画面裁剪模式
- scaleRate(float) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam.Builder
-
合成视频的缩放比例,目前仅支持AliyunICompose
- seek(long) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
seek到某个时间点
- seek(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
seek到某个时间点
- seek(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPlayerController
-
seek到某个时间点
- seek(long) - Method in interface com.aliyun.svideosdk.editor.template.AliyunTemplatePlayer
-
seek到某个时间点
- seek(long) - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
快进
- seek(int) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIPlayer
-
seek 播放器到指定帧
- setAlpha(int) - Method in class com.aliyun.svideosdk.common.AliyunColor
-
- setAlpha(float) - Method in interface com.aliyun.svideosdk.editor.AliyunILayoutController
-
设置透明度
- setAnimationConfig(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
Deprecated.
- setAnimationConfig(List<<any>>) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionFade
-
- setAnimationConfig(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
- setAnimationConfig(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionSet
-
- setAnimationConfig(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionShader
-
- setAnimationConfig(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionWipe
-
- setAnimationRestoredListener(OnAnimationFilterRestored) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setAudioChannel(AliyunVideoParam.AudioChannel) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置音频通道数
- setAudioChannel(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置音频通道数
- setAudioEffect(AudioEffectType, float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAudioController
-
增加音效
如果素材无音轨,该接口返回成功,但是没有效果
- setAudioFadeIn(ShapeType, long) - Method in interface com.aliyun.svideosdk.editor.AliyunIAudioController
-
设置音频淡入,从音频0秒开始
- setAudioFadeIn(int, ShapeType, long) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
v3.20 新增
- setAudioFadeOut(ShapeType, long) - Method in interface com.aliyun.svideosdk.editor.AliyunIAudioController
-
设置音频淡出, 从后面到音频结束
- setAudioFadeOut(int, ShapeType, long) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
v3.20 新增
- setAudioSampleRate(AliyunVideoParam.AudioSampleRate) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置采样率
- setAudioSampleRate(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置采样率
- setAudioSilence(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置静音状态,该接口只对播放模式下有效,合成视频无法静音
- setAudioStreamId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectMV
-
设置音频流id
- setAutoPreviewAfterTakePhoto(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置拍照后是否继续预览
- setBackgroundColor(AliyunColor) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕背景颜色
v3.23.0 添加
- setBackgroundColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置背景颜色
v3.24.0 新增
- setBackgroundColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
- setBackgroundColor(AliyunColor) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕背景颜色
v3.23.0 添加
- setBackgroundColor(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixComposer
-
设置合成窗口非填充模式下的背景颜色
v3.19.0 新增
- setBackgroundColor(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置合成窗口非填充模式下的背景颜色
v3.19.0 新增
- setBackgroundColor(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置输出视频的背景颜色
- setBackgroundCornerRadius(float) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置背景圆角
v3.31.0 添加
- setBackgroundCornerRadius(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置背景的圆角
v3.31.0 新增
- setBackgroundCornerRadius(float) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置背景圆角
v3.31.0 添加
- setBackgroundDisplayMode(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置背景图片填充方式
- setBackgroundImage(Bitmap, int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixComposer
-
设置合成窗口非填充模式下的背景图片,assets, resource文件可以使用这个接口
v3.19.0 新增
- setBackgroundImage(Bitmap, int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置合成窗口非填充模式下的背景图片,assets, resource文件可以使用这个接口
v3.19.0 新增
- setBackgroundImage(Bitmap) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置输出视频的背景图片
- setBackgroundImgPath(Source) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置背景图片资源
- setBeautyLevel(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置美颜级别。
- setBeautyLevel(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置美颜级别
- setBeautyLevel(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置美颜度
- setBeautyLevel(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置美颜度
- setBeautyLevel(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置美颜度
- setBeautyStatus(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置美颜开关。
- setBeautyStatus(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置美颜开关
- setBeautyStatus(boolean) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setBeautyStatus(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置美颜开/关
- setBeautyStatus(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setBitmap(Bitmap) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaint
-
Deprecated.
- setBitrate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置码率
- setBitrate(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置码率
- setBitrateFactor(float) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
- setBlurRadius(float) - Method in class com.aliyun.svideosdk.common.struct.effect.BlurBackground
-
设置模糊半径 范围是[0,29]
- setBorderColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置边框颜色
- setBorderColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置边框颜色
- setBorderCornerRadius(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置圆角边框
- setBorderCornerRadius(float) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置圆角边框
- setBorderParam(AliyunBorderParam) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIBaseCapture
-
设置录取区域边框参数
- setBorderWidth(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置边框宽度
- setBorderWidth(float) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置边框宽度
- setBrightness(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置亮度。默认:0.5f
- setBrightness(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAugmentationController
-
设置亮度
- setBubbleEffectTemplate(String) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setBubbleEffectTemplate(Source) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置气泡文字的模板资源
v3.23.0 新增
- setBubbleSource(ISource) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置气泡文字的模板资源
v3.23.0 新增
- setCallback(ILicenseNativeInitCallback) - Method in class com.aliyun.svideosdk.license.LicenseManager
-
- setCamera(CameraType) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setCamera(CameraType) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
- setCamera(CameraType) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setCameraCaptureDataMode(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置Camera 数据回调方式
- setCameraCaptureDataMode(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置Camera 数据回调方式
- setCameraCaptureDataMode(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置Camera 数据回调方式
- setCameraParam(CameraParam) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置摄像头预览参数
- setCameraParam(CameraParam) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置摄像头预览参数
- setCameraParam(CameraParam) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置摄像头预览参数
- setCameraType(CameraType) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
获取摄像头类型。
- setCameraType(CameraType) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- setCanvasInfo(CanvasInfo) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaint
-
设置画布信息,不建议用户使用
- setCanvasInfo(CanvasInfo) - Method in class com.aliyun.svideosdk.common.struct.project.PaintTrack
-
设置画布信息,不建议用户使用
- setCanvasTrack(PaintTrack) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置涂鸦
- setCaption(AliyunCaption) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
- setCaptureView(View) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIViewCapture
-
设置局部录屏视图.
- setClipEndTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置播放结束时间,超过主流长度会截断
- setClipEndTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置播放结束时间,超过主流长度会截断
- setClipStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置开始时间
- setClipStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置开始时间
- setClockwise(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
设置顺时针
- setColor(AliyunColor) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕颜色
- setColor(AliyunColor) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕颜色
v3.22.0 新增
- setColorEffect(Filter) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置全局滤镜特效
- setConfig(Config) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿基本配置
- setContrast(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置对比度。默认:0.25f
- setContrast(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAugmentationController
-
设置对比度
- setCover(Source) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程封面资源
- setCover(Source) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板封面
- setCoverPath(String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿封面地址
- setCreationTime(String) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
获取工程创建时间
- setCrf(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置ffmpeg crf值
- setCrf(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置ffmpeg crf值
- setCrf(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置 crf(编码质量因子)值,默认
- setCrf(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置crf
- setCropCallback(CropCallback) - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
设置裁剪回调
- setCropMode(VideoDisplayMode) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置视频裁剪缩放模式。
- setCropParam(CropParam) - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
设置裁剪参数
- setCropRect(Rect) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪区域
- setCropUseGPU(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置裁剪使用GPU
- setCropUseGPU(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置裁剪使用GPU
- setCurrentColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunICanvasController
-
设置当前画笔颜色
- setCurrentColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIPaint
-
设置当前画笔颜色
- setCurrentSize(float) - Method in interface com.aliyun.svideosdk.editor.AliyunICanvasController
-
设置当前画笔粗细
- setCurrentSize(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIPaint
-
设置当前画笔粗细
- setCustomCover(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置是否是自定义封面
v3.25.0 版本新增
- setCustomSource(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionBase
-
- setDebugLoggerLevel(AlivcSdkCore.AlivcDebugLoggerLevel) - Static method in class com.aliyun.svideosdk.AlivcSdkCore
-
Deprecated.
- setDefaultTextSize(int, int) - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer.StyleEditor
-
Set default text size.
- setDenoise(int, int) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置音频降噪权重
- setDirection(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionWipe
-
设置擦出方向
- setDirection(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionTranslate
-
设置方向值
- setDisplay(Surface) - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
设置显示源
- setDisplayMode(AliyunDisplayMode) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunClip
-
设置本段的显示模式
- setDisplayMode(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置视频显示模式
- setDisplayMode(int) - Method in class com.aliyun.svideosdk.common.struct.project.RunningDisplayMode
-
设置显示模式
- setDisplayMode(VideoDisplayMode) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置视频展示模式
- setDisplaySize(int, int) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterManager
-
- setDisplaySize(int, int) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
设置贴图展示区域的大小,该设置影响贴图在视频中的位置和大小,
贴图在视频中的大小为贴图的展示大小与展示区域大小的比例换算到视频区域中,位置的计算同理
- setDisplaySize(int, int) - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
设置显示尺寸,建议和surface窗口的宽高一致
- setDisplayView(SurfaceView) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setDisplayView(TextureView) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setDisplayView(SurfaceView, SurfaceView) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置显示预览的SurfaceView
- setDisplayView(SurfaceView) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置显示预览的SurfaceView
- setDisplayView(SurfaceView) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置显示预览的SurfaceView
- setDuration(long) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕播放时长
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunImageClip
-
设置持续时长
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip
-
设置持续时长
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动画时长
- setDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动画时长
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置特效作用持续时间,目前只对音乐有效,即从开始时间点开始特效的作用时间长度, 单位:毫秒
- setDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置特效作用持续时间,目前只对音乐有效,即从开始时间点开始特效的作用时间长度,
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectFilter
-
Deprecated.
- setDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffect
-
设置在轨道的持续时间
- setDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectFilter
-
- setDuration(float) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置时间线时长 单位:秒
- setDuration(float) - Method in class com.aliyun.svideosdk.common.struct.project.MediaTrack
-
设置轨道时长
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.project.TailWaterMark
-
设置时长,单位微秒
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.project.TimeFilter
-
设置时间特效时长,单位:毫秒
- setDuration(float) - Method in class com.aliyun.svideosdk.common.struct.project.Timeline
-
设置时间线时长 单位:秒
- setDuration(long) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置长度
- setDuration(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置素材片段的时长,一般在素材类型是图片时使用。单位:秒
- setDuration(long) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸播放时长
- setDuration(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸播放时长
- setDuration(long) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿时长
- setDuration(long) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterAbstractController
-
- setDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setDurationPerCircle(long) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
设置旋转一圈的时间
- setEditorProjectUri(String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿工程配置地址
- setEffect(EffectBase) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置当前特效属性
- setEffectConfig(EffectConfig) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectFilter
-
- setEffectConfig(EffectConfig) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectFilter
-
设置自定义特效json实体
- setEffectConfig(EffectConfig) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionBase
-
- setEffectConfig(EffectConfig) - Method in class com.aliyun.svideosdk.common.struct.project.Filter
-
设置滤镜动态化配置
- setEffectView(float, float, float, float, EffectBase) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setEffectView(float, float, float, float, EffectBase) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置特效信息(位置,大小)
widthRatio和heightRatio参数需要符合素材宽高/屏幕宽高的比例
比如: 素材的宽高为200,300, 屏幕的宽高为 540,720 sw = (float)200/540, sh = (float)300/720。sx,sy是归一化的屏幕比例参数,坐标是以资源的中心点作为锚点的
- setEffectView(float, float, float, float, EffectBase) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setEffectWaterMark(EffectImage) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
添加水印
- setEncoderFps(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置编码帧率,必须在[,]之间,否则将为无效的值,将使用内置默认值30。
编码帧率只会影响编码的码率,并不能决定实际输出的视频帧率,实际视频帧率受摄像头采集帧率和渲染性能的影响,根据实际情况而定。
- setEncoderInfoCallback(EncoderInfoCallback) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置编码信息回调
- setEndTime(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunAudioClip
-
- setEndTime(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip
-
设置clip的结束时间点
- setEndTime(long) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪的结束时间
- setEndTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪的结束时间
- setExposureCompensationRatio(float) - Method in class com.aliyun.svideosdk.common.struct.recorder.CameraParam
-
设置曝光度[0, 1]
- setExposureCompensationRatio(float) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置曝光度比例
- setExposureCompensationRatio(float) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置曝光度比例
- setExposureCompensationRatio(float) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置曝光度比例
- setFaceDetectRotation(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置单独的人脸识别角度,如果使用本接口,请不要使用setRotation
- setFaceDetectRotation(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置单独的人脸识别角度,如果使用本接口,请不要使用setRotation
- setFaceDetectRotation(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置单独的人脸识别角度,如果使用本接口,请不要使用setRotation
- setFaces(float[][]) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置人脸坐标点,而二维组每个元素,代表一张脸的6个特征点。
- setFaces(float[][]) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置人脸坐标点,而二维组每个元素,代表一张脸的6个特征点。
- setFaces(float[][]) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置人脸坐标点,而二维组每个元素,代表一张脸的6个特征点。
- setFaceTrackInternalMaxFaceCount(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置内置人脸识别的最大识别数,最大为3个,大于3个为3个
- setFaceTrackInternalMaxFaceCount(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置内置人脸识别的最大识别数,最大为3个,大于3个为3个
- setFaceTrackInternalMaxFaceCount(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置内置人脸识别的最大识别数,最大为3个,大于3个为3个
- setFaceTrackInternalModelPath(String) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置人脸识别模型文件夹路径
这里必须是包含模型文件的目录路径,模型文件的文件名不能修改
- setFaceTrackInternalModelPath(String) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置人脸识别模型文件夹路径
这里必须是包含模型文件的目录路径,模型文件的文件名不能修改
- setFaceTrackInternalModelPath(String) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置人脸识别模型文件夹路径
这里必须是包含模型文件的目录路径,模型文件的文件名不能修改
- setFastEncode(boolean) - Static method in class com.aliyun.svideosdk.common.NativeAdaptiveUtil
-
- setFastMode(boolean) - Method in interface com.aliyun.svideosdk.common.AliyunIThumbnailFetcher
-
- setFilePath(String) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunAudioClip
-
- setFileSize(long) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿文件大小
- setFillAfter(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
如果fillAfter为true,动画在画面结束后停留在动画最后帧
- setFillBackgroundColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setFillBefore(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
如果fillBefore未true,动画在starttime前画面停留在动画第一帧
- setFillColor(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
- setFilterList(String[]) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置滤镜资源路径列表。
- setFilterList(String[]) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置滤镜资源列表
- setFlashType(FlashType) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置闪光灯类型。
- setFlashType(FlashType) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置闪光灯类型
- setFlashType(String) - Method in class com.aliyun.svideosdk.common.struct.recorder.CameraParam
-
设置闪光灯模式
- setFlipH(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
设置是否镜像
- setFocus(float, float) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setFocus(Point) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
Deprecated.
- setFocus(float, float) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
- setFocus(Point) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
Deprecated.
- setFocus(float, float) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setFocusMode(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.CameraParam
-
- setFocusMode(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置聚焦模式
- setFocusMode(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置聚焦模式
- setFocusMode(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置聚焦模式
- setFont(Source) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置字体资源
- setFont(Source) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置字体资源
- setFontEffectSource(ISource) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置花字模板资源
v3.23.0 新增
- setFontEffectSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置花字资源
- setFontEffectTemplate(String) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setFontEffectTemplate(Source) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置花字的模板
v3.23.0 新增
- setFontFilePath(String) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetText
-
- setFontFolder(String) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
设置模板的字体文件存放路径,路径下支持多个字体文件
调用不会覆盖之前的路径,会累计记录,同一字体名称会以后设置的路径为主
- setFontPath(String) - Method in class com.aliyun.svideosdk.common.AliyunFontStyle
-
- setFontPath(ISource) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕的字体信息
v3.24.0 新增
- setFontSize(float) - Method in class com.aliyun.svideosdk.common.AliyunFontStyle
-
设置字体大小比例值
v3.22.0 新增
- setFontSize(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置字体大小
- setFontSource(ISource) - Method in class com.aliyun.svideosdk.common.AliyunFontStyle
-
设置字体资源
v3.23.0 新增
- setFontStyle(AliyunFontStyle) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕的字体样式信息
- setFontStyle(AliyunFontStyle) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
Deprecated.
- setFontTypeface(AliyunTypeface) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置文字的样式
v3.24.0 新增
- setFps(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置帧率
- setFps(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置录制采集帧率,必须在[,]之间,否则将为无效的值,将使用默认值 30.
- setFrameAnimation(ActionBase) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
对指定的流或者素材资源添加帧动画,会清除原有的动画数据
- setFrameArray(List<Frame>) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
获取动态贴纸帧列表
- setFrameRate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置帧率。
- setFrameRate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置帧率
- setFrameRate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置帧率
- setFrameRate(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置帧率
单位:fps
- setFromAlpha(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionFade
-
设置起点的透明度
- setFromDegree(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
起点角度
- setFromDegree(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotateBy
-
起点角度
- setFromDegree(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotateTo
-
起点角度
- setFromPointX(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionTranslate
-
设置x轴起点坐标,以中心为原点
屏幕坐标点-1到1
- setFromPointY(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionTranslate
-
设置y轴起点坐标,以中心为原点
屏幕坐标点-1到1
- setFromScale(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
动画起点的scale大小
- setGop(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置Gop大小,单位是帧数。
- setGop(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置Gop大小,单位是帧数
- setGop(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置GOP大小
- setGop(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置GOP大小
- setGop(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置Gop大小,这里的gop单位是帧数,即两个I帧之间间隔多少帧,而实际上硬编码器内部是以时间为gop单位的,即两个I帧间隔多少秒,因此
实际输出视频的Gop是用该值除以编码帧率计算而出。举例编码帧率设置为25fps,该接口设置125,则实际视频的gop值是5秒,也就是5秒一个I帧。
如果设置的gop小于帧率值,则内部给到编码器的gop为1,如果大于25,则取整计算。
- setGop(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置GOP大小
- setGop(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setGop(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setHeight(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置贴纸在输出视频中的高度
- setHeight(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置片段资源高度
- setHeight(float) - Method in class com.aliyun.svideosdk.common.struct.project.WaterMark
-
设置水印高度
- setHeightRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectImage
-
- setHeightRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaster
-
设置高的比例值
- setHeightRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
- setHeightRatio(float) - Method in interface com.aliyun.svideosdk.common.struct.effect.IEffectRect
-
设置高的比例值
- setHeightRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark.Builder
-
设置高的比例值
- setHeightRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark
-
设置高的比例值
- setHorizontalFlip(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置是否水平镜像翻转。
- setHorizontalFlip(int, boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
v3.31.0 版本新增
- setHorizontalFlip(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置水平镜像翻转
- setHorizontalFlip(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置水平镜像翻转
- setHWDecoderEnable(boolean) - Static method in class com.aliyun.svideosdk.common.NativeAdaptiveUtil
-
硬解码开关,默认是打开状态,则此时在白名单内的机型都将使用硬解码,如果关闭,则所有机型(包括在白名单内的)都将使用软解码
- setHWEncoderEnable(boolean) - Static method in class com.aliyun.svideosdk.common.NativeAdaptiveUtil
-
硬编码开关,默认是打开状态,则此时黑名单之外的机型都将使用硬编码,关闭状态,则所有机型都使用软编码
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunAudioClip
-
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunClip
-
设置资源id,该id为本段的唯一标识符
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置该帧动画的id,不需要用户调用
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置资源ID
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.project.Track
-
设置资源id,不建议用户调用
- setId(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置该效果的id,不需要用户调用
- setId(String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿ID
- setImageAsset(String) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetMedia
-
设置图片素材的路径
- setIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.AudioTrackClip
-
设置素材片段相对于素材的切入点。单位:秒,精确到小数点后4位。
- setIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置效果相对于素材的切入点时间
- setIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置获取素材片段相对于素材的入点,在素材类型是音视频时使用。单位:秒
- setInputPath(String) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置源视频文件路径
- setIntensity(float) - Method in class com.aliyun.svideosdk.common.struct.effect.LUTEffectBean
-
- setIntensity(float) - Method in class com.aliyun.svideosdk.common.struct.project.Filter
-
设置lut滤镜生效比例
- setInterpolatorType(ActionBase.Interpolator) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
- setIsAutoClearClipVideos(boolean) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
Added in v3.23.0, set whether to clear the clip video files, default is false
- setIsAutoClearClipVideos(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
- setIsAutoClearClipVideos(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setIsOutputAudioTrack(boolean) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixTrack
-
v3.19.0 新增
设置该轨道是否参与音频输出,设置false表示该轨道静音
- setIsStream(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置针对主流,如果要针对主流设置帧动画,必须调用
- setLight(FlashType) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置闪光灯模式
- setLight(FlashType) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置闪光灯模式
- setLight(FlashType) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置闪光灯模式
- setLineWidth(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionShutter
-
百叶窗叶子宽度,相对于输出窗口的宽高
- setLock(boolean) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置是否锁定该参数
Sets whether param is lock.
- setLogLevel(AlivcSdkCore.AlivcLogLevel) - Static method in class com.aliyun.svideosdk.AlivcSdkCore
-
- setLogPath(String) - Static method in class com.aliyun.svideosdk.AlivcSdkCore
-
设置日志保存路径
v3.31.0 会保存在默认路径/file/Log/ShortVideo文件夹中,增加14天自动删除
v3.31.0 以下版本必须设置日志保存,否则不落地,需业务方自行删除
- setLutEffect(Filter) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置全局滤镜特效
- setMaxDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置录制的最大时长。
- setMaxDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置录制的最大时长
- setMaxDuration(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIClipManager
-
设置最大录制时长
- setMaxVideoDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置视频选择界面过滤视频的最大时长。
- setMaxVideoDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置视频选择界面过滤视频的最大时长
- setMediaInfo(MediaInfo) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置录制的媒体信息
- setMediaType(MediaType) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunClip
-
设置本段的媒体类型,主要由图片,视频,音频三种类型
- setMediaType(MediaType) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置媒体类型
- setMicDenoiseWeight(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
v3.27.0 新增
设置麦克风降噪权重,0~100,0表示关闭降噪,100表示降噪能力最强
- setMinCropDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置视频裁剪的最小时长,裁剪界面选取裁剪时间段无法比这个时长小。
- setMinCropDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置视频裁剪的最小时长,裁剪界面选取裁剪时间段无法比这个时长小
- setMinDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置录制的最小时长,小于这个时长视频会被丢弃。
- setMinDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置录制的最小时长,小于这个时长视频会被丢弃。
- setMinDuration(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIClipManager
-
设置最小录制时长
- setMinVideoDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置视频选择页面过滤视频的最小时长。
- setMinVideoDuration(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置视频选择页面过滤视频的最小时长
- setMirror(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置是否镜像
- setMixAudioAecType(MixAudioAecType) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
合拍开启回声消除
v3.23.0 新增
- setMixAudioSource(MixAudioSourceType) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置最终合成视频的音轨类型
v3.18.0新增
- setMixAudioWeight(int, int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setMixAudioWeight(int) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixTrack
-
v3.19.0新增
设置混音时的音量大小
混音类型为com.aliyun.svideosdk.mixrecorder.MixAudioSourceType#MIX生效
- setMixAudioWeight(int, int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
v3.27.0 新增
设置混音时的音量大小,开启混音模式时才生效
- setMixedBorderParam(AliyunMixBorderParam) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置被合拍视频的边框圆角参数
v3.21.0 新增
- setMixMediaInfo(AliyunMixMediaInfoParam, MediaInfo) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置合拍输入输出信息
- setMixTrackLayoutParam(AliyunMixTrackLayoutParam) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixTrack
-
v3.19.0 新增
设置/修改当前合拍轨道的布局参数
- setMixWeight(int) - Method in class com.aliyun.svideosdk.common.struct.project.MVFilter
-
设置MV滤镜混音权重
- setMode(ActionBase.PartParam.Mode) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase.PartParam
-
子节点的执行模式
- setMode(ActionSet.AnimationMode) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionSet
-
- setModifiedTime(String) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程最新修改时间
- setMonitorSurfaceChange(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setMusic(String, long, long) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置录制背景音乐
- setMusic(String, long, long) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setMusicWeight(int, int) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置混音权重
- setMute(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
- setMute(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.MVFilter
-
设置是否静音
- setMute(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunIPlayerController
-
设置静音状态,该接口只对播放模式下有效,合成视频无法静音
- setMute(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
录制静音
注意:控制的是麦克风是否静音
- setMute(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
录制静音
- setMvAudioId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置mv的音频流id 不建议用户调用
- setMVEffect(MVFilter) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置滤镜特效
- setName(String) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置贴纸资源名称
- setName(String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿名称
- setNeedClip(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
是否多段录制。
- setNeedClip(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
是否多段录制
- setNeedOriginDuration(boolean) - Method in class com.aliyun.svideosdk.common.struct.project.TimeFilter
-
设置是否保存原视频长度
- setNeedRecord(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
视频选择界面是否需要"录制"的入口。
- setNeedRecord(boolean) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
视频选择界面是否需要"录制"的入口
- setNodeKey(String) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
- setNodeKey(String) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
- setNodeKey(String) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置节点关联字段
- setOldId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置旧资源id,不建议用户使用
- setOldId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPicture
-
Deprecated.
设置旧资源id,不建议用户使用
- setOnAnimationRestoredListener(OnAnimationFilterRestoredListener) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
- setOnAudioCallback(OnAudioCallBack) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
回调pcm音频数据,音频数据的格式为单通道,16位,采样率为44.1khz,
- setOnAudioCallback(OnAudioCallBack) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
回调pcm音频数据,音频数据的格式为单通道,16位,采样率为44.1khz,
- setOnAudioCallback(OnAudioCallBack) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
回调pcm音频数据,音频数据的格式为单通道,16位,采样率为44.1khz,
- setOnAudioRecordCallback(OnAudioRecordCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIAudioRecorder
-
设置音频录制回调
- setOnChoosePictureSizeCallBack(OnChoosePictureSizeCallback) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置拍照分辨率回调
- setOnChoosePictureSizeCallBack(OnChoosePictureSizeCallback) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置拍照分辨率回调
- setOnChoosePictureSizeCallBack(OnChoosePictureSizeCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置拍照分辨率回调
- setOnEncoderInfoCallback(OnEncoderInfoCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
v3.27.0 修改: setEncoderInfoCallback -> setOnEncoderInfoCallback
设置编码信息回调
- setOnFaceDetectInfoListener(OnFaceDetectInfoListener) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setOnFaceDetectInfoListener(OnFaceDetectInfoListener) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
- setOnFaceDetectInfoListener(OnFaceDetectInfoListener) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setOnFrameCallback(OnFrameCallback) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置采集帧回调,每采集一帧数据都通过该回调返回帧数据
- setOnFrameCallback(OnFrameCallback) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置采集帧回调,每采集一帧数据都通过该回调返回帧数据
- setOnFrameCallback(OnFrameCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置采集帧回调,每采集一帧数据都通过该回调返回帧数据
- setOnlyApplyUI(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置是否仅仅需要UI
- setOnPasterRestoreListener(OnPasterRestored) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterManager
-
- setOnPasterResumeAndSave(OnPasterResumeAndSave) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
设置贴图恢复和保存的回调,因为页面被系统回收后,渲染层资源已经释放,
之前添加的贴图资源也已经不存在,需要在恰当的时机保存当前已经使用的贴图资源,
贴图保存时会回调
OnPasterResumeAndSave
的onPasterSave方法
该回调的参数是贴图列表,因为sdk需要实现保存的贴图与屏幕无关,
所以使用了
PasterTrack
类来保存贴图到文件
- setOnRecordCallback(OnRecordCallback) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setOnRecordCallback(OnRecordCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
v3.27.0 修改: setRecordCallback -> setOnRecordCallback
设置录制回调
- setOnRecordListener(OnVideoRecordListener) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置录制监听
- setOnTextureIdCallback(OnTextureIdCallback) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置纹理ID回调
- setOnTextureIdCallback(OnTextureIdCallback) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置纹理ID回调
- setOnTextureIdCallback(OnTextureIdCallback) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置纹理ID回调
- setOpenMicAEC(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
v3.27.0 新增
设置麦克风是否开启回声消除
- setOpenMixAudioMode(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
v3.27.0 新增
设置是否开启混音模式,默认不开启
若关闭,则设置背景音乐时会自动关闭麦克风录音;否则,支持背景音乐与麦克风同时开启进行混音
- setOrientation(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionShutter
-
设置百叶窗翻转的方向,横向/纵向
- setOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.AudioTrackClip
-
设置素材片段相对于素材的切出点。单位:秒,精确到小数点后4位。
- setOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置效果相对于素材的切出点时间
- setOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置素材片段相对于素材的出点,在素材类型是音视频时使用。单位:秒
- setOutlineColor(AliyunColor) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕描边颜色
- setOutlineColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置描边颜色
- setOutlineColor(AliyunColor) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕描边颜色
v3.22.0 新增
- setOutlineWidth(float) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置描边宽度,单位:像素
- setOutlineWidth(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置描边宽度,单位:像素
- setOutlineWidth(float) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置描边宽度,单位:像素
v3.22.0 新增
- setOutputFlip(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置摄像头录制输出视频是否进行镜像处理
注意:仅对输出视频有效,预览不改变
- setOutputHeight(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置视频输出高度
- setOutputHeight(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置视频输出高度
- setOutputHeight(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置输出高度
- setOutputParam(AliyunMixOutputParam) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixComposer
-
- setOutputPath(String) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置视频输出路径
- setOutputPath(String) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置输出路径
- setOutputPath(String) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置输出文件路径
- setOutputPath(String) - Method in interface com.aliyun.svideosdk.recorder.AliyunIAudioRecorder
-
设置文件输出路径
- setOutputPath(String) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置输出文件路径
- setOutputPath(String) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
设置渲染导出文件路径
- setOutputWidth(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置视频输出宽度
- setOutputWidth(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置视频输出宽度
- setOutputWidth(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置输出宽度
- setOverlapDuration(long) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionBase
-
转场效果前后两段视频的重叠时间
- setOverlapDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionBase
-
转场效果前后两段视频的重叠时间
- setOverlayRadio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase.PartParam
-
两个子节点之间时间轴重叠比例, 0 表示两个动画间不重叠, 0.1 表示 两个动画时间轴重叠10%
例子:
0 : node1 |--------|
node2 |--------|
0.1 :
node1 |--------|
node2 |---------|
1 : node1 |--------|
node2 |--------|
- setPaint(Paint) - Method in interface com.aliyun.svideosdk.editor.AliyunICanvasController
-
设置自定义paint
- setPaint(Paint) - Method in interface com.aliyun.svideosdk.editor.AliyunIPaint
-
用户自定义设置画笔
- setParam(float) - Method in class com.aliyun.svideosdk.common.struct.project.TimeFilter
-
设置时间特效参数
- setParameters(int, int, AliyunIThumbnailFetcher.CropMode, VideoDisplayMode, int) - Method in interface com.aliyun.svideosdk.common.AliyunIThumbnailFetcher
-
- setParamsString(String) - Method in class com.aliyun.svideosdk.common.struct.effect.TransitionBase
-
- setPartParam(ActionBase.PartParam) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
- setPasterDuration(long) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置贴图持续时长
- setPasterDuration(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置贴图持续时长
- setPasterStartTime(long) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置贴图开始时间
- setPasterStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置贴图开始时间
- setPasterView(AliyunPasterBaseView) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置动图上层UI的实现接口
- setPath(String) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBase
-
- setPath(String) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
- setPath(String) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaint
-
设置图片路径
- setPath(String) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板配置存放路径
- setPictureSize(int, int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置照片尺寸
- setPictureSize(Camera.Size) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置照片尺寸
- setPictureSize(Size) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置照片尺寸
- setPlayCallback(AliyunTemplatePlayStateListener) - Method in class com.aliyun.svideosdk.template.view.AliyunAETemplatePlayView
-
设置模板预览播放回调
- setPlayerCallBack(EditorCallBack) - Method in interface com.aliyun.svideosdk.editor.template.AliyunTemplatePlayer
-
设置播放器回调
- setPlayerCallback(PlayerCallback) - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
设置播放器回调
- setPlayView(AliyunAETemplatePlayView) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
设置预览播放View
- setPosition(PointF) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕的中心点位置(x,y), x和y的值在[0-1]之间
- setPosition(float, float) - Method in interface com.aliyun.svideosdk.editor.AliyunILayoutController
-
设置View的位置
- setPosition(PointF) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸的中心点位置(x,y),单位:像素
- setPosition(PointF) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setPreBegin(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
Sets the preset time when the text appears on the stream timeline.
- setPreEnd(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
Sets the preset time when the text disappears on the stream timeline.
- setProject(Source) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板工程配置资源
- setProjectDir(File, File) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
- setProjectId(String) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程ID
- setProjectId(String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置工程ID
- setProjectId(String, String) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraftManager
-
v3.23.0 版本新增
设置工程ID(用来关联云端资源)
- setProperty(String, String) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIBaseCapture
-
参数信息设置
- setQuality(VideoQuality) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置视频质量
0:极高
1:高
2:中
3:低
- setRate(float) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置录制速率
- setRate(float) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
设置录制速率
- setRate(float) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置录制速率
- setRatioMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
- setRatioMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- setRecordBorderParam(AliyunMixBorderParam) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置录制视频的边框圆角参数
v3.21.0 新增
- setRecordMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置录制模式
- setRecordMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置录制模式
- setRecordRotation(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置单独的录制视频角度,如果使用本接口,请不要使用setRotation
如果需要根据传感器角度来设置录制角度,需要加上计算
- setRecordRotation(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置单独的录制视频角度,如果使用本接口,请不要使用setRotation
如果需要根据传感器角度来设置录制角度,需要加上计算
if (rotation == 90 || rotation == 270) {
rotation = (rotation + 90) % 360;
if (mAliyunCamera.getCameraInfo().facing == CameraInfo.CAMERA_FACING_BACK) {
rotation += 180;
rotation %= 360;
}
} else if (rotation == 0 || rotation == 180) {
rotation = (rotation + 270) % 360;
}
- setRecordRotation(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置单独的录制视频角度,如果使用本接口,请不要使用setRotation
如果需要根据传感器角度来设置录制角度,需要加上计算
- setRenderCallback(AliyunIRenderCallback) - Method in interface com.aliyun.svideosdk.editor.AliyunIBaseCompose
-
设置渲染回调, 先于compose调用才生效
- setRepeat(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
- setRepeatCount(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
- setRepeatCount(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
- setRepeatMode(ActionBase.RepeatMode) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
循环模式
- setRepeatMode(RepeatMode) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotate
-
Deprecated.
- setReplaceText(String) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetText
-
设置素材的文本
- setRequestID(String) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
- setResId(String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动画资源id, 用于标识动画资源的唯一性
- setResId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBase
-
Deprecated.
- setResolutionMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
- setResolutionMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- setResourceSize(long) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程资源总大小(KB)
- setResulutionMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
- setRevert(boolean) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterController
-
设置是否用于回退效果
- setRollCaptionTrack(RollCaptionTrack) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置翻转字幕轨道
- setRotate(float) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕当前旋转的度数
- setRotate(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸当前旋转的弧度值
- setRotate(float) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setRotateDegree(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotateBy
-
设置旋转角度
- setRotateToDegree(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionRotateTo
-
终点角度
- setRotation(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip
-
设置clip的角度值
- setRotation(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectImage
-
- setRotation(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
- setRotation(float) - Method in interface com.aliyun.svideosdk.common.struct.effect.IEffectRect
-
设置字幕当前旋转的弧度
- setRotation(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置角度值
- setRotation(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置素材旋转角度
- setRotation(float) - Method in interface com.aliyun.svideosdk.editor.AliyunILayoutController
-
设置旋转角度
- setRotation(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置传感器的角度值,如果传感器返回的角度值不是0,90,180,270四个值中的,需要根据范围来确定
- setRotation(int) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置传感器的角度值,如果传感器返回的角度值不是0,90,180,270四个值中的,需要根据范围来确定
Sets the rotation angle of the gyro sensor.
- setRotation(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置传感器的角度值,如果传感器返回的角度值不是0,90,180,270四个值中的,需要根据范围来确定
- setSaturation(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置饱和度。默认:0.5f
- setSaturation(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAugmentationController
-
设置饱和度
- setScale(float) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕缩放值
- setScale(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置字幕缩放值
- setScale(float) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置缩放比
- setScale(float) - Method in interface com.aliyun.svideosdk.editor.AliyunILayoutController
-
设置缩放度
- setScale(float) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕缩放值
v3.22.0 新增
- setScaleAnchorBaseScale(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
- setScaleAnchorEnable(boolean) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
- setScaleAnchorX(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
- setScaleAnchorY(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
- setScaleMode(VideoDisplayMode) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置视频裁剪缩放模式
- setScaleMode(VideoDisplayMode) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置显示模式
- setScaleMode(VideoDisplayMode) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪模式
- setScaleRate(float) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置缩放比
- setScope(ActionBase.Scope) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
- setShader(String, String) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionShader
-
- setShadowColor(AliyunColor) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置描边颜色
- setShadowColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
获取阴影颜色
- setShadowColor(AliyunColor) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置描边颜色
v3.22.0 新增
- setShadowOffset(PointF) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置阴影的偏移值,包含(x,y)两个方向,单位:像素
- setShadowOffset(PointF) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置阴影的偏移值,包含(x,y)两个方向,单位:像素,取值[0-32]
v3.22.0 新增
- setShadowOffsetX(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置阴影X轴偏移值
- setShadowOffsetY(float) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置阴影Y轴偏移值
- setSharpness(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置锐度。默认:0f
- setSharpness(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAugmentationController
-
设置锐化程度
- setShutterSound(boolean) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置拍照时是否存在咔嚓声
- setShutterSound(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置拍照时是否存在咔嚓声
- setSize(RectF) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕的大小,通过android.graphics.RectF#width()
和android.graphics.RectF#height()
获取到宽高
- setSortMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
- setSortMode(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置媒体文件选择界面的过滤模式
- setSource(String) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunClip
-
设置本段的文件地址
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBase
-
设置资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.LUTEffectBean
-
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffect
-
设置资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.AudioTrackClip
-
设置音频资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.Filter
-
设置滤镜资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.MVFilter
-
设置MV滤镜资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.PaintTrack
-
设置涂鸦资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置贴纸资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置素材资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.project.WaterMark
-
设置水印资源
- setSource(Source) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateImageParam
-
- setSource(String) - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
设置资源路径
- setStartOffset(long) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
v3.25.0 新增
设置动画延迟的微秒数,当startOffset > 0时, 动画的开始时间为 timelineIn + startOffset
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕的起始时间
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunAudioClip
-
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip
-
设置clip的开始时间点
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动画的开始时间,
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动画的开始时间
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置特效作用的开始时间点,目前只对音乐有效,开始时间是指音乐在视频播放时间轴上开始播放的时间点
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置特效作用的开始时间点,目前只对音乐有效,开始时间是指音乐在视频播放时间轴上开始播放的时间点
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectFilter
-
Deprecated.
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffect
-
设置在轨道的开始时间
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectFilter
-
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.project.TimeFilter
-
设置特效开始时间,单位:毫秒
- setStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置开始时间
- setStartTime(long) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪的开始时间
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置裁剪的开始时间
- setStartTime(long) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸的起始时间
- setStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPasterController
-
设置贴纸的起始时间
- setStartTime(long) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterAbstractController
-
- setStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
- setStreamDuration(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置在特效流上的时长
- setStreamDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置在特效流上的时长
- setStreamDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectStream
-
设置流的持续时长,
- setStreamDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
设置流的持续时长
- setStreamId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
设置流的的唯一标识, 不建议用户设置
- setStreamId(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoEffect
-
设置该效果作用的流id,流id为clip的id值
- setStreamId(int) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream
-
设置流ID
- setStreamStartTime(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置在特效流上的开始时间
- setStreamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置在特效流上的开始时间
- setStreamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectStream
-
设置流的的开始时间
- setStreamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
设置流的的开始时间
- setStrokeColor(int) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetText
-
- setStrokeWidth(int) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetText
-
- setTailWaterMark(TailWaterMark) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置尾部水印
- setTakePicturePreview(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置拍照后是否继续预览
- setTarget(Object) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置参数关联片段信息
- setTargetId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
- setTemplate(Source) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置关联模板
v3.27.0 添加
- setTemplate(AliyunAEITemplate) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
设置模板
- setTemplateId(String) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板ID
- setText(String) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置字幕文本内容
- setText(String) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置文字内容
- setText(String) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字内容
- setText(String) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateTextParam
-
设置文字
- setText(String) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置字幕文本内容
v3.22.0 新增
- setTextAlignment(int) - Method in class com.aliyun.svideosdk.common.AliyunCaption
-
设置文字的排列方式
v3.23.0 添加
- setTextAlignment(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置文字对齐方式
v3.24.0 新增
- setTextAlignment(int) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字对齐方式
- setTextAlignment(int) - Method in class com.aliyun.svideosdk.editor.impl.AliyunPasterControllerCompoundCaption
-
设置文字的排列方式
v3.23.0 添加
- setTextBackgroundColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字背景颜色
- setTextBmpPath(String) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字view生成的图片的路径
- setTextCenterX(float) - Method in class com.aliyun.svideosdk.common.struct.project.BubbleCaptionTrack
-
设置文字的中心点x坐标(屏幕坐标系)
- setTextCenterY(float) - Method in class com.aliyun.svideosdk.common.struct.project.BubbleCaptionTrack
-
设置文字的中心点y坐标(屏幕坐标系)
- setTextColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置字体颜色
- setTextColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字颜色
- setTextColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer.StyleEditor
-
Set text color
- setTextColor(int) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetText
-
- setTextFont(String) - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer.StyleEditor
-
- setTextFont(Source) - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer.StyleEditor
-
Set text font path
- setTextHeight(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字高度
- setTextMaxLines(int) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字最大行数
- setTextPaddingX(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字左边距
- setTextPaddingY(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字上边距
- setTextRotation(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字的旋转角度
- setTextSize(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置字号
- setTextStrokeColor(int) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字描边的颜色
- setTextStrokeColor(int) - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer.StyleEditor
-
Set text stroke color
- setTextWidth(float) - Method in class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
设置文字宽度
- setTimeArray(List<FrameTime>) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置动态贴纸时间戳
- setTimeFilterType(int) - Method in class com.aliyun.svideosdk.common.struct.project.TimeFilter
-
设置时间特效类型
- setTimelineIn(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动效相对于时间线的切入点时间
- setTimelineIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.EffectTrack
-
设置效果出现在时间线的起始位置。单位:秒,精确到小数点后4位。
- setTimelineIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.PaintTrack
-
设置素材片段相对于时间线的切入点
- setTimelineIn(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置素材片段相对于时间线的入点。单位:秒
- setTimelineIn(float) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置素材片段相对于时间线的入点。单位:秒
- setTimelineOut(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置动效相对于时间线的切出点时间
- setTimelineOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.EffectTrack
-
设置效果出现在时间线的结束位置。单位:秒,精确到小数点后4位。
- setTimelineOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.PaintTrack
-
设置素材片段相对于时间线的出点。
- setTimelineOut(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置素材片段相对于时间线的出点。单位:秒
- setTimelineOut(float) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置素材片段相对于时间线的出点。单位:秒
- setTimelineStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunIPipController
-
设置在时间轴上的开始时间
- setTimelineStartTime(long, TimeUnit) - Method in interface com.aliyun.svideosdk.editor.AliyunISteamController
-
设置在时间轴上的开始时间
- setTitle(String) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程标题
- setTitle(String) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板标题
- setToAlpha(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionFade
-
设置终点的透明度
- setToPointX(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionTranslate
-
设置x轴结束坐标,以中心为原点
屏幕坐标点-1到1
- setToPointY(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionTranslate
-
设置y轴的结束坐标,以中心为原点
- setToScale(float) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionScale
-
动画终点的scale大小
- setTrack(AliyunMixTrack) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream
-
设置流所属的轨道
- setTrackId(int) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixTrack
-
Deprecated.
- setTransition(TransitionBase) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunClip
-
设置本段的转场类型
- setTransition(TransitionBase) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置转场动画
- setTransition(Map<Integer, TransitionBase>) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置视频过渡动画时间长度,接口说明:指定视频索引添加过渡时长,当索引为0时为第一段视频添加过渡时长,
此时过渡动画将从第一段的开头起算,只在第一段视频开头起作用,不会影响其他视频段。
当索引大于0且不大于视频总数时,该过渡时间作用于上一段视频的结束和本段视频的开始,
即上一段视频的结尾和本段视频的开头重叠在一起,重叠的时间长度为该过渡时长。
因为sdk音频混流的限制,过渡时间长度最大不能超过最小时长视频时间长度的一半。保证过渡时间内只有两个视频在播放状态
- setTransition(int, TransitionBase) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置视频过渡动画时间长度,接口说明:指定视频索引添加过渡时长,当索引为0时为第一段视频添加过渡时长,
此时过渡动画将从第一段的开头起算,只在第一段视频开头起作用,不会影响其他视频段。
当索引大于0且不大于视频总数时,该过渡时间作用于上一段视频的结束和本段视频的开始,
即上一段视频的结尾和本段视频的开头重叠在一起,重叠的时间长度为该过渡时长。
因为sdk音频混流的限制,过渡时间长度最大不能超过最小时长视频时间长度的一半。保证过渡时间内只有两个视频在播放状态
- setTranslateType(ActionTranslate.TranslateType) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionTranslate
-
- setType(ActionBase.Type) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionBase
-
设置帧动画类型
- setType(AudioTrackClip.Type) - Method in class com.aliyun.svideosdk.common.struct.project.AudioTrackClip
-
设置音频片段类型
- setType(EffectTrack.Type) - Method in class com.aliyun.svideosdk.common.struct.project.EffectTrack
-
设置效果类型
- setType(GlobalTrack.Type) - Method in class com.aliyun.svideosdk.common.struct.project.GlobalTrack
-
设置全局轨道类型,不建议用户调用
- setType(PasterTrack.Type) - Method in class com.aliyun.svideosdk.common.struct.project.PasterTrack
-
设置贴纸轨道类型,不建议用户调用
- setType(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置素材片段类型
- setType(AliyunTemplateParam.Type) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplateParam
-
设置参数类型
- setTypeface(AliyunTypeface) - Method in class com.aliyun.svideosdk.common.AliyunFontStyle
-
设置字体字形样式
v3.22.0 新增
- setTypeface(int) - Method in class com.aliyun.svideosdk.common.struct.project.CaptionTrack
-
设置字体样式
- setUpdateTime(long) - Method in class com.aliyun.svideosdk.editor.draft.AliyunDraft
-
设置草稿最后更新时间
- setUploadRetryAndTimeout(int, int, int) - Method in interface com.aliyun.svideosdk.editor.AliyunICompose
-
Deprecated.
设置上传重试信息
- setUseGPU(boolean) - Method in class com.aliyun.svideosdk.crop.CropParam
-
Deprecated.
- setUseHW(boolean) - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
打开或者关闭硬解码,默认打开
- setVersion(int) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置工程配置版本
- setVersion(int) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板版本
- setVideo(Source) - Method in class com.aliyun.svideosdk.common.struct.template.AliyunTemplate
-
设置模板示例视频资源
- setVideoAugmentation(int, VideoAugmentationType, float) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
v3.19.0 版本新增
- setVideoBitrate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置bitrate大小,单位是kps
- setVideoBitrate(int) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置bitrate大小,单位是kps
- setVideoBitrate(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
视频码率,有效的码率值必须在[200, 20000]之间,即最小是200Kbps,最大是20Mbps 单位:kbps,如果超过当前分辨率的使用码率值,有的编码器
不会无限增加码率,比如720P的码率值4M应该就足够使用了,可能会出现设置10M码率,输出的视频码率依然只有4M左右,具体根据不同编码器行为而定。
- setVideoBitrate(int) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置码率 单位:kbps
- setVideoBitrate(int) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setVideoBitrate(int) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setVideoCodec(VideoCodecs) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置编码方式
- setVideoCodec(VideoCodecs) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置编码方式
- setVideoCodec(VideoCodecs) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置编码格式
- setVideoCodec(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置编码格式
- setVideoCodec(VideoCodecs) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置编码器类型
- setVideoCodec(VideoCodecs) - Method in class com.aliyun.svideosdk.crop.CropParam
-
设置编码器
- setVideoFlipH(boolean) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置输出视频是否竖直方向镜像(仅对输出视频有效,预览不改变)
- setVideoHeight(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置视频的高
- setVideoParam(AliyunVideoParam) - Method in interface com.aliyun.svideosdk.importer.AliyunIImport
-
设置输出视频参数(帧率、码率、输出分辨率、质量等级、视频画面模式、编码器类型)
- setVideoPath(String) - Method in class com.aliyun.svideosdk.crop.CropParam
-
Deprecated.
- setVideoPath(String, boolean, float) - Method in class com.aliyun.svideosdk.template.model.AliyunAETemplateAssetMedia
-
设置视频素材的路径
- setVideoQuality(VideoQuality) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
设置输出视频质量。
- setVideoQuality(VideoQuality) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
设置输出视频质量
- setVideoQuality(VideoQuality) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoParam
-
设置视频质量
- setVideoQuality(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置视频质量
- setVideoQuality(VideoQuality) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置视频质量,该接口影响的是生成视频的码率
- setVideoQuality(VideoQuality) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
- setVideoQuality(VideoQuality) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
- setVideoWidth(int) - Method in class com.aliyun.svideosdk.common.struct.recorder.MediaInfo
-
设置视频的宽
- setVideQuality(VideoQuality) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam.Builder
-
- setViewId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBase
-
设置效果id
- setViewId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaint
-
设置资源id,不建议用户调用
- setViewId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPicture
-
Deprecated.
设置资源id,不建议用户调用
- setViewId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffect
-
设置效果id
- setVignette(float) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置暗角。默认:0f
- setVignette(float) - Method in interface com.aliyun.svideosdk.editor.AliyunIAugmentationController
-
设置暗角
- setVolume(int) - Method in class com.aliyun.svideosdk.common.struct.project.Config
-
设置音量
- setVolume(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIAudioController
-
设置音量,0~100,0表示静音,100表示音量最大
- setVolume(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
设置音量
- setVolume(int) - Method in interface com.aliyun.svideosdk.editor.AliyunIPlayerController
-
设置音量
- setWaterMark(WaterMark) - Method in class com.aliyun.svideosdk.common.struct.project.AliyunEditorProject
-
设置全局水印
- setWeight(int) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectBean
-
Deprecated.
设置权重,混音权重
- setWidth(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置贴纸在输出视频中的宽度
- setWidth(int) - Method in class com.aliyun.svideosdk.common.struct.project.VideoTrackClip
-
设置片段资源宽度
- setWidth(float) - Method in class com.aliyun.svideosdk.common.struct.project.WaterMark
-
设置水印宽度
- setWidthRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectImage
-
- setWidthRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaster
-
设置宽的比例值
- setWidthRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
- setWidthRatio(float) - Method in interface com.aliyun.svideosdk.common.struct.effect.IEffectRect
-
设置宽的比例值
- setWidthRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark.Builder
-
设置宽的比例值
- setWidthRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark
-
设置宽的比例值
- setWipeMode(int) - Method in class com.aliyun.svideosdk.common.struct.effect.ActionWipe
-
设置擦除模式
- setX(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置距离输出视频左上角的横向距离
- setX(float) - Method in class com.aliyun.svideosdk.common.struct.project.WaterMark
-
设置x坐标,相对于屏幕的大小,范围[0 - 1]
- setXRadio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectImage
-
- setXRadio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
- setXRadio(float) - Method in interface com.aliyun.svideosdk.common.struct.effect.IEffectRect
-
设置x坐标的比例值
- setXRadio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark.Builder
-
设置x坐标的比例值
- setXRadio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark
-
设置x坐标的比例值
- setXRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaster
-
设置x坐标的比例值
- setY(float) - Method in class com.aliyun.svideosdk.common.struct.project.PhotoPasterTrack
-
设置距离输出视频左上角的横向距离
- setY(float) - Method in class com.aliyun.svideosdk.common.struct.project.WaterMark
-
设置y坐标,相对于屏幕的大小,范围[0 - 1]
- setYRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectImage
-
- setYRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectPaster
-
设置y坐标的比例值
- setYRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectSticker
-
- setYRatio(float) - Method in interface com.aliyun.svideosdk.common.struct.effect.IEffectRect
-
设置y坐标的比例值
- setYRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark.Builder
-
设置y坐标的比例值
- setYRatio(float) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark
-
设置y坐标的比例值
- setZoom(float) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
设置摄像头缩放比例
- setZoom(float) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
设置摄像头缩放比例
- setZoom(float) - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
设置摄像头缩放比例
- setZoomRatio(float) - Method in class com.aliyun.svideosdk.common.struct.recorder.CameraParam
-
设置摄像头缩放比例
- ShapeType - Enum in com.aliyun.svideosdk.editor
-
v3.20新增
淡入淡出函数曲线类型
- show() - Method in interface com.aliyun.svideosdk.editor.AliyunRollCaptionComposer
-
Show captions
- showCaptionPaster(Bitmap, EffectCaption) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
- showCaptionPaster(BitmapGenerator, EffectCaption) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
显示字幕贴图
- showPaster(EffectPaster) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
显示贴图,基本效果如同调用了removePaster()和addEffectPaster()
- showTextPaster(Bitmap, EffectText) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
显示文字贴图
- showTextPaster(BitmapGenerator, EffectText) - Method in interface com.aliyun.svideosdk.editor.AliyunPasterRender
-
显示文字贴图
- snapshot(boolean, OnPictureCallback) - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
- SORT_MODE - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
- SORT_MODE_MERGE - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
照片和视频混合显示
- SORT_MODE_PHOTO - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
只显示照片
- SORT_MODE_VIDEO - Static variable in class com.aliyun.svideosdk.common.struct.common.AliyunSnapVideoParam
-
只显示视频
- source(String) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunImageClip.Builder
-
设置照片源
- source(String) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip.Builder
-
设置视频源
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectFilter.Builder
-
设置滤镜资源
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectStream.Builder
-
设置资源路径
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream.Builder
-
设置资源路径
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectFilter.Builder
-
设置资源
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectMV.Builder
-
设置资源路径
- source(Source) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectWaterMark.Builder
-
设置资源路径
- start - Variable in class com.aliyun.svideosdk.common.struct.effect.EffectPaster
-
指定的需播放的动图的开始时间
- start - Variable in class com.aliyun.svideosdk.common.struct.effect.EffectPicture
-
Deprecated.
图片的开始时间
- start(AliyunMixCallback) - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixComposer
-
开始合成
- start() - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIPlayer
-
开始播放
- startCrop() - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
开始裁剪
- startCropAudio(String, String, long, long) - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
裁剪音频
- startCropAudio(String, String, long, long, TimeUnit) - Method in interface com.aliyun.svideosdk.crop.AliyunICrop
-
裁剪音频
- startPreview() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
开启预览
注意:该方法建议在Activity.onResume()
生命周期函数中调用
- startPreview() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
开启预览
注意:该方法建议在Activity#onResume()
生命周期函数中调用
- startPreview() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
开启预览
注意:该方法建议在Activity#onResume()
生命周期函数中调用
- startPreviewAfterTakePicture() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
默认情况时,拍照结束会自动启动预览,故默认情况下用户不必调用 startPreviewAfterTakePicture;
若拍照结束后不自启预览时,用户需要手动调用 startPreviewAfterTakePicture 来启动预览.
- startPreviewAfterTakePicture() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
默认情况时,拍照结束会自动启动预览,故默认情况下用户不必调用 startPreviewAfterTakePicture;
若拍照结束后不自启预览时,用户需要手动调用 startPreviewAfterTakePicture 来启动预览.
- startRecord() - Method in interface com.aliyun.svideosdk.recorder.AliyunIAudioRecorder
-
开始录制
- startRecording() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
开始录制
- startRecording() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
开始录制
- startRecording() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
开始录制
- startRender(AliyunTemplateRenderListener) - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIEditor
-
开始渲染导出
- startTime(long) - Method in class com.aliyun.svideosdk.common.struct.common.AliyunVideoClip.Builder
-
设置开始时间
- startTime(long) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectFilter.Builder
-
Deprecated.
- startTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream.Builder
-
设置音频流在轨道的开始时间
- startTime - Variable in class com.aliyun.svideosdk.common.struct.effect.TrackEffect
-
- startTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectFilter.Builder
-
设置在轨道的开始时间
- startTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackEffectMV.Builder
-
设置音频流在轨道的开始时间, 单位: 毫秒
- stop() - Method in interface com.aliyun.svideosdk.editor.AliyunIEditor
-
停止播放
- stop() - Method in interface com.aliyun.svideosdk.editor.AliyunIPlayerController
-
停止播放
- stop() - Method in interface com.aliyun.svideosdk.player.AliyunISVideoPlayer
-
停止播放
- stop() - Method in interface com.aliyun.svideosdk.template.AliyunAETemplateIPlayer
-
停止播放
- stopPreview() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
停止预览
注意:该方法建议在Activity.onPause()
生命周期函数中调用
- stopPreview() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
停止预览
注意:该方法建议在Activity#onPause()
生命周期函数中调用
- stopPreview() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
停止预览
注意:该方法建议在Activity#onPause()
生命周期函数中调用
- stopRecord() - Method in interface com.aliyun.svideosdk.recorder.AliyunIAudioRecorder
-
停止录制
- stopRecording() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
停止录制
- stopRecording() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunIVideoRecorder
-
停止录制
- stopRecording() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
停止录制
- streamDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectStream.Builder
-
设置流的持续时长,
- streamDuration - Variable in class com.aliyun.svideosdk.common.struct.effect.EffectStream
-
- streamDuration(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream.Builder
-
设置流的持续时长,
- streamDuration - Variable in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
- streamEndTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream.Builder
-
设置流结束时间戳
- streamEndTimeMills(long) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixMediaInfoParam.Builder
-
Sets the mStreamEndTimeMills
and returns a reference to this Builder so that the methods can be chained together.
- streamEndTimeMills(long) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream.Builder
-
设置流结束时间戳,单位:毫秒
- streamId(int) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream.Builder
-
设置音频流id
- streamId - Variable in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
- streamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.EffectStream.Builder
-
设置流的的开始时间
- streamStartTime - Variable in class com.aliyun.svideosdk.common.struct.effect.EffectStream
-
- streamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream.Builder
-
设置流的的开始时间
- streamStartTime - Variable in class com.aliyun.svideosdk.common.struct.effect.TrackAudioStream
-
- streamStartTime(long, TimeUnit) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream.Builder
-
设置流的开始时间,比如30s的流,选取其中的5-20s,则startTime设置为5000
- streamStartTimeMills(long) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixMediaInfoParam.Builder
-
Sets the mStreamStartTimeMills
and returns a reference to this Builder so that the methods can be chained together.
- streamStartTimeMills(long) - Method in class com.aliyun.svideosdk.mixrecorder.AliyunMixStream.Builder
-
设置流的开始时间,比如30s的流,选取其中的5-20s,则startTime设置为5000毫秒
- SubTitleTrack - Class in com.aliyun.svideosdk.common.struct.project
-
字幕
v3.23.0 新增
- SubTitleTrack() - Constructor for class com.aliyun.svideosdk.common.struct.project.SubTitleTrack
-
- SVIDEO_EDITOR_ERROR_START - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_FILE_NOT_EXIST - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_INIT_FAILED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_INVALID_PARAM - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_INVALID_STATE - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_NATIVE_NOT_INITED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_PARSE_RESOURCE_FAILED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_PAUSE_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_PREPARE_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_RESUME_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_SEEK_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_SEEK_IN_OFFSET - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_SET_DISPLAY_FAILED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_SET_MODE_DISPLAY_NONE - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_SET_MODE_UNINIT_FAILED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_START_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_STOP_ERROR - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_TIME_EFFECT_NOT_SUPPORT - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- SVIDEO_EDITOR_VIEW_TYPE_NOT_SUPPORTED - Static variable in class com.aliyun.svideosdk.common.AliyunEditorErrorCode
-
Deprecated.
- swap(int, int) - Method in interface com.aliyun.svideosdk.common.AliyunIClipManager
-
传入要交换顺序的两个视频源的索引,更换顺序
- switchCamera() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
切换摄像头
- switchCamera() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
切换摄像头
- switchCamera() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
切换摄像头
- switchLight() - Method in interface com.aliyun.svideosdk.mixrecorder.AliyunIMixRecorder
-
切换闪光灯
- switchLight() - Method in interface com.aliyun.svideosdk.multirecorder.AliyunICameraCapture
-
切换闪光灯
- switchLight() - Method in interface com.aliyun.svideosdk.recorder.AliyunIRecorder
-
切换闪光灯