-
Notifications
You must be signed in to change notification settings - Fork 56
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
Need to change orientation of video #5
Comments
Cloud you provide some example of the wrong orientations of videos ? |
Please find video . |
Emmm.. It seems a bug. But you can change the orientation before merging. |
I changed orientation before merging by your library but it gives same result. I will try some other methods and inform you if it is done from my side. |
I change video orientation before merging and try also after merging but nothing will happen. please look into this As soon as possible . please find code which used for same ==========
========== |
Hello There, |
There are two things to be done to handle the orientation of the input videos. First, we should set This can be done by add following code to buildTransitionComposition(composition, videoComposition: videoComposition)
// to fix the orientation of passthrough videos
let videos = composition.tracks(withMediaType: .video)
for video in videos {
video.preferredTransform = videoTrack.preferredTransform
} Second, we should handle the transition frame's orientation. We should pass the preferredTranform information to the You can have a look at DVGStackableVideoCompositor I will fix the bug when I have spare time but you can try to fix it and make a PR. :D |
@alexiscn Any update on this orientation issue? How can i set transform to MTVideoCompositionInstruction or please suggest anything to resolve this orientation issue? Thanks |
Any updates on this issue or anyone resolved it?? Please Help... |
Hello Team,
you made great example of transition between videos but when I use your library its always gives me wrong orientation video. can you please help me for the same.
Thanks in advance
The text was updated successfully, but these errors were encountered: