Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve video transcoding quality #1145

Merged
merged 9 commits into from
Jul 5, 2021
Merged

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Jul 1, 2021

Draft for now as I have a couple of questions.

Add maxUploadSize:failure: to MXRestClient and stores the size in MXSession.
Pass a target file size to MXTools and use AVAssetExportPreset3840x2160 when transcoding.

Add maxUploadSize:failure: to MXRestClient and store the size in MXSession.
Pass a target file size to MXTools and use AVAssetExportPreset3840x2160 when transcoding.
…VideoToMP4:withTargetFileSize:success:failure
MatrixSDK/MXRestClient.m Outdated Show resolved Hide resolved
MatrixSDK/MXSession.m Outdated Show resolved Hide resolved
@pixlwave pixlwave changed the title Improve video transcoding preset Improve video transcoding quality Jul 1, 2021
MatrixSDK/MXSession.m Outdated Show resolved Hide resolved
MatrixSDK/Utils/MXTools.m Outdated Show resolved Hide resolved
@@ -324,6 +324,21 @@
- (void)close;


#pragma mark - Media repository
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: these follow an @optional further up, and are only implemented in MXFileStore.

@pixlwave pixlwave marked this pull request as ready for review July 2, 2021 11:12
Copy link
Contributor

@manuroe manuroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need a change to CHANGES

MatrixSDK/MXRestClient.m Outdated Show resolved Hide resolved
MatrixSDK/MXSession.m Outdated Show resolved Hide resolved
pixlwave and others added 3 commits July 5, 2021 16:11
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants