Files
element-x-android/libraries
hayaksi1 1be87994b1 Never re-encode a video at a higher bitrate than the source
The compression config computed a target bitrate purely from the output
resolution and frame rate, ignoring the bitrate already extracted from the
source. A clip that is small because it was efficiently encoded, rather
than because it is short, was therefore re-encoded upwards: the upload got
slower and the resulting file was larger than the original.

The target is now clamped to the source bitrate when that is known.
METADATA_KEY_BITRATE is the container total, video plus audio, so it is a
safe upper bound for the video track alone. An unknown or zero bitrate
still falls back to the calculated value.

Relates to https://github.com/element-hq/element-x-android/issues/4191
2026-08-09 04:09:24 +03:00
..
WIP
2026-05-28 09:54:00 +02:00
2026-06-14 10:06:17 +00:00
2026-05-07 10:59:12 +02:00
2026-08-06 18:35:18 +02:00
2026-07-23 14:57:12 +02:00
2026-07-13 12:21:55 +02:00
2026-05-28 09:54:02 +02:00
2026-07-28 14:51:37 +02:00