w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Changing Resolution in ffmpeg output to display video stream in Android

ffmpeg uses a "filtergraph" to apply filters like scaling, cropping etc. If you look into the filtering video example you will see how filters are applied programmatically. If you can integrate that example into your code, then all you have to do is to change the string - filter_descr - to have the video scaled to your desired resolution.

Filters are defined the same way as with the stand-alone program. See the documentation for more details.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.