[FFmpeg-devel] Transcoding sample app for Resizing video

Tomas Härdin tjoppen at acc.umu.se
Tue Feb 27 17:23:05 EET 2018

tis 2018-02-27 klockan 19:55 +0530 skrev Vittalprasad:
> Hi All,
> i tried transcoding sample application shared with examples. As i'm
> new to
> video codecs didnot understand fully , how to scale a resolution of
> video
> i.e if input of 720p trancode to 240p without changing video codec.
> i tried to enhance transcoding sample with sws_scale(); i.e scaling
> api's
> but not successful
> please provide me correct examples/api  to achieve resizing of video
> My intention is to use design own transcoding model using ffmpeg
> libraries.

This is not the list for questions like these - try libav-user. That
said, it's probably easiest to either use a script or execv() the
ffmpeg CLI


More information about the ffmpeg-devel mailing list