Re: [FFmpeg-devel] [PATCH 1/2] movenc: use similar logic to DASH when writing bit rate to ISML

2016-09-27 Thread Carl Eugen Hoyos
2016-09-27 0:10 GMT+02:00 Jan Ekström : > avio_printf(pb, "<%s systemBitrate=\"%"PRId64"\">\n", type, > -(int64_t)track->par->bit_rate); > -param_write_int(pb, "systemBitrate", track->par->bit_rate); > +(int64_t)manifest_bit_rate); The cast

[FFmpeg-devel] [PATCH 1/2] movenc: use similar logic to DASH when writing bit rate to ISML

2016-09-26 Thread Jan Ekström
This way, in case of bit rate not being set, max_bitrate will be used instead. This enables, for example, re-using max_bitrate information from the input or doing transcoding with a rate control mode that is not bit rate based. Signed-off-by: Jan Ekström --- libavformat/movenc.c | 15 +++