I would like to add some video files from the camera via mp4parser. Unfortunately, in the same fragment, despite the fact that when I try to change the camera, I try to change the orientation of the Hint media recorder, it seems that only the first one works (that is, if I start from the front camera, the video from the rear camera is reverse and vice versa) .
To solve this problem, I tried to rotate a video that is in the wrong direction and it works (using the setMatrix mp4parser method, new files are in a good direction). But when I want to add files (everything is in the right direction), I get the same result as if I did not rotate the video, as if it could have only one orientation video for my final component video.
Do you have a solution for this?
thanks
source share