Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Changing the aspect ratio #3

Open
talha01sayed opened this issue Nov 11, 2020 · 3 comments
Open

Changing the aspect ratio #3

talha01sayed opened this issue Nov 11, 2020 · 3 comments

Comments

@talha01sayed
Copy link

// todo: idk, change it later to 16:9, 3:4, 1:1 ... ... via some method I guess

I saw your todo so are you coming with this or not?
I really need that 16:9 ratio

@talha01sayed
Copy link
Author

or removing the crop?

@fahimfarhan
Copy link
Owner

Hello. Sorry for my late reply. You can download the library and make changes in VideoEditorPresenter Line number 404. I had hardcoded aspect ratio = 4:3, just change it into 16:9 and that should do the work.

@talha01sayed
Copy link
Author

I have changed the size and it is working.

 public Mp4Composer size(int width, int height) {
        this.outputResolution = new Size(width, height);
        return this;
    }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants