[FFmpeg-user] Algorithm/Source Code for Changing the Resolution & Frame Rate using FFMpeg.

Stefano Sabatini stefasab at gmail.com
Wed Dec 18 19:20:54 CET 2013

On date Tuesday 2013-12-17 19:10:49 -0800, N. Syazrina M.A.S wrote:
>  Hi,
> How can I get the algorithm used/the source code for changing the
> resolution & frame rate of a video using the FFMpeg tool. I would
> like to know the method used for the up/downsampling of the spatial
> & temporal resolution of the video.

Spatial resampling: this is done in the libswscale library.

Temporal resampling: we simply drop/duplicate frames, you may have a
look at the fps filter in libavfilter.

More information about the ffmpeg-user mailing list