Hi,
This issue I regarding AVPlayerItem rendering in mobile screens.
we have a scenario where we need to record a video with camera and send it to server and after successful upload we should be Able see the video in app with good quality.
while sending video to server we are exporting it to highest quality and also while sending video we are sending video's natural size in such a way that it looks good in mobile screens.
Ex : if we are sending video in 720*1080 , natural size is set as 360*640 so that it looks good in mobile screens
Issues
Thanks in advance
This issue I regarding AVPlayerItem rendering in mobile screens.
we have a scenario where we need to record a video with camera and send it to server and after successful upload we should be Able see the video in app with good quality.
while sending video to server we are exporting it to highest quality and also while sending video we are sending video's natural size in such a way that it looks good in mobile screens.
Ex : if we are sending video in 720*1080 , natural size is set as 360*640 so that it looks good in mobile screens
Issues
when we are trying to render video from url with out scaling natural size we are not able to fit video in the complete screen.Video is stuck at one corner of the screen.
When we are trying to fill video in the screen (scaling natural size ) we are not able to get good clarity video.
This issue is not happening when we are uploading from library
how do I calculate the natural size of the video while assigning it to "renderSize" of "AVMutableVideoComposition"
While calculating this scale ratio I should not loose clarity of the video and I should be able to receive as original one
Thanks in advance