Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies {
implementation 'androidx.core:core-ktx:1.15.0'

// Banuba Face AR SDK dependencies
def banubaSdkVersion = '1.46.0'
def banubaSdkVersion = '1.47.0'
implementation "com.banuba.sdk:ffmpeg:5.3.0"
implementation "com.banuba.sdk:core-sdk:${banubaSdkVersion}"
implementation "com.banuba.sdk:ve-sdk:${banubaSdkVersion}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ class ExportViewModel(
musicEffects = emptyList(),
videoVolume = 1F,
coverFrameSize = coverFrameSize,
aspect = aspectRatioProvider.provide() //by default provided aspect ratio = 9.0 / 16
aspect = aspectRatioProvider.provide(), //by default provided aspect ratio = 9.0 / 16
startFromEditor = true
)

startExportInternal(params, inForeground)
Expand Down Expand Up @@ -154,7 +155,8 @@ class ExportViewModel(
musicEffects = listOf(musicEffect),
videoVolume = 1F,
coverFrameSize = videoFHD,
aspect = aspectRatioProvider.provide() //by default provided aspect ratio = 9.0 / 16
aspect = aspectRatioProvider.provide(), //by default provided aspect ratio = 9.0 / 16
startFromEditor = true
)

startExportInternal(params, inForeground)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@ fun [ExportTaskParams](-export-task-params.md)(videoRanges: VideoRangeList, effe

androidJvm

| | |
|---|---|
| videoRanges | VideoRangeList object containing video clips |
| effects | Effects visual and time effects to apply to the exported video |
| musicEffects | list of music effects applied to the exported video |
| videoVolume | volume of exported video specified in float number from 0 to 1 |
| coverUri | Uri of the cover image file |
| coverFrameSize | size of the cover image |
| aspect | aspect ratio applied to the exported video |
| videoResolution | optional VideoResolution value applied to the exported video. By default the optimal size will be set automatically (it is calculated with taking into account capabilities of the device) |
| additionalExportData | any Parcelable object that may be received in [ExportResult.Success.additionalExportData](../-export-result/-success/additional-export-data.md) parameter |
| doOnStart | lambda the will be invoked in the very beginning of the export process |
| | |
|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| videoRanges | VideoRangeList object containing video clips |
| effects | Effects visual and time effects to apply to the exported video |
| musicEffects | list of music effects applied to the exported video |
| videoVolume | volume of exported video specified in float number from 0 to 1 |
| coverUri | Uri of the cover image file |
| coverFrameSize | size of the cover image |
| aspect | aspect ratio applied to the exported video |
| videoResolution | optional VideoResolution value applied to the exported video. By default the optimal size will be set automatically (it is calculated with taking into account capabilities of the device) |
| additionalExportData | any Parcelable object that may be received in [ExportResult.Success.additionalExportData](../-export-result/-success/additional-export-data.md) parameter |
| doOnStart | lambda the will be invoked in the very beginning of the export process |
| startFromEditor | Defines whether the export process should begin directly from the Editor. |
2 changes: 1 addition & 1 deletion mddocs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ allprojects {
Next, add a list of API dependencies in [app/build.gradle](app/build.gradle#L47) file.

```groovy
def banubaSdkVersion = '1.46.0'
def banubaSdkVersion = '1.47.0'
implementation "com.banuba.sdk:ffmpeg:5.3.0"
implementation "com.banuba.sdk:core-sdk:${banubaSdkVersion}"
implementation "com.banuba.sdk:ve-sdk:${banubaSdkVersion}"
Expand Down