0 Replies
      Latest reply on Jan 6, 2020 3:02 AM by vs1784
      vs1784 Level 1 Level 1 (0 points)

        I am trying to play H264 video file using AVPlayer.

         

        It works fine as long as video being played out has consistent frame size i.e. video resolution.

         

        I am facing problem in video files where frame size changes.

         

        As soon as player encounters SPS with new framesize and aspect ratio, it freezes the video and conitnue playing audio.

         

        Is there anyway to have AVPlayer work for variable frame sizes defined in SPS?