'Get current frame size in surfaceview using FFmpeg

I want to create an android application with the following steps

  1. Have to play a live video - I have done
  2. Get the current frame from the video
  3. have to find the frame size (height & width)

Using FFmpeg.

If anyone know please help me with this!

Thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source