-
Notifications
You must be signed in to change notification settings - Fork 114
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
Video stretched after trimming #46
Comments
Can you share the trimOption that you used |
Am not using any compressOption, TrimOption for that. I just use default options for all like below, |
Thanks for creating a good issue. It occurs when we try to trim a video that has rotation 90 || 360. I was passing width and height in the ffmpeg command and that's where had to make changes. It has been fixed in the latest release. you could use the |
@braver-tool feel free to open this issue if it does happen again. |
i just want to ask you one question, don't you think that rotation check will be for |
My bad. that should be 270. |
@braver-tool @VivekThummar52 thanks for mentioning it. I don't know how I was careless. Use this latest version implementation 'com.github.a914-gowtham:Android-video-trimmer:1.6.5' |
I facing a video stretch issue after trimming the video. It does not occur for all video files, only occurs on some videos. I found one thing for the issue, that is height and width of the video are interchanged, also rotation is changed, after executing the below lines.
I've attached a sample video file. The actual width and height are 352 and 640, after trimming the changed as 640 and 340. Please help to fix the issue.
VID-20210428-WA0007.mp4
The text was updated successfully, but these errors were encountered: