C cb56 Member Licensed User Longtime User Mar 16, 2022 #1 On Samsung Note 8 Tablet it seems that Exoplayer does not handle 90 degree video rotation well. It works fine on phones. Some ideas? Thanks
On Samsung Note 8 Tablet it seems that Exoplayer does not handle 90 degree video rotation well. It works fine on phones. Some ideas? Thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 17, 2022 #2 The rotation is handled internally by ExoPlayer SDK. You can try it in different orientation. Upvote 0
C cb56 Member Licensed User Longtime User Mar 17, 2022 #3 I changed the file video orientation with a program on the pc, setting it to zero and on the tablet it works fine. Orientation cannot be changed with Exoplayer. Can you tell me how it is possible to change the orientation of a video file with b4a? Upvote 0
I changed the file video orientation with a program on the pc, setting it to zero and on the tablet it works fine. Orientation cannot be changed with Exoplayer. Can you tell me how it is possible to change the orientation of a video file with b4a?
Pendrush Well-Known Member Licensed User Longtime User Mar 17, 2022 #4 cb56 said: Can you tell me how it is possible to change the orientation of a video file with b4a? Click to expand... You can try with PndFFmpegKit. Upvote 0
cb56 said: Can you tell me how it is possible to change the orientation of a video file with b4a? Click to expand... You can try with PndFFmpegKit.
C cb56 Member Licensed User Longtime User Mar 17, 2022 #5 Pendrush said: You can try with PndFFmpegKit. Click to expand... Thanks, I'll try. Anyone know the code maybe with MediaMetadataRetriever? Upvote 0
Pendrush said: You can try with PndFFmpegKit. Click to expand... Thanks, I'll try. Anyone know the code maybe with MediaMetadataRetriever?
Pendrush Well-Known Member Licensed User Longtime User Mar 17, 2022 #6 Check second screenshot (Video to Gif) on PndFFmpegKit page. You can get metadata from video. Upvote 0
C cb56 Member Licensed User Longtime User Mar 17, 2022 #7 I tried the library and video rotation works fine. But my need is not to rotate the video but to change the rotation information in the meta data. Anyone know how I can do? Upvote 0
I tried the library and video rotation works fine. But my need is not to rotate the video but to change the rotation information in the meta data. Anyone know how I can do?
Pendrush Well-Known Member Licensed User Longtime User Mar 17, 2022 #8 Once again: USE PndFFmpegKit. Can I set rotation field for a video stream with FFmpeg? I have a video file. I open it with MediaInfo utility and I can see a video stream in this file having attribute Rotation 90 (along with other attributes such as CodecID, bitrate etc). Now I have stackoverflow.com Upvote 0
Once again: USE PndFFmpegKit. Can I set rotation field for a video stream with FFmpeg? I have a video file. I open it with MediaInfo utility and I can see a video stream in this file having attribute Rotation 90 (along with other attributes such as CodecID, bitrate etc). Now I have stackoverflow.com