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

Amber Beriwal amber.beriwal at newgen.co.in
Wed Sep 7 09:24:05 EEST 2016


It is an android camera recorded mp4 file of approx. 20-30 seconds.
Please refer code @ http://stackoverflow.com/questions/39347026/how-to-extract-frames-at-30-fps-using-ffmpeg-apis 

Regards
Amber Beriwal
Newgen Software Technologies Ltd.


  

-----Original Message-----
From: Libav-user [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Leandro Raffo
Sent: Tuesday, September 06, 2016 11:03 PM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter. <libav-user at ffmpeg.org>
Subject: Re: [Libav-user] How to achieve 30 FPS using APIs?

>From where are you extracting frames?

2016-09-06 5:03 GMT-03:00 Amber Beriwal <amber.beriwal at newgen.co.in>:
> 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.
>
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
_______________________________________________
Libav-user mailing list
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

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.



More information about the Libav-user mailing list