[Libav-user] How to achieve 30 FPS using APIs?

Amber Beriwal amber.beriwal at newgen.co.in
Tue Sep 6 11:03:15 EEST 2016


We have seen that using command line, ffmpeg is capable of extracting frames
at 30 fps. Even using Xuggler, we are able to extract frames at 30 fps.

 

But when we use FFMPEG APIs directly in our code, we are getting following
results:

 

- 720p video (1280 x 720) - 16 fps (approx. 60 ms/frame)

- 1080p video (1920 x 1080) - 7 fps (approx. 140 ms/frame)

 

Ideally, we should be able to get the data in constant time (approx. 30
ms/frame).

 

How can we get 30 fps?

 

Regards

Amber Beriwal

Newgen Software Technologies Ltd.

 

 


Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160906/2c252cc6/attachment.html>


More information about the Libav-user mailing list