[libav-api] Is libav capable of decreasing of video resolution/bitrate?

Luca Barbato lu_zero at gentoo.org
Tue Sep 6 16:03:24 CEST 2016


On 05/09/16 17:17, OR151 wrote:
> Dear Libav Team,
> 
> I would like to implement a custom RTMP transcoder to HLS format in
> Java and I found the modification of the video resolution a bit
> challenging in Java. My plan is to minimize the amount of 3rd party
> frameworks/tools integrated with my component.
> 
> That's why I would like to integrate directly with libav library via
> JNI from Java code. I envision that the libav role would be to change
> the resolution/bitrate of Mpeg-4 files/streams.
> 
> Is decreasing of the resolution/bitrate of video/streams doable via
> libav library? I would appreciate your guidance.

You can reset the encoder on the fly if the codec is h264.

lu


More information about the libav-api mailing list