SimpleVideoEditor icon indicating copy to clipboard operation
SimpleVideoEditor copied to clipboard

Changing the aspect ratio

Open talha01sayed opened this issue 4 years ago • 3 comments

// 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 avatar Nov 11 '20 12:11 talha01sayed

or removing the crop?

talha01sayed avatar Nov 11 '20 12:11 talha01sayed

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.

fahimfarhan avatar Nov 12 '20 09:11 fahimfarhan

I have changed the size and it is working.

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

talha01sayed avatar Nov 13 '20 05:11 talha01sayed